Socket
Book a DemoInstallSign in
Socket

@vltpkg/dss-breadcrumb

Package Overview
Dependencies
Maintainers
0
Versions
32
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

latest
Source
npmnpm
Version
1.0.0-rc.13
Version published
Maintainers
0
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 19 Dec 2025

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