Unique hash of a package descriptor. Used as key in various places, so that two descriptors can be quickly compared.
Unique hash of a package scope and name. Used as key in various places, so that two idents can be quickly compared.
Name of the package (eg. node).
The range associated with this descriptor. (eg. ^1.0.0)
Scope of the package, without the @ prefix (eg. types).
Generated using TypeDoc
Descriptors are just like idents (including their
identHash), except that they also contain a range and an additional comparator hash.Use
parseRangeto turn a descriptor string into this data structure,makeDescriptorto create a new one from an ident and a range, orstringifyDescriptorto generate a string representation of it.Use
parseRangeto turn a descriptor string into this data structure,makeDescriptorto create a new one from an ident and a range, orstringifyDescriptorto generate a string representation of it.