Skip to content
JS
Package

index-to-position

Convert a string index to its line and column position

v1.2.0, 25 Sept 2025MITESM onlyTypes: Bundled
$ npm install index-to-position

Key numbers

As of 25 Sept 2026
Weekly downloads
10m
+133% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
11 months ago
v1.2.0
GitHub stars
35
4 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
1

Downloads

Last week 2026-09-15 to 2026-09-21
05m10m15mSept 2025Mar 2026Sept 2026High 13.9m (25 Aug 2026)Low 3.2m (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.

9,970,600 downloads last week, 50,136,403 in the last month. The 12-month change of +133% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
06 in total
Latest version
1.2.0, 25 Sept 202511 months ago
First published
2 Nov 2023
Last push to GitHub
18 Sept 20266 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
1
Dependents on npm
42

Major versions

  1. v1 first release 1.0.0, 28 Feb 2024
  2. v0 first release 0.1.0, 2 Nov 2023

Recent releases

VersionPublished
1.2.025 Sept 2025
1.1.08 Apr 2025
1.0.028 Feb 2024
0.1.29 Nov 2023
0.1.19 Nov 2023
0.1.02 Nov 2023
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=18
Runtimes
-
Unpacked size (npm)
4.6 kB
Dependencies (0)
None
npm install index-to-position
  • jsDelivrhttps://cdn.jsdelivr.net/npm/index-to-position@1.2.0/
  • unpkghttps://unpkg.com/index-to-position@1.2.0/
  • esm.shhttps://esm.sh/index-to-position@1.2.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.