fe-essential-utils

Essential utils for front-end development

Usage no npm install needed!

<script type="module">
  import feEssentialUtils from 'https://cdn.skypack.dev/fe-essential-utils';
</script>

README

fe-essential-utils

fe-essential-utils is a utility library that comprises of most frequently used functions for front-end development. This library currently includes

  • Accessibility Utils
  • Browser Utils
  • DOM Utils
  • Payment card Utils
  • Cookie Utils

More coming soon!

Installation

fe-essential-utils requires Node.js v4+ to run.

Install the library as devDependency and start using.

$ npm install fe-essential-utils --save-dev

Usage

import { DOMUtils } from 'fe-essential-utils';

const handleScrollToTop = () => {
    DOMUtils.scrollToTop();
}

Todos

  • Add more utils

License

MIT