Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 343 Bytes

File metadata and controls

16 lines (11 loc) · 343 Bytes

@vltpkg/dss-parser

The Dependency Selector Syntax parser used by the vlt client.

Uses postcss-selector-parser to parse a selector string into an AST.

Usage

import { parse } from '@vltpkg/dss-parser'

// Parse a selector string into an AST
const ast = parse(':root > *')