360player / js-toolkit

Common utility functions for modern JavaScript development.

Home Page:https://360player.github.io/js-toolkit/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JavaScript Toolkit

Build Status Coverage Status Dependency Status

Common utility functions for modern JavaScript development.

Installing

Install toolkit via yarn.

yarn add https://github.com/360player/js-toolkit.git --save

Using

import omit from 'js-toolkit/omit';
// Omits properties from payload object
let payload = omit( formData, 'password_repeat' );

Development

Linting, typechecking and testing

Code MUST be linted with ESLint, typechecked with Flow and tested with Jest. You can run each section individually via yarn run lint, yarn run flow or yarn run test. Or run them all in order via yarn run code-quality

Contributing

  • Every new feature, function or class MUST have specs, be fully documented and flowtyped.
  • Every new feature, function or class CANNOT have any polyfills and MUST be ES7 compliant.

About

Common utility functions for modern JavaScript development.

https://360player.github.io/js-toolkit/

License:MIT License


Languages

Language:JavaScript 100.0%