Skip to content
JS
Package

locate-character

Get the line and column number of a specific character in a string

v3.0.0, 15 Jun 2023MITESM onlyTypes: Bundled
$ npm install locate-character

Key numbers

As of 25 Sept 2026
Weekly downloads
3.6m
+136% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
3 years ago
v3.0.0
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
02m4m6mSept 2025Mar 2026Sept 2026High 5m (19 May 2026)Low 997.9k (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.

3,623,420 downloads last week, 16,286,601 in the last month. The 12-month change of +136% 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
3.0.0, 15 Jun 20233 years ago
First published
7 Aug 2016
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
39

Major versions

  1. v3 first release 3.0.0, 15 Jun 2023
  2. v2 first release 2.0.0, 2 Sept 2016
  3. v1 first release 1.0.0, 7 Aug 2016

Recent releases

VersionPublished
3.0.015 Jun 2023
2.0.514 Jan 2018
2.0.414 Jan 2018
2.0.327 Nov 2017
2.0.227 Nov 2017
2.0.121 May 2017
2.0.02 Sept 2016
1.0.07 Aug 2016
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
5.2 kB
Dependencies (0)
None
npm install locate-character
  • jsDelivrhttps://cdn.jsdelivr.net/npm/locate-character@3.0.0/
  • unpkghttps://unpkg.com/locate-character@3.0.0/
  • esm.shhttps://esm.sh/locate-character@3.0.0
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): GitHub data not fetched yet; no category.