line-offsets

Given a string, find the character offset for the beginning of each line

MIT 1 个版本
安装
npm install line-offsets
yarn add line-offsets
pnpm add line-offsets
bun add line-offsets
README

line-offsets

Given a string, find the character offset for the beginning of each line.

Build Status

Usage

See test.js for an example.

License

MIT

版本列表
1.0.0 2015-01-31