{"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":{"integrity":"sha512-HnWDy3ecIKBsbRR9bwf+GJpV1CWLQ9Injj7eLSEQIsXQ+CLXU0h1NaxBCW7zcJm+2kbwnm0E1aFdFIEJXhHiTg==","shasum":"47cbd1c4a15f72faa189662549adcac1e3677bf7","tarball":"http://registry-npm.ywwl.com/@pnpm/pkgid-to-filename/download/@pnpm/pkgid-to-filename-1.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEwgV70uUlZ2HFfnhzVhZYT9YyMF+66YJ5wh+yVAGuOEAiB7HKdCCqsQr7yGh6ZHKOs5TbypMDnmYntQ/gzSRzEA7A=="}],"size":2252,"noattachment":false,"key":"/@pnpm/pkgid-to-filename/-/@pnpm/pkgid-to-filename-1.0.0.tgz"},"maintainers":[{"name":"zkochan","email":"z@kochan.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pkgid-to-filename-1.0.0.tgz_1512938313181_0.6181101624388248"},"directories":{},"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","publish_time":1512938314044,"_cnpm_publish_time":1512938314044,"dist-tags":{"latest":"3.0.0","next":"3.0.0-2"}}