NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm, #2088 most downloaded on npm
vfile utility to convert between positional (line and column-based) and offsets (range-based) locations
Latest stable
5.0.4
Last release 16 days ago
06 Nov 2026
Release timing varies
gaps range from 9 days to 2.3 years
Most releases are documented
notes for 17 of 19 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
19 releases · first in 2016
Drag across the ruler to compare, or tap a release to open it.
cdda37e Fix columns below 1 in toOffset
1 in toOffsettoPointFull Changelog: https://github.com/vfile/vfile-location/compare/5.0.3...5.0.4
6da1222 Refactor to improve performance w/ lazy indexing
Full Changelog: https://github.com/vfile/vfile-location/compare/5.0.2...5.0.3
* 30c5543 Update dependency Full Changelog: https://github.com/vfile/vfile-location/compare/5.0.1...5.0.2
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Full Changelog: https://github.com/vfile/vfile-location/compare/5.0.1...5.0.2
#### Types * 1d60f2b Update vfile Full Changelog: https://github.com/vfile/vfile-location/compare/5.0.0...5.0.1
vfileFull Changelog: https://github.com/vfile/vfile-location/compare/5.0.0...5.0.1
Change to require Node.js 16 migrate: update Node
export map
migrate: don’t use private APIsundefined for out-of-bound offsets
migrate: check for undefined as a return value in toOffset instead of -1undefined for invalid points
by @remcohaszing in #12, by @wooorm in https://github.com/vfile/vfile-location/pull/13
migrate: check for undefined as a return value in toPointpackage.jsonFull Changelog: https://github.com/vfile/vfile-location/compare/4.1.0...5.0.0
de2ad12 Add export of Location type
Location typetsconfig.jsonFull Changelog: https://github.com/vfile/vfile-location/compare/4.0.1...4.1.0
0a13830 Fix types by adding vfile as a dependency
vfile as a dependency* 304cd4e Add JSDoc based types * 9dc5adc Use ESM
118d710 Add support for CR, CR+LF
ef0ea9a Fix naming to use toPoint
toPoint* eac6f56 Refactor prose * 8b73ff9 Update metadata
39d07bc Add types (breaking if you or your dependents use typescript, but didn’t expect typescript)
bb0d2b8 Add funding to package.json
funding to package.jsonNothing published for this version
* a8e02a2 Add more badges * b3a0514 Move URLs to HTTPS
67465b4 Add Contribute section to readme.md
Contribute section to readme.md* 98a83bb Migrate to vfile * fe0ece1 Refactor docs
vfileNothing published for this version
Rename from unist-range to vfile-location
unist-range to vfile-location (2e90de2)One column per quarter.