18dbe06e5f7e2b5c65d/app/node_modules/sucrase">sucrase 30f7226d9a first commit 2 vuotta sitten supports-preserve-symlinks-flag 30f7226d9a first commit 2 vuotta sitten tailwind-color-palette 30f7226d9a first commit 2 vuotta sitten tailwindcss 30f7226d9a first commit 2 vuotta sitten thenify 30f7226d9a first commit 2 vuotta sitten thenify-all 30f7226d9a first commit 2 vuotta sitten to-regex-range 30f7226d9a first commit 2 vuotta sitten tr46 30f7226d9a first commit 2 vuotta sitten ts-interface-checker 30f7226d9a first commit 2 vuotta sitten uglify-js 30f7226d9a first commit 2 vuotta sitten underscore 30f7226d9a first commit 2 vuotta sitten upper-case 30f7226d9a first commit 2 vuotta sitten util-deprecate 30f7226d9a first commit 2 vuotta sitten valid-data-url 30f7226d9a first commit 2 vuotta sitten web-resource-inliner 30f7226d9a first commit 2 vuotta sitten webidl-conversions 30f7226d9a first commit 2 vuotta sitten whatwg-url 30f7226d9a first commit 2 vuotta sitten wrap-ansi 30f7226d9a first commit 2 vuotta sitten wrappy 30f7226d9a first commit 2 vuotta sitten y18n 30f7226d9a first commit 2 vuotta sitten yallist 30f7226d9a first commit 2 vuotta sitten yaml 30f7226d9a first commit 2 vuotta sitten yargs 30f7226d9a first commit 2 vuotta sitten yargs-parser 30f7226d9a first commit 2 vuotta sitten .yarn-integrity 30f7226d9a first commit 2 vuotta sitten tum/tmt_learning - Gogs: Simplico Git Service

Aucune description

Prach Pongpanich 6f337d0a21 install tailwind alpine daisyui il y a 3 ans
..
LICENSE 6f337d0a21 install tailwind alpine daisyui il y a 3 ans
README.md 6f337d0a21 install tailwind alpine daisyui il y a 3 ans
package.json 6f337d0a21 install tailwind alpine daisyui il y a 3 ans

README.md

lines-and-columns

Maps lines and columns to character offsets and back. This is useful for parsers and other text processors that deal in character ranges but process text with meaningful lines and columns.

Install

$ npm install [--save] lines-and-columns

Usage

import { LinesAndColumns } from 'lines-and-columns'

const lines = new LinesAndColumns(
  `table {
  border: 0
}`
)

lines.locationForIndex(9)
// { line: 1, column: 1 }

lines.indexForLocation({ line: 1, column: 2 })
// 10

License

MIT