{"_id":"npm2url","_rev":"6-a019981fadba6bfab5e1ab4857a07d3a","name":"npm2url","dist-tags":{"latest":"0.2.4"},"versions":{"0.1.0":{"name":"npm2url","version":"0.1.0","description":"Convert an NPM package import into a CDN URL.","repository":{"type":"git","url":"git+https://github.com/gera2ld/npm2url.git"},"license":"MIT","sideEffects":false,"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","devDependencies":{"@vitest/coverage-c8":"^0.31.4","changelogen":"^0.5.3","eslint":"^8.42.0","eslint-config-unjs":"^0.2.0","prettier":"^2.8.8","typescript":"^4.9.5","unbuild":"^1.2.1","vitest":"^0.31.4"},"packageManager":"pnpm@7.33.0","scripts":{"build":"unbuild","dev":"vitest dev","lint":"eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test","lint:fix":"eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w","release":"pnpm test && changelogen --release && npm publish && git push --follow-tags","test":"pnpm lint && vitest run --coverage"},"bugs":{"url":"https://github.com/gera2ld/npm2url/issues"},"homepage":"https://github.com/gera2ld/npm2url#readme","_id":"npm2url@0.1.0","_integrity":"sha512-3f6ZBuI12gUKmR/s+KhoKTNuub87xJWIzsV2cno382aOjIbwhprF2WTlvFdWhLLVsT+rvhX6owCO6FutvBb6eg==","_resolved":"/tmp/d5dc5caf143b5f969bb4bd761e9994e5/npm2url-0.1.0.tgz","_from":"file:npm2url-0.1.0.tgz","_nodeVersion":"20.3.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-3f6ZBuI12gUKmR/s+KhoKTNuub87xJWIzsV2cno382aOjIbwhprF2WTlvFdWhLLVsT+rvhX6owCO6FutvBb6eg==","shasum":"7a63514447dc6a7ff0483a2c16d3fbfb9f37fc59","tarball":"https://registry.npmjs.org/npm2url/-/npm2url-0.1.0.tgz","fileCount":7,"unpackedSize":6575,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEVCXriS8FpdGTXdLdnkhKI0HLuRhaPF9Z7v9QyeO5P3AiEAsEx8HLE29OuqRqAan941135cWi5LTwe38eYI2Qca3do="}]},"_npmUser":{"name":"gera2ld","email":"npm@gera2ld.space"},"directories":{},"maintainers":[{"name":"gera2ld","email":"npm@gera2ld.space"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/npm2url_0.1.0_1688748329484_0.9663313653194447"},"_hasShrinkwrap":false},"0.1.1":{"name":"npm2url","version":"0.1.1","description":"Convert an NPM package import into a CDN URL.","repository":{"type":"git","url":"git+https://github.com/gera2ld/npm2url.git"},"license":"MIT","sideEffects":false,"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","scripts":{"build":"unbuild","dev":"vitest dev","lint":"eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test","lint:fix":"eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w","prepack":"pnpm run build","release":"pnpm test && changelogen --release && npm publish && git push --follow-tags","test":"pnpm lint && vitest run --coverage"},"devDependencies":{"@vitest/coverage-c8":"^0.31.4","changelogen":"^0.5.3","eslint":"^8.42.0","eslint-config-unjs":"^0.2.0","prettier":"^2.8.8","typescript":"^4.9.5","unbuild":"^1.2.1","vitest":"^0.31.4"},"packageManager":"pnpm@8.6.6","gitHead":"41e69ce2d16f8515e02662eca1e3d063b568261e","bugs":{"url":"https://github.com/gera2ld/npm2url/issues"},"homepage":"https://github.com/gera2ld/npm2url#readme","_id":"npm2url@0.1.1","_nodeVersion":"20.3.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-hJ4cwVA/7QPgctNHA3pJKUezJDeJQJPNzMhg/vdgj95rT4rixQxscjtDgIiGv2r2ZIOBjlfMobi6HOsr+qLIQg==","shasum":"f9a0949878ce96858d410741e45507da2ecd10b5","tarball":"https://registry.npmjs.org/npm2url/-/npm2url-0.1.1.tgz","fileCount":6,"unpackedSize":5658,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAzSQzQKsH4G61deABdupwZD6KEktnJvNDbFPIpmz1c2AiBu0IV2CLbqr308gwcLKI5MK2sjjn8Eelqumrwv8lP9nw=="}]},"_npmUser":{"name":"gera2ld","email":"npm@gera2ld.space"},"directories":{},"maintainers":[{"name":"gera2ld","email":"npm@gera2ld.space"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/npm2url_0.1.1_1688758225275_0.4974549032646205"},"_hasShrinkwrap":false},"0.2.0":{"name":"npm2url","version":"0.2.0","description":"Convert an NPM package import into a CDN URL.","repository":{"type":"git","url":"git+https://github.com/gera2ld/npm2url.git"},"license":"MIT","sideEffects":false,"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","devDependencies":{"@vitest/coverage-c8":"^0.31.4","changelogen":"^0.5.3","eslint":"^8.42.0","eslint-config-unjs":"^0.2.0","prettier":"^2.8.8","typescript":"^4.9.5","unbuild":"^1.2.1","vitest":"^0.31.4"},"packageManager":"pnpm@8.6.6","scripts":{"build":"unbuild","dev":"vitest dev","lint":"eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test","lint:fix":"eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w","release":"pnpm test && changelogen --release && npm publish && git push --follow-tags","test":"pnpm lint && vitest run --coverage"},"bugs":{"url":"https://github.com/gera2ld/npm2url/issues"},"homepage":"https://github.com/gera2ld/npm2url#readme","_id":"npm2url@0.2.0","_integrity":"sha512-Zi5Bgsf40i6XziCZEbFfraAiQNIa8TqZNjx0GzsHZ0br3e9rxbVllYvAIdUkOs1nPx6DPqFWakTbY6dINUz81w==","_resolved":"/tmp/575f756e947684a8675816f986818488/npm2url-0.2.0.tgz","_from":"file:npm2url-0.2.0.tgz","_nodeVersion":"20.4.0","_npmVersion":"9.7.2","dist":{"integrity":"sha512-Zi5Bgsf40i6XziCZEbFfraAiQNIa8TqZNjx0GzsHZ0br3e9rxbVllYvAIdUkOs1nPx6DPqFWakTbY6dINUz81w==","shasum":"de30d536debf7a2d57f9c8b52ef141c80dd81b9c","tarball":"https://registry.npmjs.org/npm2url/-/npm2url-0.2.0.tgz","fileCount":7,"unpackedSize":7820,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCjaUp/cy71/bIkFxwlfyjnnTtFoVdzYa8KW0hZvuTVPQIhAINUce1ABJZyrhpj3/MREpCkh6+t7+Ag8i2xEyiiTrMg"}]},"_npmUser":{"name":"gera2ld","email":"npm@gera2ld.space"},"directories":{},"maintainers":[{"name":"gera2ld","email":"npm@gera2ld.space"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/npm2url_0.2.0_1689435518236_0.6393596334809271"},"_hasShrinkwrap":false},"0.2.1":{"name":"npm2url","version":"0.2.1","description":"Convert an NPM package import into a CDN URL.","repository":{"type":"git","url":"git+https://github.com/gera2ld/npm2url.git"},"license":"MIT","sideEffects":false,"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","devDependencies":{"@vitest/coverage-c8":"^0.31.4","changelogen":"^0.5.3","eslint":"^8.42.0","eslint-config-unjs":"^0.2.0","prettier":"^2.8.8","typescript":"^4.9.5","unbuild":"^1.2.1","vitest":"^0.31.4"},"packageManager":"pnpm@8.6.6","scripts":{"build":"unbuild","dev":"vitest dev","lint":"eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test","lint:fix":"eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w","release":"pnpm test && changelogen --release && npm publish && git push --follow-tags","test":"pnpm lint && vitest run --coverage"},"bugs":{"url":"https://github.com/gera2ld/npm2url/issues"},"homepage":"https://github.com/gera2ld/npm2url#readme","_id":"npm2url@0.2.1","_integrity":"sha512-Ls7mMyud1Kk0EisqsTt2TPtM7gLRvgmvDxOg3FPI5zjfhQ+ZFNBXX2K9VT7vo+HqUsz/uCiIxkcO0SvIuneVug==","_resolved":"/tmp/32b79ece18d03912af71beb2e5b90b15/npm2url-0.2.1.tgz","_from":"file:npm2url-0.2.1.tgz","_nodeVersion":"20.5.0","_npmVersion":"9.8.0","dist":{"integrity":"sha512-Ls7mMyud1Kk0EisqsTt2TPtM7gLRvgmvDxOg3FPI5zjfhQ+ZFNBXX2K9VT7vo+HqUsz/uCiIxkcO0SvIuneVug==","shasum":"9bb17d4e2f61e1d11cf5ebc59dbd6946e6c039e1","tarball":"https://registry.npmjs.org/npm2url/-/npm2url-0.2.1.tgz","fileCount":7,"unpackedSize":8667,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID9DuuQ3NUhaY+qiyWDm3GtpldHAuRW0IkJTRdpXf6J/AiAtjMkrd1jHNFnyx94wioE6VYYK2B82/Rq8MbecL20Nzg=="}]},"_npmUser":{"name":"gera2ld","email":"npm@gera2ld.space"},"directories":{},"maintainers":[{"name":"gera2ld","email":"npm@gera2ld.space"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/npm2url_0.2.1_1690375216208_0.8714558111345316"},"_hasShrinkwrap":false},"0.2.2":{"name":"npm2url","version":"0.2.2","description":"Convert an NPM package import into a CDN URL.","repository":{"type":"git","url":"git+https://github.com/gera2ld/npm2url.git"},"license":"MIT","sideEffects":false,"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","devDependencies":{"@vitest/coverage-c8":"^0.31.4","changelogen":"^0.5.3","eslint":"^8.42.0","eslint-config-unjs":"^0.2.0","prettier":"^2.8.8","typescript":"^4.9.5","unbuild":"^1.2.1","vitest":"^0.31.4"},"packageManager":"pnpm@8.6.6","scripts":{"build":"unbuild","dev":"vitest dev","lint":"eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test","lint:fix":"eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w","release":"pnpm test && changelogen --release && npm publish && git push --follow-tags","test":"pnpm lint && vitest run --coverage"},"bugs":{"url":"https://github.com/gera2ld/npm2url/issues"},"homepage":"https://github.com/gera2ld/npm2url#readme","_id":"npm2url@0.2.2","_integrity":"sha512-wWVqeREsKqKnwV5dt16+BZxmXCxnBzDraMQMkREi9eARM4ItKQ+BcZGa13FfFgRqr1uyP9C7xvn7hW0lAyyKfQ==","_resolved":"/tmp/34a59820ff51f75880b8cdac082c6904/npm2url-0.2.2.tgz","_from":"file:npm2url-0.2.2.tgz","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-wWVqeREsKqKnwV5dt16+BZxmXCxnBzDraMQMkREi9eARM4ItKQ+BcZGa13FfFgRqr1uyP9C7xvn7hW0lAyyKfQ==","shasum":"756646c28ae892c395d3c60834900bbcbef356a7","tarball":"https://registry.npmjs.org/npm2url/-/npm2url-0.2.2.tgz","fileCount":6,"unpackedSize":8241,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHASrHryEh5p6aMZzH6CO9jXLsP4wOlzXtpA5oxVPDFpAiBUpgUx5rRmyJj8yLQafyrZJLLs6s8sQ9Xgxl2rVj3gZw=="}]},"_npmUser":{"name":"gera2ld","email":"npm@gera2ld.space"},"directories":{},"maintainers":[{"name":"gera2ld","email":"npm@gera2ld.space"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/npm2url_0.2.2_1701536190194_0.8748129972589154"},"_hasShrinkwrap":false},"0.2.3":{"name":"npm2url","version":"0.2.3","description":"Convert an NPM package import into a CDN URL.","repository":{"type":"git","url":"git+https://github.com/gera2ld/npm2url.git"},"license":"MIT","sideEffects":false,"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","devDependencies":{"@vitest/coverage-c8":"^0.31.4","changelogen":"^0.5.3","eslint":"^8.42.0","eslint-config-unjs":"^0.2.0","prettier":"^2.8.8","typescript":"^4.9.5","unbuild":"^1.2.1","vitest":"^0.31.4"},"packageManager":"pnpm@8.6.6","scripts":{"build":"unbuild","dev":"vitest dev","lint":"eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test","lint:fix":"eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w","release":"pnpm test && changelogen --release && npm publish && git push --follow-tags","test":"pnpm lint && vitest run --coverage"},"bugs":{"url":"https://github.com/gera2ld/npm2url/issues"},"homepage":"https://github.com/gera2ld/npm2url#readme","_id":"npm2url@0.2.3","_integrity":"sha512-/G46Z+oWi458T3ePsSRnVjFyrmx7RQnY0xuJW5WZSiG5OqecD8u+/cKWRjhpR0s1a4DskiMwrwRxuUT912o6wQ==","_resolved":"/tmp/d79281edb5ef20adc20f1f6d8b0e779d/npm2url-0.2.3.tgz","_from":"file:npm2url-0.2.3.tgz","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-/G46Z+oWi458T3ePsSRnVjFyrmx7RQnY0xuJW5WZSiG5OqecD8u+/cKWRjhpR0s1a4DskiMwrwRxuUT912o6wQ==","shasum":"1f6a94e3b5aa0def3691c88838e3a46f2820a969","tarball":"https://registry.npmjs.org/npm2url/-/npm2url-0.2.3.tgz","fileCount":6,"unpackedSize":8233,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQChTe5A7Nrk1XsCb0tIezmBBGtQxHF6Gbflm+qCJ8IJuQIhAO/WGmeZ9J2Lri2kPtOJysv91URIq4mW/c2+Ix8L7qUU"}]},"_npmUser":{"name":"gera2ld","email":"npm@gera2ld.space"},"directories":{},"maintainers":[{"name":"gera2ld","email":"npm@gera2ld.space"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/npm2url_0.2.3_1701536652373_0.024979773623214907"},"_hasShrinkwrap":false},"0.2.4":{"name":"npm2url","version":"0.2.4","description":"Convert an NPM package import into a CDN URL.","repository":{"type":"git","url":"git+https://github.com/gera2ld/npm2url.git"},"license":"MIT","sideEffects":false,"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./dist/index.d.ts","devDependencies":{"@vitest/coverage-c8":"^0.31.4","changelogen":"^0.5.3","eslint":"^8.42.0","eslint-config-unjs":"^0.2.0","prettier":"^2.8.8","typescript":"^4.9.5","unbuild":"^1.2.1","vitest":"^0.31.4"},"packageManager":"pnpm@8.6.6","scripts":{"build":"unbuild","dev":"vitest dev","lint":"eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test","lint:fix":"eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w","release":"pnpm test && changelogen --release && npm publish && git push --follow-tags","test":"pnpm lint && vitest run --coverage"},"bugs":{"url":"https://github.com/gera2ld/npm2url/issues"},"homepage":"https://github.com/gera2ld/npm2url#readme","_id":"npm2url@0.2.4","_integrity":"sha512-arzGp/hQz0Ey+ZGhF64XVH7Xqwd+1Q/po5uGiBbzph8ebX6T0uvt3N7c1nBHQNsQVykQgHhqoRTX7JFcHecGuw==","_resolved":"/tmp/7293189d355736f4b0ccefb5d7d6cc4b/npm2url-0.2.4.tgz","_from":"file:npm2url-0.2.4.tgz","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-arzGp/hQz0Ey+ZGhF64XVH7Xqwd+1Q/po5uGiBbzph8ebX6T0uvt3N7c1nBHQNsQVykQgHhqoRTX7JFcHecGuw==","shasum":"50a4fa97eb1a39882cb598a1e92775a1f27a7910","tarball":"https://registry.npmjs.org/npm2url/-/npm2url-0.2.4.tgz","fileCount":6,"unpackedSize":8439,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFIEsYmE5/XPpFWfPBaWGavtKfFnaoNk5RkJkwkWdi8TAiAYYU+zfaFSLVjZS+rb9KSSD50QfAlVHlkwydNTsrN6+Q=="}]},"_npmUser":{"name":"gera2ld","email":"npm@gera2ld.space"},"directories":{},"maintainers":[{"name":"gera2ld","email":"npm@gera2ld.space"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/npm2url_0.2.4_1701571062615_0.3634502783906972"},"_hasShrinkwrap":false}},"time":{"created":"2023-07-07T16:45:29.483Z","0.1.0":"2023-07-07T16:45:29.689Z","modified":"2023-12-03T02:37:42.967Z","0.1.1":"2023-07-07T19:30:25.474Z","0.2.0":"2023-07-15T15:38:38.457Z","0.2.1":"2023-07-26T12:40:16.385Z","0.2.2":"2023-12-02T16:56:30.437Z","0.2.3":"2023-12-02T17:04:12.550Z","0.2.4":"2023-12-03T02:37:42.769Z"},"maintainers":[{"name":"gera2ld","email":"npm@gera2ld.space"}],"description":"Convert an NPM package import into a CDN URL.","homepage":"https://github.com/gera2ld/npm2url#readme","repository":{"type":"git","url":"git+https://github.com/gera2ld/npm2url.git"},"bugs":{"url":"https://github.com/gera2ld/npm2url/issues"},"license":"MIT","readme":"# npm2url\n\n[![npm version][npm-version-src]][npm-version-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n[![bundle][bundle-src]][bundle-href]\n[![JSDocs][jsdocs-src]][jsdocs-href]\n\nConvert an NPM package import into a CDN URL.\n\n## Usage\n\nInstall package:\n\n```sh\npnpm install npm2url\n```\n\nImport:\n\n```ts\nimport { urlBuilder } from \"npm2url\";\n\nconst url: string = urlBuilder.getFullUrl('npm2url');\nconst url: string = urlBuilder.getFullUrl('npm2url', 'jsdelivr');\n\n// find the fastest provider\nawait urlBuilder.findFastestProvider();\nconst fastestUrl = urlBuilder.getFullUrl('npm2url');\n\n// find the fastest provider temporarily\nconst fastest = await urlBuilder.getFastestProvider();\nconst fastestUrl = urlBuilder.getFullUrl('npm2url', fastest);\n```\n\n## License\n\nMade with 💛\n\nPublished under [MIT License](./LICENSE).\n\n<!-- Badges -->\n\n[npm-version-src]: https://img.shields.io/npm/v/npm2url?style=flat&colorA=18181B&colorB=F0DB4F\n[npm-version-href]: https://npmjs.com/package/npm2url\n[npm-downloads-src]: https://img.shields.io/npm/dm/npm2url?style=flat&colorA=18181B&colorB=F0DB4F\n[npm-downloads-href]: https://npmjs.com/package/npm2url\n[bundle-src]: https://img.shields.io/bundlephobia/minzip/npm2url?style=flat&colorA=18181B&colorB=F0DB4F\n[bundle-href]: https://bundlephobia.com/result?p=npm2url\n[jsdocs-src]: https://img.shields.io/badge/jsDocs.io-reference-18181B?style=flat&colorA=18181B&colorB=F0DB4F\n[jsdocs-href]: https://www.jsdocs.io/package/npm2url\n","readmeFilename":"README.md"}