Need private packages and team management tools?Check out npm Teams »

just-tail

2.1.0 • Public • Published

just-tail

Part of a library of zero-dependency npm modules that do just do one thing. Guilt-free utilities for every occasion.

Try it now

import tail from 'just-tail';
 
tail([1, 2, 3, 4, 5]); // [2, 3, 4, 5]
tail([{a: 1}, {b: 1}, {c: 1}]); // [{b: 1}, {c: 1}]
tail([true, false, [true, false]]); // [false, [true, false]]
tail([]); // []
tail(); // undefined
tail(null); // undefined
tail(undefined); // undefined

Install

npm i just-tail

DownloadsWeekly Downloads

5

Version

2.1.0

License

MIT

Unpacked Size

2.37 kB

Total Files

4

Last publish

Collaborators

  • avatar