index-to-position
npmv1.2.0TypeScriptConvert a string index to its line and column position
Overview
index-to-position is an npm package that convert a string index to its line and column position. The latest version is 1.2.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need convert a string index to its line and column position and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
- Lean dependency tree (3 direct dependencies).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of index-to-position.
Dependencies
Dev (3)
Used by
Popular packages that depend on index-to-position.
Alternatives to index-to-position
Get the line and column number of a specific character in a string
Determine the East Asian Width of a Unicode character
Get the visual width of a string - the number of columns required to display it
Strip UTF-8 byte order mark (BOM) from a string
Detect the dominant newline character of a string
Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow
Convert a dash/dot/underscore/space separated string to camelCase or PascalCase: `foo-bar` → `fooBar`
Wrap words to a specified length.
Measure the difference between two strings using the Levenshtein distance algorithm
HTTP and HTTPS modules that follow redirects.
Functions for dealing with a PostgreSQL connection string
Fastest Levenshtein distance implementation in JS.
Frequently installed together
Version history
| Version | Published | License |
|---|---|---|
| 1.2.0latest | 9 months ago | MIT |
| 1.1.0 | 1 year ago | MIT |
| 1.0.0 | 2 years ago | MIT |
| 0.1.2 | 2 years ago | MIT |
| 0.1.1 | 2 years ago | MIT |
| 0.1.0 | 2 years ago | MIT |
Maintainers
Funding
Frequently asked questions
How do I install index-to-position?
Run `npm install index-to-position` to add index-to-position to your npm project.
What license is index-to-position released under?
index-to-position is distributed under the MIT license.
How popular is index-to-position?
index-to-position has approximately 0 downloads per week and 1 known dependent packages.