HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
lydell
line-numbers
JavaScript2016–2016
lydell / line-numbers · Archived

line-numbers

[DEPRECATED] Add line numbers to a string.

2Distinct people
2Mentions
0Explicit recommenders
16GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

[DEPRECATED] Add line numbers to a string.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour2 dated mentions

Observed mentions: 2016-03-23 00:01:58 UTC to 2016-03-23 23:51:36 UTC.

012016-03-23 00:00:00 UTC to 2016-03-23 01:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsMar 23, 00:002016-03-23 01:00:00 UTC to 2016-03-23 02:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2016-03-23 02:00:00 UTC to 2016-03-23 03:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2016-03-23 03:00:00 UTC to 2016-03-23 04:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2016-03-23 04:00:00 UTC to 2016-03-23 05:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2016-03-23 05:00:00 UTC to 2016-03-23 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2016-03-23 06:00:00 UTC to 2016-03-23 07:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2016-03-23 07:00:00 UTC to 2016-03-23 08:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2016-03-23 08:00:00 UTC to 2016-03-23 09:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2016-03-23 09:00:00 UTC to 2016-03-23 10:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2016-03-23 10:00:00 UTC to 2016-03-23 11:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2016-03-23 11:00:00 UTC to 2016-03-23 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsMar 23, 11:002016-03-23 12:00:00 UTC to 2016-03-23 13:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2016-03-23 13:00:00 UTC to 2016-03-23 14:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2016-03-23 14:00:00 UTC to 2016-03-23 15:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2016-03-23 15:00:00 UTC to 2016-03-23 16:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2016-03-23 16:00:00 UTC to 2016-03-23 17:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2016-03-23 17:00:00 UTC to 2016-03-23 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2016-03-23 18:00:00 UTC to 2016-03-23 19:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2016-03-23 19:00:00 UTC to 2016-03-23 20:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2016-03-23 20:00:00 UTC to 2016-03-23 21:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2016-03-23 21:00:00 UTC to 2016-03-23 22:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2016-03-23 22:00:00 UTC to 2016-03-23 23:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2016-03-23 23:00:00 UTC to 2016-03-24 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsMar 23, 23:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Mar 23, 00:002016-03-23 00:00:00 UTC2016-03-23 01:00:00 UTC101
Mar 23, 01:002016-03-23 01:00:00 UTC2016-03-23 02:00:00 UTC000
Mar 23, 02:002016-03-23 02:00:00 UTC2016-03-23 03:00:00 UTC000
Mar 23, 03:002016-03-23 03:00:00 UTC2016-03-23 04:00:00 UTC000
Mar 23, 04:002016-03-23 04:00:00 UTC2016-03-23 05:00:00 UTC000
Mar 23, 05:002016-03-23 05:00:00 UTC2016-03-23 06:00:00 UTC000
Mar 23, 06:002016-03-23 06:00:00 UTC2016-03-23 07:00:00 UTC000
Mar 23, 07:002016-03-23 07:00:00 UTC2016-03-23 08:00:00 UTC000
Mar 23, 08:002016-03-23 08:00:00 UTC2016-03-23 09:00:00 UTC000
Mar 23, 09:002016-03-23 09:00:00 UTC2016-03-23 10:00:00 UTC000
Mar 23, 10:002016-03-23 10:00:00 UTC2016-03-23 11:00:00 UTC000
Mar 23, 11:002016-03-23 11:00:00 UTC2016-03-23 12:00:00 UTC000
Mar 23, 12:002016-03-23 12:00:00 UTC2016-03-23 13:00:00 UTC000
Mar 23, 13:002016-03-23 13:00:00 UTC2016-03-23 14:00:00 UTC000
Mar 23, 14:002016-03-23 14:00:00 UTC2016-03-23 15:00:00 UTC000
Mar 23, 15:002016-03-23 15:00:00 UTC2016-03-23 16:00:00 UTC000
Mar 23, 16:002016-03-23 16:00:00 UTC2016-03-23 17:00:00 UTC000
Mar 23, 17:002016-03-23 17:00:00 UTC2016-03-23 18:00:00 UTC000
Mar 23, 18:002016-03-23 18:00:00 UTC2016-03-23 19:00:00 UTC000
Mar 23, 19:002016-03-23 19:00:00 UTC2016-03-23 20:00:00 UTC000
Mar 23, 20:002016-03-23 20:00:00 UTC2016-03-23 21:00:00 UTC000
Mar 23, 21:002016-03-23 21:00:00 UTC2016-03-23 22:00:00 UTC000
Mar 23, 22:002016-03-23 22:00:00 UTC2016-03-23 23:00:00 UTC000
Mar 23, 23:002016-03-23 23:00:00 UTC2016-03-24 00:00:00 UTC101

What Hacker News says

2 sources
I applaud this action and while I'd like to point the finger at NPM, there's no real other method to fix historical package versions that depend on this. It is worth pointing to the silly state of NPM packages: Who decided that an external dependency was necessary for a module that is 17 lines of code? module.exports = leftpad; function leftpad (str, len, ch) { str = String(str); var i = -1; if (!ch && ch !== 0) ch = ' '; len = len - str.length; while (++i < len) { str = ch + str; } return str; } Developers: less dependencies is better, especially when they're so simple! You know what's also awesome? The caret semver specifier[1]. You could install a new, broken version of a dependency doing that-- especially when other packages using peerDependencies rely on specific versions a
Read the rest
nd you've used a caret semver specifier. [1] https://github.com/lydell/line-numbers/pull/3/files
In I've Just Liberated My Modules

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.