{"name":"flora-colossus","version":"3.0.2","type":"module","exports":"./dist/index.js","typings":"dist/index.d.ts","description":"Walks your node_modules tree","author":{"name":"Samuel Attard"},"license":"MIT","keywords":["node_modules","walker"],"engines":{"node":">=22.12.0"},"repository":{"type":"git","url":"git+https://github.com/MarshallOfSound/flora-colossus.git"},"scripts":{"build":"tsc","prepare":"npm run build","pretest":"cd test/fixtures/xml2js && yarn --frozen-lockfile","test":"vitest run","test:watch":"vitest","lint":"prettier --check \"src/**/*.ts\" \"test/**/*.ts\"","lint:fix":"prettier --write \"src/**/*.ts\" \"test/**/*.ts\""},"dependencies":{"debug":"^4.4.1"},"devDependencies":{"@tsconfig/node22":"^22.0.2","@types/debug":"^4.1.12","@types/node":"^22.0.13","@vitest/coverage-v8":"^3.2.4","prettier":"^3.6.2","typescript":"^5.8.3","vitest":"^3.2.4"},"_id":"flora-colossus@3.0.2","gitHead":"1c561dc9bc094f40e3934c94dd761616bc22c439","bugs":{"url":"https://github.com/MarshallOfSound/flora-colossus/issues"},"homepage":"https://github.com/MarshallOfSound/flora-colossus#readme","_nodeVersion":"24.3.0","_npmVersion":"11.4.2","dist":{"integrity":"sha512-Jk78K/Tzt6saxQPGChlJw69xuFGpWyTSAS8EdU0h/FyXwD2K46yNOXmo6nRHcZ9ooekyBAzMkwmiGNt7wOC5zg==","shasum":"fb309f9041f309a03728de3306796b1239a3ede5","tarball":"http://registry-npm.ywwl.com/flora-colossus/download/flora-colossus-3.0.2.tgz","fileCount":15,"unpackedSize":21993,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEULYyYp1UWUvMsMIBWDaluOgIPhurccK9zNfdKhOjuoAiEAlf+L1ov2rb6s2vlez63OcJZ2ULGWnDmIy/b4ChhyW6c="}],"size":6365,"noattachment":false,"key":"/flora-colossus/-/flora-colossus-3.0.2.tgz"},"_npmUser":{"name":"marshallofsound","email":"samuel.r.attard@gmail.com"},"directories":{},"maintainers":[{"name":"marshallofsound","email":"samuel.r.attard@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/flora-colossus_3.0.2_1752470030360_0.4844272341665077"},"_hasShrinkwrap":false,"readme":"Flora Colossus\n-----------\n\n> Walk your node_modules tree\n\n## Installation\n\n```bash\nnpm i --save-dev flora-colossus\n```\n\n## API\n\n### Enum: `DepType`\n\n```js\nimport { DepType } from 'flora-colossus';\n\n// DepType.PROD --> Production dependency\n// DepType.OPTIONAL --> Optional dependency\n// DepType.DEV --> Development dependency\n// DepType.DEV_OPTIONAL --> Optional dependency of a development dependency\n// DepType.ROOT --> The root module\n```\n\n####\n\n### Class: `Walker`\n\n```js\nimport { Walker } from 'flora-colossus';\n\n// modulePath is the root folder of your module\nconst walker = new Walker(modulePath);\n```\n\n#### `walker.walkTree()`\n\nReturns `Promise<Module[]>`\n\nWill walk your entire node_modules tree reporting back an array of \"modules\", each\nmodule has a \"path\", \"name\" and \"depType\".  See the typescript definition file\nfor more information.","publish_time":1752470030521,"_cnpm_publish_time":1752470030521,"dist-tags":{"latest":"3.0.2"}}