@mrolaolu/helpers
v0.3.2
Published
Super handy JavaScript utilities for frontend development.
Downloads
36
Maintainers
Readme
@mrolaolu/helpers
🛠 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: [email protected], password: Unicorns!, ... }
MIT © olaolu.dev · GitHub @whizkydee · Twitter @mrolaolu