{"_id":"@pnpm/pkgid-to-filename","_rev":"943696","name":"@pnpm/pkgid-to-filename","description":"Converts a package ID to a valid file name","dist-tags":{"latest":"3.0.0","next":"3.0.0-2"},"maintainers":[{"name":"pnpmuser","email":"zoltan.kochan@gmail.com"},{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"time":{"modified":"2021-09-23T02:10:14.000Z","created":"2017-12-10T20:38:34.044Z","3.0.0":"2020-05-16T23:11:06.541Z","3.0.0-2":"2020-05-16T21:21:03.345Z","3.0.0-1":"2020-05-16T20:10:40.821Z","3.0.0-0":"2020-05-05T00:14:51.454Z","2.0.0":"2018-09-08T12:01:27.621Z","1.0.1":"2018-04-19T21:40:51.593Z","1.0.0":"2017-12-10T20:38:34.044Z"},"users":{},"author":{"name":"Zoltan Kochan","email":"z@kochan.io","url":"https://www.kochan.io/"},"repository":{"type":"git","url":"git+https://github.com/pnpm/pkgid-to-filename.git"},"versions":{"3.0.0":{"name":"@pnpm/pkgid-to-filename","version":"3.0.0","description":"Converts a package ID to a valid file name","main":"lib/index.js","typings":"lib/index.d.ts","engines":{"node":">=10.13"},"scripts":{"lint":"tslint -c tslint.json --project .","tsc":"rimraf lib && tsc","test":"npm run lint && preview && ts-node test","prepublishOnly":"npm run tsc"},"repository":{"type":"git","url":"git+https://github.com/pnpm/pkgid-to-filename.git"},"keywords":["pnpm","integrity","package","store"],"author":{"name":"Zoltan Kochan","email":"z@kochan.io","url":"https://www.kochan.io/"},"license":"MIT","bugs":{"url":"https://github.com/pnpm/pkgid-to-filename/issues"},"homepage":"https://github.com/pnpm/pkgid-to-filename#readme","dependencies":{"normalize-path":"^3.0.0"},"devDependencies":{"@types/node":"^13.13.4","@types/tape":"^4.2.31","package-preview":"^3.0.0","rimraf":"^3.0.0","tape":"^5.0.0","ts-node":"^8.10.1","tslint":"^6.1.2","typescript":"^3.0.0"},"gitHead":"83cacbb150c92bbf3b02d5e4f0c3281f11f2edfa","_id":"@pnpm/pkgid-to-filename@3.0.0","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"shasum":"ed9c56a00184c270789f655eb860af2d0ee3ea93","size":2051,"noattachment":false,"key":"/@pnpm/pkgid-to-filename/-/@pnpm/pkgid-to-filename-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@pnpm/pkgid-to-filename/download/@pnpm/pkgid-to-filename-3.0.0.tgz"},"maintainers":[{"name":"pnpmuser","email":"zoltan.kochan@gmail.com"},{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"_npmUser":{"name":"zkochan","email":"z@kochan.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pkgid-to-filename_3.0.0_1589670666395_0.578399369013713"},"_hasShrinkwrap":false,"publish_time":1589670666541,"_cnpm_publish_time":1589670666541},"3.0.0-2":{"name":"@pnpm/pkgid-to-filename","version":"3.0.0-2","description":"Converts a package ID to a valid file name","main":"lib/index.js","typings":"lib/index.d.ts","engines":{"node":">=10.13"},"scripts":{"lint":"tslint -c tslint.json --project .","tsc":"rimraf lib && tsc","test":"npm run lint && preview && ts-node test","prepublishOnly":"npm run tsc"},"repository":{"type":"git","url":"git+https://github.com/pnpm/pkgid-to-filename.git"},"keywords":["pnpm","integrity","package","store"],"author":{"name":"Zoltan Kochan","email":"z@kochan.io","url":"https://www.kochan.io/"},"license":"MIT","bugs":{"url":"https://github.com/pnpm/pkgid-to-filename/issues"},"homepage":"https://github.com/pnpm/pkgid-to-filename#readme","dependencies":{"normalize-path":"^3.0.0"},"devDependencies":{"@types/node":"^13.13.4","@types/tape":"^4.2.31","package-preview":"^3.0.0","rimraf":"^3.0.0","tape":"^5.0.0","ts-node":"^8.10.1","tslint":"^6.1.2","typescript":"^3.0.0"},"readmeFilename":"README.md","gitHead":"999840b789f5b57b02d1aa7d98e4e37494578fe1","_id":"@pnpm/pkgid-to-filename@3.0.0-2","_nodeVersion":"10.20.1","_npmVersion":"6.14.4","dist":{"shasum":"f20a2c80d20a26aca8d09c7f77e73f240606d349","size":2061,"noattachment":false,"key":"/@pnpm/pkgid-to-filename/-/@pnpm/pkgid-to-filename-3.0.0-2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@pnpm/pkgid-to-filename/download/@pnpm/pkgid-to-filename-3.0.0-2.tgz"},"maintainers":[{"name":"pnpmuser","email":"zoltan.kochan@gmail.com"},{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"_npmUser":{"name":"zkochan","email":"z@kochan.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pkgid-to-filename_3.0.0-2_1589664063244_0.052494980779204115"},"_hasShrinkwrap":false,"publish_time":1589664063345,"_cnpm_publish_time":1589664063345},"3.0.0-1":{"name":"@pnpm/pkgid-to-filename","version":"3.0.0-1","description":"Converts a package ID to a valid file name","main":"lib/index.js","typings":"lib/index.d.ts","engines":{"node":">=10.13"},"scripts":{"lint":"tslint -c tslint.json --project .","tsc":"rimraf lib && tsc","test":"npm run lint && preview && ts-node test","prepublishOnly":"npm run tsc"},"repository":{"type":"git","url":"git+https://github.com/pnpm/pkgid-to-filename.git"},"keywords":["pnpm","integrity","package","store"],"author":{"name":"Zoltan Kochan","email":"z@kochan.io","url":"https://www.kochan.io/"},"license":"MIT","bugs":{"url":"https://github.com/pnpm/pkgid-to-filename/issues"},"homepage":"https://github.com/pnpm/pkgid-to-filename#readme","dependencies":{"normalize-path":"^3.0.0"},"devDependencies":{"@types/node":"^13.13.4","@types/tape":"^4.2.31","package-preview":"^3.0.0","rimraf":"^3.0.0","tape":"^5.0.0","ts-node":"^8.10.1","tslint":"^6.1.2","typescript":"^3.0.0"},"readmeFilename":"README.md","gitHead":"eb74f5fb02e6865ed01ac9cce42263ffce6007b7","_id":"@pnpm/pkgid-to-filename@3.0.0-1","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"shasum":"49494d652657ee71a13e93cf7bdf9b1d24ffb9da","size":2332,"noattachment":false,"key":"/@pnpm/pkgid-to-filename/-/@pnpm/pkgid-to-filename-3.0.0-1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@pnpm/pkgid-to-filename/download/@pnpm/pkgid-to-filename-3.0.0-1.tgz"},"maintainers":[{"name":"pnpmuser","email":"zoltan.kochan@gmail.com"},{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"_npmUser":{"name":"zkochan","email":"z@kochan.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pkgid-to-filename_3.0.0-1_1589659840679_0.7869001781571132"},"_hasShrinkwrap":false,"publish_time":1589659840821,"_cnpm_publish_time":1589659840821},"3.0.0-0":{"name":"@pnpm/pkgid-to-filename","version":"3.0.0-0","description":"Converts a package ID to a valid file name","main":"lib/index.js","typings":"lib/index.d.ts","engines":{"node":">=10.13"},"scripts":{"lint":"tslint -c tslint.json --project .","tsc":"rimraf lib && tsc","test":"npm run lint && preview && ts-node test","prepublishOnly":"npm run tsc"},"repository":{"type":"git","url":"git+https://github.com/pnpm/pkgid-to-filename.git"},"keywords":["pnpm","integrity","package","store"],"author":{"name":"Zoltan Kochan","email":"z@kochan.io","url":"https://www.kochan.io/"},"license":"MIT","bugs":{"url":"https://github.com/pnpm/pkgid-to-filename/issues"},"homepage":"https://github.com/pnpm/pkgid-to-filename#readme","dependencies":{"normalize-path":"^3.0.0"},"devDependencies":{"@types/node":"^13.13.4","@types/tape":"^4.2.31","package-preview":"^3.0.0","rimraf":"^3.0.0","tape":"^5.0.0","ts-node":"^8.10.1","tslint":"^6.1.2","typescript":"^3.0.0"},"readmeFilename":"README.md","gitHead":"6f70e96710cafc69d3e4a4468c53595774e9a2b8","_id":"@pnpm/pkgid-to-filename@3.0.0-0","_nodeVersion":"12.14.1","_npmVersion":"6.14.4","dist":{"shasum":"15ceea2f1045ee11c37a64a924239a8e31cfb472","size":2288,"noattachment":false,"key":"/@pnpm/pkgid-to-filename/-/@pnpm/pkgid-to-filename-3.0.0-0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@pnpm/pkgid-to-filename/download/@pnpm/pkgid-to-filename-3.0.0-0.tgz"},"maintainers":[{"name":"pnpmuser","email":"zoltan.kochan@gmail.com"},{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"_npmUser":{"name":"zkochan","email":"z@kochan.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pkgid-to-filename_3.0.0-0_1588637691358_0.7051442827414831"},"_hasShrinkwrap":false,"publish_time":1588637691454,"_cnpm_publish_time":1588637691454},"2.0.0":{"name":"@pnpm/pkgid-to-filename","version":"2.0.0","description":"Converts a package ID to a valid file name","main":"lib/index.js","typings":"lib/index.d.ts","engines":{"node":">=6"},"scripts":{"lint":"tslint -c tslint.json --project .","tsc":"rimraf lib && tsc","test":"npm run lint && preview && ts-node test && mos t","md":"mos","prepublishOnly":"npm run tsc"},"repository":{"type":"git","url":"git+https://github.com/pnpm/pkgid-to-filename.git"},"keywords":["pnpm","integrity","package","store"],"author":{"name":"Zoltan Kochan","email":"z@kochan.io","url":"https://www.kochan.io/"},"license":"MIT","bugs":{"url":"https://github.com/pnpm/pkgid-to-filename/issues"},"homepage":"https://github.com/pnpm/pkgid-to-filename#readme","dependencies":{"normalize-path":"^3.0.0"},"devDependencies":{"@types/node":"^10.9.4","@types/tape":"^4.2.31","mos":"^2.0.0-alpha.3","mos-plugin-readme":"^1.0.4","package-preview":"^1.0.1","rimraf":"^2.6.2","tape":"^4.8.0","ts-node":"^7.0.0","tslint":"^5.8.0","typescript":"^3.0.0"},"mos":{"plugins":["readme"],"installation":{"useShortAlias":true}},"readmeFilename":"README.md","gitHead":"8f811ff2a359b23238a7f2b75ab988f0e9f0a47e","_id":"@pnpm/pkgid-to-filename@2.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"zkochan","email":"z@kochan.io"},"dist":{"shasum":"e0e30b7f8848ecb42bd3a100fb11b2d38862de30","size":2305,"noattachment":false,"key":"/@pnpm/pkgid-to-filename/-/@pnpm/pkgid-to-filename-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@pnpm/pkgid-to-filename/download/@pnpm/pkgid-to-filename-2.0.0.tgz"},"maintainers":[{"name":"pnpmuser","email":"zoltan.kochan@gmail.com"},{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pkgid-to-filename_2.0.0_1536408087435_0.3888037227357004"},"_hasShrinkwrap":false,"publish_time":1536408087621,"_cnpm_publish_time":1536408087621},"1.0.1":{"name":"@pnpm/pkgid-to-filename","version":"1.0.1","description":"Converts a package ID to a valid file name","main":"lib/index.js","typings":"lib/index.d.ts","files":["lib"],"engines":{"node":">=4"},"scripts":{"lint":"tslint -c tslint.json --project .","tsc":"rimraf lib && tsc","test":"npm run lint && preview && ts-node test && mos t","md":"mos","prepublishOnly":"npm run tsc"},"repository":{"type":"git","url":"git+https://github.com/pnpm/pkgid-to-filename.git"},"keywords":["pnpm","integrity","package","store"],"author":{"name":"Zoltan Kochan","email":"z@kochan.io","url":"https://www.kochan.io/"},"license":"MIT","bugs":{"url":"https://github.com/pnpm/pkgid-to-filename/issues"},"homepage":"https://github.com/pnpm/pkgid-to-filename#readme","dependencies":{"normalize-path":"^3.0.0"},"devDependencies":{"@types/tape":"^4.2.31","mos":"^2.0.0-alpha.3","mos-plugin-readme":"^1.0.4","package-preview":"^1.0.1","rimraf":"^2.6.2","tape":"^4.8.0","ts-node":"^6.0.0","tslint":"^5.8.0","typescript":"^2.6.1"},"mos":{"plugins":["readme"],"installation":{"useShortAlias":true}},"gitHead":"c09a3939831af25bf9a846dd507f74434f49f8ab","_id":"@pnpm/pkgid-to-filename@1.0.1","_npmVersion":"5.8.0","_nodeVersion":"9.10.1","_npmUser":{"name":"zkochan","email":"z@kochan.io"},"dist":{"shasum":"5d043c0f22589f83a922ad42a50a690b449ecd37","size":2228,"noattachment":false,"key":"/@pnpm/pkgid-to-filename/-/@pnpm/pkgid-to-filename-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@pnpm/pkgid-to-filename/download/@pnpm/pkgid-to-filename-1.0.1.tgz"},"maintainers":[{"name":"pnpmuser","email":"zoltan.kochan@gmail.com"},{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pkgid-to-filename_1.0.1_1524174051501_0.2480344469996696"},"_hasShrinkwrap":false,"publish_time":1524174051593,"_cnpm_publish_time":1524174051593},"1.0.0":{"name":"@pnpm/pkgid-to-filename","version":"1.0.0","description":"Converts a package ID to a valid file name","main":"lib/index.js","typings":"lib/index.d.ts","files":["lib"],"engines":{"node":">=4"},"scripts":{"lint":"tslint -c tslint.json --project .","tsc":"rimraf lib && tsc","test":"npm run lint && preview && ts-node test && mos t","md":"mos","prepublishOnly":"npm run tsc"},"repository":{"type":"git","url":"git+https://github.com/pnpm/pkgid-to-filename.git"},"keywords":["pnpm","integrity","package","store"],"author":{"name":"Zoltan Kochan","email":"z@kochan.io","url":"https://www.kochan.io/"},"license":"MIT","bugs":{"url":"https://github.com/pnpm/pkgid-to-filename/issues"},"homepage":"https://github.com/pnpm/pkgid-to-filename#readme","dependencies":{"normalize-path":"^2.1.1"},"devDependencies":{"@types/tape":"^4.2.31","mos":"^2.0.0-alpha.3","mos-plugin-readme":"^1.0.4","package-preview":"^1.0.1","rimraf":"^2.6.2","tape":"^4.8.0","ts-node":"^3.3.0","tslint":"^5.8.0","typescript":"^2.6.1"},"mos":{"plugins":["readme"],"installation":{"useShortAlias":true}},"gitHead":"7efc14e9734e6a0bec9024ed260a3626b6b77ba2","_id":"@pnpm/pkgid-to-filename@1.0.0","_npmVersion":"5.5.1","_nodeVersion":"6.11.4","_npmUser":{"name":"zkochan","email":"z@kochan.io"},"dist":{"shasum":"47cbd1c4a15f72faa189662549adcac1e3677bf7","size":2252,"noattachment":false,"key":"/@pnpm/pkgid-to-filename/-/@pnpm/pkgid-to-filename-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@pnpm/pkgid-to-filename/download/@pnpm/pkgid-to-filename-1.0.0.tgz"},"maintainers":[{"name":"pnpmuser","email":"zoltan.kochan@gmail.com"},{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pkgid-to-filename-1.0.0.tgz_1512938313181_0.6181101624388248"},"directories":{},"publish_time":1512938314044,"_hasShrinkwrap":false,"_cnpm_publish_time":1512938314044}},"readme":"# @pnpm/pkgid-to-filename\n\n> Converts a package ID to a valid file name\n\n<!--@shields('npm', 'travis')-->\n[![npm version](https://img.shields.io/npm/v/@pnpm/pkgid-to-filename.svg)](https://www.npmjs.com/package/@pnpm/pkgid-to-filename) [![Build Status](https://img.shields.io/travis/pnpm/pkgid-to-filename/master.svg)](https://travis-ci.org/pnpm/pkgid-to-filename)\n<!--/@-->\n\n## Installation\n\n```sh\n<pnpm|npm|yarn> add @pnpm/pkgid-to-filename\n```\n\n## Usage\n\n```js\n'use strict'\nconst pkgIdToFilename = require('@pnpm/pkgid-to-filename').default\n\npkgIdToFilename('file:./test')\n//> local/%2Fhome%2Fzkochan%2Fsrc%2Fpnpm%2Fpkgid-to-filename%2Ftest\n```\n\nNo changes are done for package ID of non-local package.\n\n```js\npkgIdToFilename('registry.npmjs.org/foo/1.0.0')\n//> registry.npmjs.org/foo@1.0.0\n```\n\n## License\n\n[MIT](./LICENSE) © [Zoltan Kochan](https://www.kochan.io/)\n","_attachments":{},"homepage":"https://github.com/pnpm/pkgid-to-filename#readme","bugs":{"url":"https://github.com/pnpm/pkgid-to-filename/issues"},"license":"MIT"}