xref: /third_party/node/deps/npm/node_modules/pacote/lib/index.js
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/node/deps/npm/node_modules/pacote/lib/
11cb0ef41Sopenharmony_ciconst { get } = require('./fetcher.js')
21cb0ef41Sopenharmony_ciconst GitFetcher = require('./git.js')
31cb0ef41Sopenharmony_ciconst RegistryFetcher = require('./registry.js')
41cb0ef41Sopenharmony_ciconst FileFetcher = require('./file.js')
51cb0ef41Sopenharmony_ciconst DirFetcher = require('./dir.js')
61cb0ef41Sopenharmony_ciconst RemoteFetcher = require('./remote.js')
71cb0ef41Sopenharmony_ci
81cb0ef41Sopenharmony_cimodule.exports = {
91cb0ef41Sopenharmony_ci  GitFetcher,
101cb0ef41Sopenharmony_ci  RegistryFetcher,
111cb0ef41Sopenharmony_ci  FileFetcher,
121cb0ef41Sopenharmony_ci  DirFetcher,
131cb0ef41Sopenharmony_ci  RemoteFetcher,
141cb0ef41Sopenharmony_ci  resolve: (spec, opts) => get(spec, opts).resolve(),
151cb0ef41Sopenharmony_ci  extract: (spec, dest, opts) => get(spec, opts).extract(dest),
161cb0ef41Sopenharmony_ci  manifest: (spec, opts) => get(spec, opts).manifest(),
171cb0ef41Sopenharmony_ci  tarball: (spec, opts) => get(spec, opts).tarball(),
181cb0ef41Sopenharmony_ci  packument: (spec, opts) => get(spec, opts).packument(),
191cb0ef41Sopenharmony_ci}
201cb0ef41Sopenharmony_cimodule.exports.tarball.stream = (spec, handler, opts) =>
211cb0ef41Sopenharmony_ci  get(spec, opts).tarballStream(handler)
221cb0ef41Sopenharmony_cimodule.exports.tarball.file = (spec, dest, opts) =>
231cb0ef41Sopenharmony_ci  get(spec, opts).tarballFile(dest)
24

Indexes created Thu Nov 07 10:32:03 CST 2024