Skip to content

jonschlinkert/even

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Get the even numbered items from an array.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published