Crate deno_npm_cache

Source

Structs§

DownloadError
EnsurePackageError
NpmCache
Stores a single copy of npm packages in a cache.
NpmCacheHttpClientBytesResponse
RegistryInfoProvider
Downloads packuments from the npm registry.
SerializedCachedPackageInfo
TarballCache
Coordinates caching of tarballs being loaded from the npm registry.

Enums§

HardLinkDirRecursiveError
HardLinkFileError
NpmCacheHttpClientResponse
NpmCacheSetting
Indicates how cached source files should be handled.
WithFolderSyncLockError

Traits§

NpmCacheHttpClient
NpmCacheSys

Functions§

get_package_url
hard_link_dir_recursive
Hardlinks the files in one directory to another directory.
hard_link_file
Hardlinks a file from one location to another.
maybe_auth_header_value_for_npm_registry