{"_id":"fly-import@1.1.1","bugs":{"url":"https://github.com/mshima/fly-import/issues"},"dist":{"shasum":"ed1a8a649fffad47ac6286683789115807b1a3ba","tarball":"http://registry-npm.ywwl.com/fly-import/download/fly-import-1.1.1.tgz","fileCount":9,"integrity":"sha512-2t9OWjzWJ9khuzuWJ3Hck8cg4FNK+p9YJNZpBUappwvZi0Hr+msLI9sKKkxmT8NSu8AlWki319kn4iP+fxfm7A==","signatures":[{"sig":"MEQCICOinA3oKDCXAzzVIm0oVYR0aOTpikKfHenRpKhh2q0CAiAas6a4FyxMfHqmotimZ99eLvuE4CTLR2GQkTqoNAOiVQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCBE1DVot7NZ77zsWEpNLyADMkpbzM+1reoCuN44YAtOwIgCIV471BOR0/t2nr4I0QZVy+c8FUk3cNNpQZjXkJsgYU="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/fly-import@1.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":20021,"size":6088,"noattachment":false,"key":"/fly-import/-/fly-import-1.1.1.tgz"},"main":"./dist/index.js","name":"fly-import","type":"module","types":"./dist/index.d.ts","author":{"name":"Marcelo Shima","email":"marceloshima@gmail.com"},"engines":{"node":"^20.17.0 || >=22.9.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"gitHead":"2f16d4533c7c507289ef5cbe5ca9d41d66daba19","license":"MIT","scripts":{"lint":"xo","test":"vitest run --coverage","build":"tsc","prepare":"npm run build","prebuild":"rimraf dist"},"version":"1.1.1","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"96445797-2854-4d43-a097-20c67a47771f"}},"homepage":"https://github.com/mshima/fly-import#readme","keywords":["npm","npx","import","loaders","on-demand"],"repository":{"url":"git+https://github.com/mshima/fly-import.git","type":"git"},"_npmVersion":"11.19.0","description":"Install and import packages on-the-fly","directories":{},"maintainers":[{"name":"mshima","email":"marceloshima@gmail.com"}],"_nodeVersion":"24.21.0","dependencies":{"semver":"^7.8.5","env-paths":"^3.0.0","registry-url":"^7.2.0","npm-package-arg":"^12.0.2","@npmcli/arborist":"^9.1.3","registry-auth-token":"^5.1.0"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^1.2.2","rimraf":"^6.0.1","vitest":"^3.2.4","globals":"^16.3.0","prettier":"^3.6.2","typescript":"^5.9.2","@types/node":"^24.3.0","@types/semver":"^7.8.0","@vitest/coverage-v8":"^3.2.4","@node-loaders/esbuildx":"^2.0.0","@types/npm-package-arg":"^6.1.4","@types/npmcli__arborist":"^6.3.1","prettier-plugin-packagejson":"^2.5.19"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/fly-import_1.1.1_1790724444105_0.1648455998590228"},"readme":"# fly-import\n\nInstall and import packages on-the-fly\n\n## Usage\n\nSupports many different specifications.\n\n```js\nimport { flyImport } from 'fly-import';\n\nconst { flyImport: flyImport2 } = await flyImport('fly-import@0.1.2');\n\nconst { flyInstall } = await 'fly-import2@npm:fly-import@0.1.2';\n\nconsole.log(await flyInstall('camelcase-git@github:sindresorhus/camelcase#v7.0.1'));\n```\n\nImport a subpath of a package, resolved through its `exports` when it declares them:\n\n```js\nimport { flyImport } from 'fly-import';\n\nconst { customAlphabet } = await flyImport('nanoid@5', { subpath: 'non-secure' });\n```\n\nBins of installed packages are not linked, pass `arboristConfig: { binLinks: true }` to link them at `<repositoryPath>/../bin` (`<repositoryPath>` on Windows).\n\n## License\n\nMIT\n","publish_time":1790724444186,"_cnpm_publish_time":1790724444186,"dist-tags":{"latest":"2.1.1"}}