/helpers

🛠 Super handy JavaScript utilities for frontend development.

Primary LanguageTypeScriptMIT LicenseMIT

🛠 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