Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    evenpublic

    even NPM version

    Get the even numbered items from an array.

    Install with npm

    npm i even --save

    Usage

    var even = require('even');
     
    // strings or integers 
    even([0, '1', 2, '3', '4', 5, 6, 7, 8, 9, 10]);
    //=> [0, 2, '4', 6, 8, 10] 

    Run tests

    Install dev dependencies:

    npm i -d && npm test

    Contributing

    Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

    Author

    Jon Schlinkert

    License

    Copyright (c) 2015 Jon Schlinkert
    Released under the MIT license


    This file was generated by verb on February 24, 2015.

    install

    npm i even

    Downloadsweekly downloads

    2

    version

    0.1.1

    license

    MIT

    repository

    github.com

    last publish

    collaborators

    • avatar
    • avatar