# just-tail

> return all but the first element of an array

Latest version **3.2.0** (published 2022-12-17) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.2.0 |
| Published | 2022-12-17 |
| First published | 2016-08-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Angus Croll |
| Maintainers | angus-c |
| Keywords | array, tail, no-dependencies, just |

## Links

- npm: https://www.npmjs.com/package/just-tail
- Repository: https://github.com/angus-c/tail
- Homepage: https://github.com/angus-c/tail#readme
- Issues: https://github.com/angus-c/just/issues
- npm.io page: https://npm.io/package/just-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

- 3.2.0 (latest) — 2022-12-17
- 3.1.1 — 2022-08-08
- 3.1.0 — 2022-08-07
- 3.0.2 — 2021-11-13
- 3.0.1 — 2021-11-12
- 3.0.0 — 2021-11-09
- 2.3.1 — 2021-11-01
- 2.3.0 — 2021-10-31
- 2.2.0 — 2021-05-08
- 2.1.0 — 2018-08-09
- 2.0.0 — 2017-09-17
- 1.0.0 — 2016-08-03

## README

<!-- DO NOT EDIT THIS FILE! THIS FILE WAS AUTOGENERATED BY TEMPLATE-MATE -->
<!-- SEE https://github.com/angus-c/just/blob/master/CONTRIBUTING.md#readme-template -->

## just-tail

Part of a [library](https://anguscroll.com/just) of zero-dependency npm modules that do just do one thing.
Guilt-free utilities for every occasion.

[`🍦 Try it`](https://anguscroll.com/just/just-tail)

```shell
npm install just-tail
```
```shell
yarn add just-tail
```

Return all but the first element of an array

```js
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
```

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