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

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

YAML parser and stringifier for JavaScript
Go to Latest
import * as yaml from "https://deno.land/x/yaml@v2.5.1/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.