npm 包搜索

搜索 npm 上的 JavaScript 依赖包

搜索 "Offset" 的结果(共 15 个)
lines-and-columns

Maps lines and columns to character offsets and back.

MIT
tz-offset

Javascript Timezone Offset

ISC
combine-source-map

Add source maps of multiple files, offset them and then combine them into one source map

MIT
smart-buffer

smart-buffer is a Buffer wrapper that adds automatic read & write offset tracking, string operations, data insertions, and more.

MIT
vfile-location

vfile utility to convert between positional (line and column-based) and offset (range-based) locations

MIT
monocart-locator

A lightweight source code position locator for converting between offset and line/column, with built-in line and comment parsing

MIT
multisplice

easily splice a string multiple times, using offsets into the original string

Apache-2.0
linemap

linemap makes conversions between character offsets and line numbers

MIT
linez

Parses lines from text, preserving line numbers, offsets and line endings.

MIT
line-offsets

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

MIT
offset-sourcemap-lines

offset each generated lines in SourceMap

MIT
line-stream

split/binary-split but lines contain byte offset in the source stream and gives access to last line fragment

ISC
ob1

A small library for working with 0- and 1-based offsets in a type-checked way.

MIT