even

Get the even numbered items from an array.

even

Get the even numbered items from an array.

Install with npm

npm i even --save
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] 

Install dev dependencies:

npm i -d && npm test

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

Jon Schlinkert

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


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