node package manager
Stop wasting time. Easily manage code sharing in your team. Create a free org »

odd

odd NPM version

Get the odd numbered items from an array.

Install with npm

npm i odd --save

Usage

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

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 license


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