Skip to content

kunalgolani/underskore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

underskore

GitHub version NPM Version Coverage Status

Deps Dev Deps Peer Deps

NPM Downloads GitHub stars GitHub forks GitHub issues

Underscore.js and a little more

  • delta _.delta(object, reference) Returns an object with the values from object that are different from the corresponding values in reference.

    var reference = {a: 1, b: 2, c: 2},
        object = {a: 2, b: 1, c: 2};
    
    _.delta(object, reference);
    => {a: 2, b: 1}

After installing dev dependencies, you can run tests with npm test and generate coverage reports with npm run coverage.

Feel free to fork, extend and contribute. :)

About

underscore js and a little more

Resources

Stars

Watchers

Forks

Packages

No packages published