npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

even

0.1.1

@jonschlinkert

npmHomeRepoSnykSocket
Downloads:1734
$ npm install even
DailyWeeklyMonthlyYearly

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

  • github/jonschlinkert
  • twitter/jonschlinkert

License

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


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