Skip to content

🛠 Super handy JavaScript utilities for frontend development.

License

Notifications You must be signed in to change notification settings

whizkydee/helpers

Repository files navigation

🛠 Super handy JavaScript utilities for frontend development.

Note: This is a work in progress and as such is not well documented or ready-to-use.

Install

$ npm install @mrolaolu/helpers --save

Usage

Let's say you want to use the getFormFields helper...

import { getFormFields } from '@mrolaolu/helpers'

or ...

import getFormFields from '@mrolaolu/helpers/dist/esm/getFormFields'
const formFields = getFormFields(
  document.getElementById('form') as HTMLFormElement
)
// => { email: hello@test.io, password: Unicorns!, ... }

MIT © olaolu.dev  ·  GitHub @whizkydee  ·  Twitter @mrolaolu