@ndhoule/drop

2.0.0 • Public • Published

drop CI

Produce a new array composed of all but the first n elements of an input collection.

Installation

$ component install ndhoule/drop
$ npm install @ndhoule/drop

API

drop(count : number, collection : Array) => Array

Produce a new array composed of all but the first n elements of an input collection.

drop([1, 2, 3]); // => [2, 3]

License

Released under the MIT license.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.0
    82,260
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.0
    82,260
  • 1.0.0
    0

Package Sidebar

Install

npm i @ndhoule/drop

Weekly Downloads

82,260

Version

2.0.0

License

MIT

Last publish

Collaborators

  • ndhoule