Skip to content
JS
Package

array-last

Get the last or last n elements in an array.

v1.3.0, 30 Nov 2017MITCommonJSTypes: NoneUtility librariesNode.js utilities
$ npm install array-last

Key numbers

As of 25 Sept 2026
Weekly downloads
949.2k
-23% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
8 years ago
v1.3.0
GitHub stars
33
14 forks
Open issues / PRs
5 / 4
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5mSept 2025Mar 2026Sept 2026High 1.5m (3 Mar 2026)Low 516.6k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

949,160 downloads last week, 3,849,346 in the last month. The 12-month change of -23% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
08 in total
Latest version
1.3.0, 30 Nov 20178 years ago
First published
28 Jun 2014
Last push to GitHub
27 Dec 20211,733 days before the snapshot
Repository archived
No
Open issues
5
Open pull requests
4
Commits, last 52 weeks
0
Dependents on npm
46

Major versions

  1. v1 first release 1.0.0, 12 Dec 2014
  2. v0 first release 0.1.0, 28 Jun 2014

Recent releases

VersionPublished
1.3.030 Nov 2017
1.2.019 Aug 2017
1.1.110 Mar 2016
1.1.03 Nov 2015
1.0.212 Dec 2014
1.0.112 Dec 2014
1.0.012 Dec 2014
0.1.028 Jun 2014
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=0.10.0
Runtimes
-
Unpacked size (npm)
-
Dependencies (1)
is-number
npm install array-last
  • jsDelivrhttps://cdn.jsdelivr.net/npm/array-last@1.3.0/
  • unpkghttps://unpkg.com/array-last@1.3.0/
  • esm.shhttps://esm.sh/array-last@1.3.0
PackageWeekly downloadsGzipLast releaseModuleComparison
@stdlib/os-float-word-order570.9k-7 months agoCommonJS-
@stdlib/os-byte-order570.8k-7 months agoCommonJS-
@stdlib/assert-is-buffer546.5k-7 months agoCommonJS-
@stdlib/process-cwd542k-7 months agoCommonJS-
@stdlib/assert-has-node-buffer-support361.5k-7 months agoCommonJS-
@stdlib/process-read-stdin350.9k-7 months agoCommonJS-
@stdlib/string-base-replace239.7k-7 months agoCommonJS-
@stdlib/string-base-lowercase200.8k-7 months agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.