Launch Week Day 4: Introducing Data Exports.Learn More
Socket
Book a DemoSign in
Socket

@vltpkg/dss-breadcrumb

Package Overview
Dependencies
Maintainers
6
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vltpkg/dss-breadcrumb

The Dependency Selector Syntax (DSS) breadcrumb utilities

Source
npmnpm
Version
1.0.0-rc.17
Version published
Maintainers
6
Created
Source

@vltpkg/dss-breadcrumb

The Dependency Selector Syntax breadcrumb utilities used by the vlt client.

A returned "Breadcrumb" object is a data structure that contains a linked list of items that where parsed from a given Dependency Selector Syntax query string that can be used to navigate through a given graph.

Usage

import { parseBreadcrumb } from '@vltpkg/dss-breadcrumb'

// Parse a selector string into a breadcrumb
const breadcrumb = parseBreadcrumb(':root > #a')

// Use the breadcrumb to navigate through the query
console.log(breadcrumb.current.value) // :root
breadcrumb.next()
console.log(breadcrumb.current.value) // a

FAQs

Package last updated on 03 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts