@pwalton/js-utils
v2.0.2
Published
Vanilla JS utility functions and snippets with wide cross-browser compatibilty. May need transpiling, but doesn't use any APIs not supported by IE 10 (except for Promises, polyfill that good stuff).
Downloads
29
Readme
JS Utils
Simple, easy to understand (hopefully!) Vanilla JS utils. Written in ES6 syntax but API compatible down to IE 10.
Guidelines
These utility & helper functions should:
- be small and relatively simple, hopefully easy to understand and read through
- not have any dependancies, although may be tailored for use with certain frameworks or applications
- be API compatible with a wide array of browsers (see browserlist in
package.json
)
API & Features
See generated documentation, annotated source code, or test specs.
Scripts & Dev
- linting with ESLint (
npm run lint
, ornpm run dev
to start watcher). - testing with Jest (
npm run test
). Lint tests withgulp listTests
. - documentation with jsdoc (
npm run docs
).