Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Ident

Combination of a scope and name, bound with a hash suitable for comparisons.

Use parseIdent to turn ident strings (@types/node) into the ident structure ({scope: types, name: node}), makeIdent to create a new one from known parameters, or stringifyIdent to retrieve the string as you'd see it in the dependencies field.

Use parseIdent to turn ident strings (@types/node) into the ident structure ({scope: types, name: node}), makeIdent to create a new one from known parameters, or stringifyIdent to retrieve the string as you'd see it in the dependencies field.

Hierarchy

Properties

Properties

identHash

identHash: IdentHash

Unique hash of a package scope and name. Used as key in various places, so that two idents can be quickly compared.

name

name: string

Name of the package (eg. node).

scope

scope: string | null

Scope of the package, without the @ prefix (eg. types).

Generated using TypeDoc