# js-tail

> Get a list of last elements, without the first one, in iterable collection

Latest version **1.0.1** (published 2015-10-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install js-tail
pnpm add js-tail
yarn add js-tail
bun add js-tail
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2015-10-06 |
| First published | 2015-10-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Roman Liutikov |
| Maintainers | roman01la |
| Keywords | tail |

## Links

- npm: https://www.npmjs.com/package/js-tail
- Repository: https://github.com/roman01la/js-tail
- Homepage: https://github.com/roman01la/js-tail#readme
- Issues: https://github.com/roman01la/js-tail/issues
- npm.io page: https://npm.io/package/js-tail

## Alternatives

- [@sveltejs/kit](https://npm.io/package/@sveltejs/kit.md) — 2.2M weekly downloads
- [@tangle-network/brand](https://npm.io/package/@tangle-network/brand.md) — 10.0K weekly downloads
- [seneca](https://npm.io/package/seneca.md) — 7.4K weekly downloads
- [@bsb/base](https://npm.io/package/@bsb/base.md) — 7.2K weekly downloads
- [@modern-js/plugin-swc](https://npm.io/package/@modern-js/plugin-swc.md) — 3.4K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2015-10-06
- 1.0.0 — 2015-10-06

## README

# js-tail
Get a list of last elements, without the first one, in iterable collection

A common way of getting the last elements in a collection which implements Iterable protocol.

## Installation

```
$ npm i js-tail
```

## Usage

```javascript
import tail from 'js-tail';

tail([1, 2, 3]); // [2, 3]
tail(new Set([1, 2, 3])); // [2, 3]
tail(Immutable.List([1, 2, 3])); // [2, 3]
```

---
_Source: https://npm.io/package/js-tail · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
