Skip to content

Latest commit

 

History

History
90 lines (74 loc) · 3.32 KB

File metadata and controls

90 lines (74 loc) · 3.32 KB

Home > @velcro/common

common package

Classes

Class Description
AmbiguousModuleError
CanceledError
Decoder
DependencyNotFoundError
EntryExcludedError
EntryNotFoundError
MapSet
NotResolvableError
ParseError
Uri Uniform Resource Identifier (URI) http://tools.ietf.org/html/rfc3986. This class is a simple parser which creates the basic component parts (http://tools.ietf.org/html/rfc3986\#section-3) with minimal validation and encoding.
      foo://example.com:8042/over/there?name=ferret#nose
      \_/   \______________/\_________/ \_________/ \__/
       |           |            |            |        |
    scheme     authority       path        query   fragment
       |   _____________________|__
      / \ /                        \
      urn:example:animal:ferret:nose

|

Functions

Function Description
all(values, token)
checkCancellation(promise, token)
isCanceledError(err)
isThenable(object)
isValidPackageJson(json)
isValidRootPackageJson(json)
parseBufferAsPackageJson(decoder, content, spec)
parseBufferAsRootPackageJson(decoder, content, spec)
uriToFsPath(uri, keepDriveLetterCasing) Compute fsPath for the given uri

Interfaces

Interface Description
IPath
PackageJson
ParsedPath
RootPackageJson
Thenable
UriComponents

Namespaces

Namespace Description
Base64

Variables

Variable Description
basename
delimiter
dirname
extname
format
isAbsolute
join
normalize
parse
posix
relative
resolve
sep
toNamespacedPath
version

Type Aliases

Type Alias Description
Awaited
PackageMainField