This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

odd-array

1.0.1 • Public • Published

Install

$ npm install --save odd-array

Usage

var odd = require('odd-array');

console.log(odd(['even','not-even','even','not-even']));
//=> not-even not-even

API

odd(array)

array

Type: array

returns an array with items oddly indexed in the array inputted, note that arrays are 0 indexed.

License

MIT ©Maximilian Lloyd

/odd-array/

    Package Sidebar

    Install

    npm i odd-array

    Weekly Downloads

    4

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • branch