{"_id":"@npmcli/installed-package-contents","_rev":"4130828","name":"@npmcli/installed-package-contents","description":"Get the list of files installed in a package in node_modules, including bundled dependencies","dist-tags":{"latest":"4.0.0"},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"time":{"modified":"2026-03-01T18:32:57.000Z","created":"2019-12-08T17:28:44.210Z","4.0.0":"2025-10-23T17:46:47.038Z","3.0.0":"2024-09-26T15:19:03.879Z","2.1.0":"2024-04-23T18:08:00.115Z","2.0.2":"2023-02-27T17:18:41.952Z","2.0.1":"2022-10-19T14:00:50.209Z","2.0.0":"2022-10-14T19:59:32.864Z","1.0.7":"2021-02-08T20:00:56.515Z","1.0.6":"2021-02-05T15:30:55.963Z","1.0.4":"2019-12-09T23:59:41.276Z","1.0.5":"2019-12-16T22:54:50.047Z","1.0.3":"2019-12-09T06:17:39.514Z","1.0.2":"2019-12-08T23:58:51.123Z","1.0.1":"2019-12-08T19:26:42.810Z","1.0.0":"2019-12-08T17:28:44.210Z"},"users":{},"author":{"name":"GitHub Inc."},"repository":{"type":"git","url":"git+https://github.com/npm/installed-package-contents.git"},"versions":{"4.0.0":{"name":"@npmcli/installed-package-contents","version":"4.0.0","description":"Get the list of files installed in a package in node_modules, including bundled dependencies","author":{"name":"GitHub Inc."},"main":"lib/index.js","bin":{"installed-package-contents":"bin/index.js"},"license":"ISC","scripts":{"test":"tap","snap":"tap","lint":"npm run eslint","postlint":"template-oss-check","template-oss-apply":"template-oss-apply --force","lintfix":"npm run eslint -- --fix","posttest":"npm run lint","eslint":"eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\""},"devDependencies":{"@npmcli/eslint-config":"^5.0.0","@npmcli/template-oss":"4.27.1","tap":"^16.3.0"},"dependencies":{"npm-bundled":"^5.0.0","npm-normalize-package-bin":"^5.0.0"},"repository":{"type":"git","url":"git+https://github.com/npm/installed-package-contents.git"},"engines":{"node":"^20.17.0 || >=22.9.0"},"templateOSS":{"//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten.","version":"4.27.1","publish":true},"tap":{"nyc-arg":["--exclude","tap-snapshots/**"]},"gitHead":"43776bff38d1dc33945897fd8546cbb790c4946e","_id":"@npmcli/installed-package-contents@4.0.0","bugs":{"url":"https://github.com/npm/installed-package-contents/issues"},"homepage":"https://github.com/npm/installed-package-contents#readme","_nodeVersion":"22.20.0","_npmVersion":"11.6.2","dist":{"shasum":"18e5070704cfe0278f9ae48038558b6efd438426","size":4873,"noattachment":false,"key":"/@npmcli/installed-package-contents/-/@npmcli/installed-package-contents-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/installed-package-contents/download/@npmcli/installed-package-contents-4.0.0.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:8ce01942-62c8-4fd3-896f-650cdb76f1ba"}},"directories":{},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/installed-package-contents_4.0.0_1761241606862_0.5636296848118307"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-23T17:46:47.038Z","publish_time":1761241607038,"_source_registry_name":"default","_cnpm_publish_time":1761241607038},"3.0.0":{"name":"@npmcli/installed-package-contents","version":"3.0.0","description":"Get the list of files installed in a package in node_modules, including bundled dependencies","author":{"name":"GitHub Inc."},"main":"lib/index.js","bin":{"installed-package-contents":"bin/index.js"},"license":"ISC","scripts":{"test":"tap","snap":"tap","lint":"npm run eslint","postlint":"template-oss-check","template-oss-apply":"template-oss-apply --force","lintfix":"npm run eslint -- --fix","posttest":"npm run lint","eslint":"eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\""},"devDependencies":{"@npmcli/eslint-config":"^5.0.0","@npmcli/template-oss":"4.23.3","tap":"^16.3.0"},"dependencies":{"npm-bundled":"^4.0.0","npm-normalize-package-bin":"^4.0.0"},"repository":{"type":"git","url":"git+https://github.com/npm/installed-package-contents.git"},"engines":{"node":"^18.17.0 || >=20.5.0"},"templateOSS":{"//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten.","version":"4.23.3","publish":true},"tap":{"nyc-arg":["--exclude","tap-snapshots/**"]},"_id":"@npmcli/installed-package-contents@3.0.0","gitHead":"59f2893c45ffe264117fa873abceea24246ef369","bugs":{"url":"https://github.com/npm/installed-package-contents/issues"},"homepage":"https://github.com/npm/installed-package-contents#readme","_nodeVersion":"22.9.0","_npmVersion":"10.8.3","dist":{"shasum":"2c1170ff4f70f68af125e2842e1853a93223e4d1","size":4875,"noattachment":false,"key":"/@npmcli/installed-package-contents/-/@npmcli/installed-package-contents-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/installed-package-contents/download/@npmcli/installed-package-contents-3.0.0.tgz"},"_npmUser":{"name":"npm-cli-ops","email":"npm-cli+bot@github.com"},"directories":{},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/installed-package-contents_3.0.0_1727363943691_0.29542454065055646"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-09-26T15:19:03.879Z","publish_time":1727363943879,"_source_registry_name":"default","_cnpm_publish_time":1727363943879},"2.1.0":{"name":"@npmcli/installed-package-contents","version":"2.1.0","description":"Get the list of files installed in a package in node_modules, including bundled dependencies","author":{"name":"GitHub Inc."},"main":"lib/index.js","bin":{"installed-package-contents":"bin/index.js"},"license":"ISC","scripts":{"test":"tap","snap":"tap","lint":"eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"","postlint":"template-oss-check","template-oss-apply":"template-oss-apply --force","lintfix":"npm run lint -- --fix","posttest":"npm run lint"},"devDependencies":{"@npmcli/eslint-config":"^4.0.0","@npmcli/template-oss":"4.21.4","tap":"^16.3.0"},"dependencies":{"npm-bundled":"^3.0.0","npm-normalize-package-bin":"^3.0.0"},"repository":{"type":"git","url":"git+https://github.com/npm/installed-package-contents.git"},"engines":{"node":"^14.17.0 || ^16.13.0 || >=18.0.0"},"templateOSS":{"//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten.","version":"4.21.4","publish":true},"tap":{"nyc-arg":["--exclude","tap-snapshots/**"]},"_id":"@npmcli/installed-package-contents@2.1.0","gitHead":"f5d5cc6d0ac7bf53a3700cec01306b9050c734a6","bugs":{"url":"https://github.com/npm/installed-package-contents/issues"},"homepage":"https://github.com/npm/installed-package-contents#readme","_nodeVersion":"20.12.2","_npmVersion":"10.5.2","dist":{"shasum":"63048e5f6e40947a3a88dcbcb4fd9b76fdd37c17","size":4873,"noattachment":false,"key":"/@npmcli/installed-package-contents/-/@npmcli/installed-package-contents-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/installed-package-contents/download/@npmcli/installed-package-contents-2.1.0.tgz"},"_npmUser":{"name":"npm-cli-ops","email":"npm-cli+bot@github.com"},"directories":{},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/installed-package-contents_2.1.0_1713895679967_0.2765930145894333"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-04-23T18:08:00.115Z","publish_time":1713895680115,"_source_registry_name":"default","_cnpm_publish_time":1713895680115},"2.0.2":{"name":"@npmcli/installed-package-contents","version":"2.0.2","description":"Get the list of files installed in a package in node_modules, including bundled dependencies","author":{"name":"GitHub Inc."},"main":"lib/index.js","bin":{"installed-package-contents":"lib/index.js"},"license":"ISC","scripts":{"test":"tap","snap":"tap","lint":"eslint \"**/*.js\"","postlint":"template-oss-check","template-oss-apply":"template-oss-apply --force","lintfix":"npm run lint -- --fix","posttest":"npm run lint"},"devDependencies":{"@npmcli/eslint-config":"^4.0.0","@npmcli/template-oss":"4.11.4","require-inject":"^1.4.4","tap":"^16.3.0"},"dependencies":{"npm-bundled":"^3.0.0","npm-normalize-package-bin":"^3.0.0"},"repository":{"type":"git","url":"git+https://github.com/npm/installed-package-contents.git"},"engines":{"node":"^14.17.0 || ^16.13.0 || >=18.0.0"},"templateOSS":{"//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten.","version":"4.11.4"},"tap":{"nyc-arg":["--exclude","tap-snapshots/**"]},"bugs":{"url":"https://github.com/npm/installed-package-contents/issues"},"homepage":"https://github.com/npm/installed-package-contents#readme","_id":"@npmcli/installed-package-contents@2.0.2","_nodeVersion":"18.13.0","_npmVersion":"9.4.0","dist":{"shasum":"bfd817eccd9e8df200919e73f57f9e3d9e4f9e33","size":5039,"noattachment":false,"key":"/@npmcli/installed-package-contents/-/@npmcli/installed-package-contents-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/installed-package-contents/download/@npmcli/installed-package-contents-2.0.2.tgz"},"_npmUser":{"name":"gar","email":"gar+npm@danger.computer"},"directories":{},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/installed-package-contents_2.0.2_1677518321820_0.4296470874621492"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-27T17:18:41.952Z","publish_time":1677518321952,"_cnpm_publish_time":1677518321952},"2.0.1":{"name":"@npmcli/installed-package-contents","version":"2.0.1","description":"Get the list of files installed in a package in node_modules, including bundled dependencies","author":{"name":"GitHub Inc."},"main":"lib/index.js","bin":{"installed-package-contents":"lib/index.js"},"license":"ISC","scripts":{"test":"tap","snap":"tap","lint":"eslint \"**/*.js\"","postlint":"template-oss-check","template-oss-apply":"template-oss-apply --force","lintfix":"npm run lint -- --fix","posttest":"npm run lint"},"devDependencies":{"@npmcli/eslint-config":"^4.0.0","@npmcli/template-oss":"4.6.2","mkdirp":"^1.0.4","require-inject":"^1.4.4","tap":"^16.3.0"},"dependencies":{"npm-bundled":"^3.0.0","npm-normalize-package-bin":"^3.0.0"},"repository":{"type":"git","url":"git+https://github.com/npm/installed-package-contents.git"},"engines":{"node":"^14.17.0 || ^16.13.0 || >=18.0.0"},"templateOSS":{"//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten.","version":"4.6.2"},"tap":{"nyc-arg":["--exclude","tap-snapshots/**"]},"gitHead":"c29844d11648e35ef6f11a102da0683e0b4a4eb9","bugs":{"url":"https://github.com/npm/installed-package-contents/issues"},"homepage":"https://github.com/npm/installed-package-contents#readme","_id":"@npmcli/installed-package-contents@2.0.1","_nodeVersion":"18.10.0","_npmVersion":"9.0.0-pre.4","dist":{"shasum":"3cad3141c95613426820128757a3549bef1b346b","size":5037,"noattachment":false,"key":"/@npmcli/installed-package-contents/-/@npmcli/installed-package-contents-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/installed-package-contents/download/@npmcli/installed-package-contents-2.0.1.tgz"},"_npmUser":{"name":"gar","email":"gar+npm@danger.computer"},"directories":{},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/installed-package-contents_2.0.1_1666188050021_0.1535726671981157"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-10-19T17:32:04.389Z","publish_time":1666188050209,"_cnpm_publish_time":1666188050209},"2.0.0":{"name":"@npmcli/installed-package-contents","version":"2.0.0","description":"Get the list of files installed in a package in node_modules, including bundled dependencies","author":{"name":"GitHub Inc."},"main":"lib/index.js","bin":{"installed-package-contents":"index.js"},"license":"ISC","scripts":{"test":"tap","snap":"tap","lint":"eslint \"**/*.js\"","postlint":"template-oss-check","template-oss-apply":"template-oss-apply --force","lintfix":"npm run lint -- --fix","posttest":"npm run lint"},"devDependencies":{"@npmcli/eslint-config":"^4.0.0","@npmcli/template-oss":"4.5.1","mkdirp":"^1.0.4","require-inject":"^1.4.4","tap":"^16.3.0"},"dependencies":{"npm-bundled":"^3.0.0","npm-normalize-package-bin":"^3.0.0"},"repository":{"type":"git","url":"git+https://github.com/npm/installed-package-contents.git"},"engines":{"node":"^14.17.0 || ^16.13.0 || >=18.0.0"},"templateOSS":{"//@npmcli/template-oss":"This file is partially managed by @npmcli/template-oss. Edits may be overwritten.","version":"4.5.1"},"tap":{"nyc-arg":["--exclude","tap-snapshots/**"]},"gitHead":"e38ccd6c83c7d8da6e96ff9b340bb03d07020066","bugs":{"url":"https://github.com/npm/installed-package-contents/issues"},"homepage":"https://github.com/npm/installed-package-contents#readme","_id":"@npmcli/installed-package-contents@2.0.0","_nodeVersion":"18.10.0","_npmVersion":"8.19.2","dist":{"shasum":"769daa3c11f30875d7f0fe78016978d3af862626","size":5043,"noattachment":false,"key":"/@npmcli/installed-package-contents/-/@npmcli/installed-package-contents-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/installed-package-contents/download/@npmcli/installed-package-contents-2.0.0.tgz"},"_npmUser":{"name":"lukekarrys","email":"luke@lukekarrys.com"},"directories":{},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/installed-package-contents_2.0.0_1665777572646_0.9697832269761997"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-10-17T17:46:44.652Z","publish_time":1665777572864,"_cnpm_publish_time":1665777572864},"1.0.7":{"name":"@npmcli/installed-package-contents","version":"1.0.7","description":"Get the list of files installed in a package in node_modules, including bundled dependencies","author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"https://izs.me"},"main":"index.js","bin":{"installed-package-contents":"index.js"},"license":"ISC","scripts":{"test":"tap","snap":"tap","preversion":"npm test","postversion":"npm publish","postpublish":"git push origin --follow-tags"},"tap":{"check-coverage":true,"color":true},"devDependencies":{"require-inject":"^1.4.4","tap":"^14.11.0"},"dependencies":{"npm-bundled":"^1.1.1","npm-normalize-package-bin":"^1.0.1"},"repository":{"type":"git","url":"git+https://github.com/npm/installed-package-contents.git"},"engines":{"node":">= 10"},"gitHead":"e79ffb760d93e0a969c768ccf419d0e9b72b6de8","bugs":{"url":"https://github.com/npm/installed-package-contents/issues"},"homepage":"https://github.com/npm/installed-package-contents#readme","_id":"@npmcli/installed-package-contents@1.0.7","_nodeVersion":"15.8.0","_npmVersion":"7.5.1","dist":{"shasum":"ab7408c6147911b970a8abe261ce512232a3f4fa","size":4901,"noattachment":false,"key":"/@npmcli/installed-package-contents/-/@npmcli/installed-package-contents-1.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/installed-package-contents/download/@npmcli/installed-package-contents-1.0.7.tgz"},"_npmUser":{"name":"ruyadorno","email":"ruyadorno@hotmail.com"},"directories":{},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/installed-package-contents_1.0.7_1612814456414_0.41444940614953674"},"_hasShrinkwrap":false,"publish_time":1612814456515,"_cnpm_publish_time":1612814456515},"1.0.6":{"name":"@npmcli/installed-package-contents","version":"1.0.6","description":"Get the list of files installed in a package in node_modules, including bundled dependencies","author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"https://izs.me"},"main":"index.js","bin":{"installed-package-contents":"index.js"},"license":"ISC","scripts":{"test":"tap","snap":"tap","preversion":"npm test","postversion":"npm publish","postpublish":"git push origin --follow-tags"},"tap":{"check-coverage":true},"devDependencies":{"tap":"^14.11.0"},"dependencies":{"npm-bundled":"^1.1.1","npm-normalize-package-bin":"^1.0.1","read-package-json-fast":"^2.0.1","readdir-scoped-modules":"^1.1.0"},"repository":{"type":"git","url":"git+https://github.com/npm/installed-package-contents.git"},"engines":{"node":">= 10"},"gitHead":"588a43c9ee0c2d8fa3d79a24669f3e87dd49962b","bugs":{"url":"https://github.com/npm/installed-package-contents/issues"},"homepage":"https://github.com/npm/installed-package-contents#readme","_id":"@npmcli/installed-package-contents@1.0.6","_nodeVersion":"15.8.0","_npmVersion":"7.5.1","dist":{"shasum":"c8e4e18d16b51f70d1bcdeeca816074ca60a8bdd","size":4725,"noattachment":false,"key":"/@npmcli/installed-package-contents/-/@npmcli/installed-package-contents-1.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/installed-package-contents/download/@npmcli/installed-package-contents-1.0.6.tgz"},"_npmUser":{"name":"ruyadorno","email":"ruyadorno@hotmail.com"},"directories":{},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/installed-package-contents_1.0.6_1612539055844_0.7195787805120042"},"_hasShrinkwrap":false,"publish_time":1612539055963,"_cnpm_publish_time":1612539055963},"1.0.4":{"name":"@npmcli/installed-package-contents","version":"1.0.4","description":"Get the list of files installed in a package in node_modules, including bundled dependencies","author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"https://izs.me"},"main":"index.js","bin":{"installed-package-contents":"index.js"},"license":"ISC","scripts":{"test":"tap","snap":"tap","preversion":"npm test","postversion":"npm publish","postpublish":"git push origin --follow-tags"},"tap":{"check-coverage":true},"devDependencies":{"tap":"^14.10.2"},"dependencies":{"npm-bundled":"^1.1.0","npm-normalize-package-bin":"^1.0.1","read-package-json-fast":"^1.1.0","readdir-scoped-modules":"^1.1.0"},"repository":{"type":"git","url":"git+https://github.com/npm/installed-package-contents.git"},"engines":{"node":">= 10"},"gitHead":"2d1ede148e031acad40ed5c62fac393c21d24185","bugs":{"url":"https://github.com/npm/installed-package-contents/issues"},"homepage":"https://github.com/npm/installed-package-contents#readme","_id":"@npmcli/installed-package-contents@1.0.4","_nodeVersion":"12.12.0","_npmVersion":"6.13.2","dist":{"shasum":"cf3bee3502f7a76da0f3e2910b596b06b89ee684","size":4738,"noattachment":false,"key":"/@npmcli/installed-package-contents/-/@npmcli/installed-package-contents-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/installed-package-contents/download/@npmcli/installed-package-contents-1.0.4.tgz"},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmUser":{"name":"isaacs","email":"i@izs.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/installed-package-contents_1.0.4_1575935981165_0.319515580176416"},"_hasShrinkwrap":false,"publish_time":1575935981276,"_cnpm_publish_time":1575935981276},"1.0.5":{"name":"@npmcli/installed-package-contents","version":"1.0.5","description":"Get the list of files installed in a package in node_modules, including bundled dependencies","author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"https://izs.me"},"main":"index.js","bin":{"installed-package-contents":"index.js"},"license":"ISC","scripts":{"test":"tap","snap":"tap","preversion":"npm test","postversion":"npm publish","postpublish":"git push origin --follow-tags"},"tap":{"check-coverage":true},"devDependencies":{"tap":"^14.10.4"},"dependencies":{"npm-bundled":"^1.1.1","npm-normalize-package-bin":"^1.0.1","read-package-json-fast":"^1.1.1","readdir-scoped-modules":"^1.1.0"},"repository":{"type":"git","url":"git+https://github.com/npm/installed-package-contents.git"},"engines":{"node":">= 10"},"gitHead":"efa7dd8dca59b085573d5b15d2332e350726e44c","bugs":{"url":"https://github.com/npm/installed-package-contents/issues"},"homepage":"https://github.com/npm/installed-package-contents#readme","_id":"@npmcli/installed-package-contents@1.0.5","_nodeVersion":"13.3.0","_npmVersion":"6.13.4","dist":{"shasum":"cc78565e55d9f14d46acf46a96f70934e516fa3d","size":4714,"noattachment":false,"key":"/@npmcli/installed-package-contents/-/@npmcli/installed-package-contents-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/installed-package-contents/download/@npmcli/installed-package-contents-1.0.5.tgz"},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmUser":{"name":"isaacs","email":"i@izs.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/installed-package-contents_1.0.5_1576536889857_0.44623696806908186"},"_hasShrinkwrap":false,"publish_time":1576536890047,"_cnpm_publish_time":1576536890047},"1.0.3":{"name":"@npmcli/installed-package-contents","version":"1.0.3","description":"Get the list of files installed in a package in node_modules, including bundled dependencies","author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"https://izs.me"},"main":"index.js","bin":{"installed-package-contents":"index.js"},"license":"ISC","scripts":{"test":"tap","snap":"tap","preversion":"npm test","postversion":"npm publish","postpublish":"git push origin --follow-tags"},"tap":{"check-coverage":true},"devDependencies":{"tap":"^14.10.2"},"dependencies":{"npm-bundled":"^1.1.0","read-package-json-fast":"^1.1.0","readdir-scoped-modules":"^1.1.0"},"repository":{"type":"git","url":"git+https://github.com/npm/installed-package-contents.git"},"engines":{"node":">= 10"},"gitHead":"b5f30e770aa0f4e54988f81198b63bb757610183","bugs":{"url":"https://github.com/npm/installed-package-contents/issues"},"homepage":"https://github.com/npm/installed-package-contents#readme","_id":"@npmcli/installed-package-contents@1.0.3","_nodeVersion":"12.12.0","_npmVersion":"6.13.2","dist":{"shasum":"412c3bbf9a02fa86c5a300e6f6981441d882d9de","size":4711,"noattachment":false,"key":"/@npmcli/installed-package-contents/-/@npmcli/installed-package-contents-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/installed-package-contents/download/@npmcli/installed-package-contents-1.0.3.tgz"},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmUser":{"name":"isaacs","email":"i@izs.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/installed-package-contents_1.0.3_1575872259384_0.008616703237983803"},"_hasShrinkwrap":false,"publish_time":1575872259514,"_cnpm_publish_time":1575872259514},"1.0.2":{"name":"@npmcli/installed-package-contents","version":"1.0.2","description":"Get the list of files installed in a package in node_modules, including bundled dependencies","author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"https://izs.me"},"main":"index.js","bin":{"installed-package-contents":"index.js"},"license":"ISC","scripts":{"test":"tap","snap":"tap","preversion":"npm test","postversion":"npm publish","postpublish":"git push origin --follow-tags"},"tap":{"check-coverage":true},"devDependencies":{"tap":"^14.10.2"},"dependencies":{"npm-bundled":"^1.1.0","read-package-json-fast":"^1.1.0","readdir-scoped-modules":"^1.1.0"},"repository":{"type":"git","url":"git+https://github.com/npm/installed-package-contents.git"},"gitHead":"bbbaae7011d48171953ef864cf6be2715465bb2e","bugs":{"url":"https://github.com/npm/installed-package-contents/issues"},"homepage":"https://github.com/npm/installed-package-contents#readme","_id":"@npmcli/installed-package-contents@1.0.2","_nodeVersion":"12.12.0","_npmVersion":"6.13.2","dist":{"shasum":"66480d279566c49bf97a3cc0351db5769642208e","size":4688,"noattachment":false,"key":"/@npmcli/installed-package-contents/-/@npmcli/installed-package-contents-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/installed-package-contents/download/@npmcli/installed-package-contents-1.0.2.tgz"},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmUser":{"name":"isaacs","email":"i@izs.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/installed-package-contents_1.0.2_1575849530901_0.6571703225697387"},"_hasShrinkwrap":false,"publish_time":1575849531123,"_cnpm_publish_time":1575849531123},"1.0.1":{"name":"@npmcli/installed-package-contents","version":"1.0.1","description":"Get the list of files installed in a package in node_modules, including bundled dependencies","author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"https://izs.me"},"main":"index.js","bin":{"installed-package-contents":"index.js"},"license":"ISC","scripts":{"test":"tap","snap":"tap","preversion":"npm test","postversion":"npm publish","postpublish":"git push origin --follow-tags"},"tap":{"check-coverage":true},"devDependencies":{"tap":"^14.10.2"},"dependencies":{"@types/react":"^16.9.15","npm-bundled":"^1.1.0","react":"^16.12.0","read-package-json-fast":"^1.1.0","readdir-scoped-modules":"^1.1.0","tap-parser":"^9.3.3"},"repository":{"type":"git","url":"git+https://github.com/npm/installed-package-contents.git"},"gitHead":"af123fbc21576dfbbd74ce876379d680fe597d7d","bugs":{"url":"https://github.com/npm/installed-package-contents/issues"},"homepage":"https://github.com/npm/installed-package-contents#readme","_id":"@npmcli/installed-package-contents@1.0.1","_nodeVersion":"12.12.0","_npmVersion":"6.13.2","dist":{"shasum":"1751f00575fa6b9baf67116d1152cfeca872c6ec","size":4723,"noattachment":false,"key":"/@npmcli/installed-package-contents/-/@npmcli/installed-package-contents-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/installed-package-contents/download/@npmcli/installed-package-contents-1.0.1.tgz"},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmUser":{"name":"isaacs","email":"i@izs.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/installed-package-contents_1.0.1_1575833202705_0.24189954448028295"},"_hasShrinkwrap":false,"publish_time":1575833202810,"_cnpm_publish_time":1575833202810},"1.0.0":{"name":"@npmcli/installed-package-contents","version":"1.0.0","description":"Get the list of files installed in a package in node_modules, including bundled dependencies","author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"https://izs.me"},"main":"index.js","bin":{"installed-package-contents":"index.js"},"license":"ISC","scripts":{"test":"tap","snap":"tap","preversion":"npm test","postversion":"npm publish","postpublish":"git push origin --follow-tags"},"tap":{"check-coverage":true},"devDependencies":{"tap":"^14.10.2"},"dependencies":{"@types/react":"^16.9.15","npm-bundled":"^1.1.0","react":"^16.12.0","read-package-json-fast":"^1.1.0","readdir-scoped-modules":"^1.1.0","tap-parser":"^9.3.3"},"repository":{"type":"git","url":"git+https://github.com/npm/installed-package-contents.git"},"gitHead":"f280338fd7946b92862f89a6288ad4f7b07e86ab","bugs":{"url":"https://github.com/npm/installed-package-contents/issues"},"homepage":"https://github.com/npm/installed-package-contents#readme","_id":"@npmcli/installed-package-contents@1.0.0","_nodeVersion":"12.12.0","_npmVersion":"6.13.2","dist":{"shasum":"39b9551a0d31f0e3a536faa88623078b2a5ea1f0","size":4661,"noattachment":false,"key":"/@npmcli/installed-package-contents/-/@npmcli/installed-package-contents-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@npmcli/installed-package-contents/download/@npmcli/installed-package-contents-1.0.0.tgz"},"maintainers":[{"name":"gar","email":""},{"name":"npm-cli-ops","email":""},{"name":"owlstronaut","email":""},{"name":"reggi","email":""},{"name":"saquibkhan","email":""}],"_npmUser":{"name":"isaacs","email":"i@izs.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/installed-package-contents_1.0.0_1575826124099_0.5418610598706421"},"_hasShrinkwrap":false,"publish_time":1575826124210,"_cnpm_publish_time":1575826124210}},"readme":"# @npmcli/installed-package-contents\n\nGet the list of files installed in a package in node_modules, including\nbundled dependencies.\n\nThis is useful if you want to remove a package node from the tree _without_\nremoving its child nodes, for example to extract a new version of the\ndependency into place safely.\n\nIt's sort of the reflection of [npm-packlist](http://npm.im/npm-packlist),\nbut for listing out the _installed_ files rather than the files that _will_\nbe installed.  This is of course a much simpler operation, because we don't\nhave to handle ignore files or package.json `files` lists.\n\n## USAGE\n\n```js\n// programmatic usage\nconst pkgContents = require('@npmcli/installed-package-contents')\n\npkgContents({ path: 'node_modules/foo', depth: 1 }).then(files => {\n  // files is an array of items that need to be passed to\n  // rimraf or moved out of the way to make the folder empty\n  // if foo bundled dependencies, those will be included.\n  // It will not traverse into child directories, because we set\n  // depth:1 in the options.\n  // If the folder doesn't exist, this returns an empty array.\n})\n\npkgContents({ path: 'node_modules/foo', depth: Infinity }).then(files => {\n  // setting depth:Infinity tells it to keep walking forever\n  // until it hits something that isn't a directory, so we'll\n  // just get the list of all files, but not their containing\n  // directories.\n})\n```\n\nAs a CLI:\n\n```bash\n$ installed-package-contents node_modules/bundle-some -d1\nnode_modules/.bin/some\nnode_modules/bundle-some/package.json\nnode_modules/bundle-some/node_modules/@scope/baz\nnode_modules/bundle-some/node_modules/.bin/foo\nnode_modules/bundle-some/node_modules/foo\n```\n\nCLI options:\n\n```\nUsage:\n  installed-package-contents <path> [-d<n> --depth=<n>]\n\nLists the files installed for a package specified by <path>.\n\nOptions:\n  -d<n> --depth=<n>   Provide a numeric value (\"Infinity\" is allowed)\n                      to specify how deep in the file tree to traverse.\n                      Default=1\n  -h --help           Show this usage information\n```\n\n## OPTIONS\n\n* `depth` Number, default `1`.  How deep to traverse through folders to get\n    contents.  Typically you'd want to set this to either `1` (to get the\n    surface files and folders) or `Infinity` (to get all files), but any\n    other positive number is supported as well.  If set to `0` or a\n    negative number, returns the path provided and (if it is a package) its\n    set of linked bins.\n* `path` Required.  Path to the package in `node_modules` where traversal\n    should begin.\n\n## RETURN VALUE\n\nA Promise that resolves to an array of fully-resolved files and folders\nmatching the criteria.  This includes all bundled dependencies in\n`node_modules`, and any linked executables in `node_modules/.bin` that the\npackage caused to be installed.\n\nAn empty or missing package folder will return an empty array.  Empty\ndirectories _within_ package contents are listed, even if the `depth`\nargument would cause them to be traversed into.\n\n## CAVEAT\n\nIf using this module to generate a list of files that should be recursively\nremoved to clear away the package, note that this will leave empty\ndirectories behind in certain cases:\n\n- If all child packages are bundled dependencies, then the\n    `node_modules` folder will remain.\n- If all child packages within a given scope were bundled dependencies,\n    then the `node_modules/@scope` folder will remain.\n- If all linked bin scripts were removed, then an empty `node_modules/.bin`\n    folder will remain.\n\nIn the interest of speed and algorithmic complexity, this module does _not_\ndo a subsequent readdir to see if it would remove all directory entries,\nthough it would be easier to look at if it returned `node_modules` or\n`.bin` in that case rather than the contents.  However, if the intent is to\npass these arguments to `rimraf`, it hardly makes sense to do _two_\n`readdir` calls just so that we can have the luxury of having to make a\nthird.\n\nSince the primary use case is to delete a package's contents so that they\ncan be re-filled with a new version of that package, this caveat does not\npose a problem.  Empty directories are already ignored by both npm and git.\n","_attachments":{},"homepage":"https://github.com/npm/installed-package-contents#readme","bugs":{"url":"https://github.com/npm/installed-package-contents/issues"},"license":"ISC"}