Skip to content
JS
Package

firstline

Async npm module for Node JS that reads the first line of a file

v2.0.2, 24 May 2018MITCommonJSTypes: NoneFiles and file systemsPromises and async control flow
$ npm install firstline

Key numbers

As of 25 Sept 2026
Weekly downloads
46.4k
+43% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
8 years ago
v2.0.2
GitHub stars
20
5 forks
Open issues / PRs
1 / 0
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
020k40k60k80kSept 2025Mar 2026Sept 2026High 76.2k (3 Mar 2026)Low 16.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.

46,410 downloads last week, 231,785 in the last month. The 12-month change of +43% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
2.0.2, 24 May 20188 years ago
First published
-
Last push to GitHub
24 May 20183,046 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
45

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=6.4.0
Runtimes
-
Unpacked size (npm)
293 kB
Dependencies (0)
None
npm install firstline
  • jsDelivrhttps://cdn.jsdelivr.net/npm/firstline@2.0.2/
  • unpkghttps://unpkg.com/firstline@2.0.2/
  • esm.shhttps://esm.sh/firstline@2.0.2
PackageWeekly downloadsGzipLast releaseModuleComparison
@stdlib/fs-read-file345k-7 months agoCommonJS-
write4.2m-7 years agoCommonJS-
fs-extra-promise7.6k-9 years agoCommonJS-
replace-in-files11.8k-5 years agoCommonJS-
@stdlib/fs-resolve-parent-path542k-7 months agoCommonJS-
filehound61.3k-4 years agoCommonJS-
rmfr20.9k-8 years ago--
promise-fs91.9k-7 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.