Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

360player/js-toolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published