index-to-position

Convert a string index to its line and column position

v1.2.0 MIT 6 versions Maintained by sindresorhus
  • index
  • position
  • line
  • column
  • text
  • coordinate
  • string
  • character
  • line number
  • column number
  • location
Weekly downloads
11.4M -16%
vs previous week
Last 30 days
51.1M
Stars

Downloads

390.2M total · Sep 1, 2025 – Sep 1, 2026

Downloads by version

Last 7 days

Versions

6 releases published since Nov 2, 2023

Commit activity

Last 12 months

Contributors

Top 10

Issues