Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/yaml/src/parse/line-counter.ts

JavaScript parser and stringifier for YAML
Go to Latest
import * as yaml from "https://deno.land/x/yaml@v2.1.3/src/parse/line-counter.ts";

Classes

Tracks newlines during parsing in order to provide an efficient API for determining the one-indexed { line, col } position for any offset within the input.