{"_id":"@andriyorehov/ts-graph","_rev":"11-76747f7ac7a11926fed3f107956e084c","name":"@andriyorehov/ts-graph","dist-tags":{"latest":"1.0.3"},"versions":{"0.0.1":{"name":"@andriyorehov/ts-graph","version":"0.0.1","keywords":[],"author":"","license":"ISC","_id":"@andriyorehov/ts-graph@0.0.1","maintainers":[{"name":"andriyorehov","email":"andriyorehov@gmail.com"}],"homepage":"https://github.com/andriyor/ts-tree#readme","bugs":{"url":"https://github.com/andriyor/ts-tree/issues"},"dist":{"shasum":"d98907582c191f9ca5807ce2924ecd6c8c0ecbc7","tarball":"https://registry.npmjs.org/@andriyorehov/ts-graph/-/ts-graph-0.0.1.tgz","fileCount":37,"integrity":"sha512-HObRYfCcqXEbTKBK/442p1SvtYz8YavgEFcQQ9sGFDFwxP2gtqEUXMUsjxsF7qPGQdDFwycypsTeg4t2AhYKdg==","signatures":[{"sig":"MEUCIEfBr+qN5R9LD5Zt4h+GZPidEN0dCcA813f+OYJRGPaNAiEAu2CB5bMjhUXMyBHNbYeMn0kJ0sWj+lUUCJ2GFmVezUE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35571},"main":"build/index.js","types":"./build/index.d.ts","gitHead":"46ef2e75b017789bd92f6855aa31761ebf4ebd08","scripts":{"test":"vitest run","bench":"tsx test/bench.ts > test/bench-result.json && prettier --write test/bench-result.json","build":"tsc -p tsconfig.build.json"},"_npmUser":{"name":"andriyorehov","email":"andriyorehov@gmail.com"},"repository":{"url":"git+https://github.com/andriyor/ts-tree.git","type":"git"},"_npmVersion":"10.2.4","description":"## CLI","directories":{},"_nodeVersion":"20.11.0","dependencies":{"find-up":"^7.0.0","ts-morph":"^21.0.1","type-flag":"^3.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"mitata":"^0.1.9","vitest":"^1.2.2","prettier":"^3.2.5","string-ts":"^2.0.0","typescript":"^5.3.3","@types/node":"^20.11.17","wild-wild-path":"^5.0.0","@tsconfig/strictest":"^2.0.3"},"_npmOperationalInternal":{"tmp":"tmp/ts-graph_0.0.1_1708384176191_0.021733469511677095","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@andriyorehov/ts-graph","version":"0.0.2","keywords":[],"author":"","license":"ISC","_id":"@andriyorehov/ts-graph@0.0.2","maintainers":[{"name":"andriyorehov","email":"andriyorehov@gmail.com"}],"homepage":"https://github.com/andriyor/ts-tree#readme","bugs":{"url":"https://github.com/andriyor/ts-tree/issues"},"dist":{"shasum":"cb1d866474db9c200c1953ec6adbd44082088b0a","tarball":"https://registry.npmjs.org/@andriyorehov/ts-graph/-/ts-graph-0.0.2.tgz","fileCount":37,"integrity":"sha512-7PGzXNBW+mog2g19N9ygT13Kd1kdFrdq6QS+ZV6lQAZJBBvVCXHV8QWXHT1tY7RhmpI5Ab+ZU7VrfC8evm7rpQ==","signatures":[{"sig":"MEYCIQCWDYMuNlAUYibBW6dXJvnOHVHU8Fkxkz63Jff0KA72gwIhAMVuiAvayGCU7xZQuNKY25MutU2M7/AoDDfnj1OTsmNI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35570},"main":"build/index.js","_from":"file:andriyorehov-ts-graph-0.0.2.tgz","types":"./build/index.d.ts","scripts":{"test":"vitest run","bench":"tsx test/bench.ts > test/bench-result.json && prettier --write test/bench-result.json","build":"tsc -p tsconfig.build.json"},"_npmUser":{"name":"andriyorehov","email":"andriyorehov@gmail.com"},"_resolved":"/private/var/folders/7b/98cjkwbx13q869rpgskxvwz80000gn/T/e2754c8957d19642cf73ebba68718f96/andriyorehov-ts-graph-0.0.2.tgz","_integrity":"sha512-7PGzXNBW+mog2g19N9ygT13Kd1kdFrdq6QS+ZV6lQAZJBBvVCXHV8QWXHT1tY7RhmpI5Ab+ZU7VrfC8evm7rpQ==","repository":{"url":"git+https://github.com/andriyor/ts-tree.git","type":"git"},"_npmVersion":"10.2.4","description":"## CLI","directories":{},"_nodeVersion":"20.11.0","dependencies":{"find-up":"^7.0.0","ts-morph":"^21.0.1","type-flag":"^3.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"mitata":"^0.1.9","vitest":"^1.2.2","prettier":"^3.2.5","string-ts":"^2.0.0","typescript":"^5.3.3","@types/node":"^20.11.17","wild-wild-path":"^5.0.0","@tsconfig/strictest":"^2.0.3"},"_npmOperationalInternal":{"tmp":"tmp/ts-graph_0.0.2_1708384882695_0.8763000923165045","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"@andriyorehov/ts-graph","version":"0.0.3","keywords":[],"author":"","license":"ISC","_id":"@andriyorehov/ts-graph@0.0.3","maintainers":[{"name":"andriyorehov","email":"andriyorehov@gmail.com"}],"homepage":"https://github.com/andriyor/ts-tree#readme","bugs":{"url":"https://github.com/andriyor/ts-tree/issues"},"dist":{"shasum":"a04009c9395f2f619265ab73a6de23a5ad963ab2","tarball":"https://registry.npmjs.org/@andriyorehov/ts-graph/-/ts-graph-0.0.3.tgz","fileCount":10,"integrity":"sha512-1Z0w+QPqGUrrb1b2fwr/FhVrf/d49wd6rxg5eJf/LGUd4LA+JC92EKToEcXga7tUw3voUi0WdTp4ns3R9e1dcw==","signatures":[{"sig":"MEYCIQD2OOrvTEuHk0dzwwiC6IKAhX2MeznaOMHl/D72i3VBjAIhANGfKBDpSv6Tfd0dhX9KfJ+yvXekzXjDnhNrxXXH4oHB","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11688},"main":"build/index.js","types":"./build/index.d.ts","gitHead":"edc16108b0e64be42d6f2004a3310aba17b8b13f","scripts":{"test":"vitest run","bench":"tsx test/bench.ts > test/bench-result.json && prettier --write test/bench-result.json","build":"tsc -p tsconfig.build.json"},"_npmUser":{"name":"andriyorehov","email":"andriyorehov@gmail.com"},"repository":{"url":"git+https://github.com/andriyor/ts-tree.git","type":"git"},"_npmVersion":"10.2.4","description":"## CLI","directories":{},"_nodeVersion":"20.11.0","dependencies":{"find-up":"^7.0.0","ts-morph":"^21.0.1","type-flag":"^3.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"mitata":"^0.1.9","vitest":"^1.2.2","prettier":"^3.2.5","string-ts":"^2.0.0","typescript":"^5.3.3","@types/node":"^20.11.17","wild-wild-path":"^5.0.0","@tsconfig/strictest":"^2.0.3"},"_npmOperationalInternal":{"tmp":"tmp/ts-graph_0.0.3_1708385439076_0.9543779137324844","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"@andriyorehov/ts-graph","version":"0.0.4","keywords":[],"author":"","license":"ISC","_id":"@andriyorehov/ts-graph@0.0.4","maintainers":[{"name":"andriyorehov","email":"andriyorehov@gmail.com"}],"homepage":"https://github.com/andriyor/ts-tree#readme","bugs":{"url":"https://github.com/andriyor/ts-tree/issues"},"dist":{"shasum":"04ce801cc1e558ce40ffb6366189771e81012c7b","tarball":"https://registry.npmjs.org/@andriyorehov/ts-graph/-/ts-graph-0.0.4.tgz","fileCount":10,"integrity":"sha512-oOXP5eavXchljPIW0SJ0ObkenKSFt+oSx520zaE6f/34gla1VgsQyyQVILA4pUQbEPTlagP3hV2bsd03JJhRjA==","signatures":[{"sig":"MEYCIQCIPncJr86sbGstWM+VQ411yUhw4M6bqgLUMwtYsS4eRAIhAIMsC5ue8OSUXe+S7XF7XWvfrJMZASvZedHc6F7P4iLK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11684},"main":"build/index.js","types":"./build/index.d.ts","gitHead":"29a61924bc429c2e6414ac92bd714ca9888ed222","scripts":{"test":"vitest run","bench":"tsx test/bench.ts > test/bench-result.json && prettier --write test/bench-result.json","build":"tsc -p tsconfig.build.json"},"_npmUser":{"name":"andriyorehov","email":"andriyorehov@gmail.com"},"repository":{"url":"git+https://github.com/andriyor/ts-tree.git","type":"git"},"_npmVersion":"10.2.4","description":"## CLI","directories":{},"_nodeVersion":"20.11.0","dependencies":{"find-up":"^7.0.0","ts-morph":"^21.0.1","type-flag":"^3.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"mitata":"^0.1.9","vitest":"^1.2.2","prettier":"^3.2.5","string-ts":"^2.0.0","typescript":"^5.3.3","@types/node":"^20.11.17","wild-wild-path":"^5.0.0","@tsconfig/strictest":"^2.0.3"},"_npmOperationalInternal":{"tmp":"tmp/ts-graph_0.0.4_1708430183030_0.624623860924503","host":"s3://npm-registry-packages"}},"0.0.5":{"name":"@andriyorehov/ts-graph","version":"0.0.5","keywords":[],"author":"","license":"ISC","_id":"@andriyorehov/ts-graph@0.0.5","maintainers":[{"name":"andriyorehov","email":"andriyorehov@gmail.com"}],"homepage":"https://github.com/andriyor/ts-tree#readme","bugs":{"url":"https://github.com/andriyor/ts-tree/issues"},"dist":{"shasum":"f77de3921e02c17fc828ed6e5135ce9f3ee439a0","tarball":"https://registry.npmjs.org/@andriyorehov/ts-graph/-/ts-graph-0.0.5.tgz","fileCount":10,"integrity":"sha512-Ud60V0bfvCy9pDVdm9LJs2yA8OXD3zwpkRYWeyN38xlFDrqUB2S2gH49S0EPQcxJlLGHKwuhQEdzQhEpbTTzOQ==","signatures":[{"sig":"MEUCIQDJt/OxrQfnSO2RTQ9CJJN5ivr+zwXHoLXLTwqiXJmmqgIgAwvW3kUZS/mc4QlqczfRhQ5V6V4Devrpp0bKdWtztbA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11782},"main":"build/index.js","types":"./build/index.d.ts","gitHead":"29a61924bc429c2e6414ac92bd714ca9888ed222","scripts":{"test":"vitest run","bench":"tsx test/bench.ts > test/bench-result.json && prettier --write test/bench-result.json","build":"tsc -p tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"andriyorehov","email":"andriyorehov@gmail.com"},"repository":{"url":"git+https://github.com/andriyor/ts-tree.git","type":"git"},"_npmVersion":"10.2.4","description":"## CLI","directories":{},"_nodeVersion":"20.11.0","dependencies":{"find-up":"^5.0.0","ts-morph":"^21.0.1","type-flag":"^3.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"mitata":"^0.1.9","vitest":"^1.2.2","prettier":"^3.2.5","string-ts":"^2.0.0","typescript":"^5.3.3","@types/node":"^20.11.17","wild-wild-path":"^5.0.0","@tsconfig/strictest":"^2.0.3"},"_npmOperationalInternal":{"tmp":"tmp/ts-graph_0.0.5_1708437887463_0.8110429010579747","host":"s3://npm-registry-packages"}},"0.0.6":{"name":"@andriyorehov/ts-graph","version":"0.0.6","keywords":[],"author":"","license":"ISC","_id":"@andriyorehov/ts-graph@0.0.6","maintainers":[{"name":"andriyorehov","email":"andriyorehov@gmail.com"}],"homepage":"https://github.com/andriyor/ts-tree#readme","bugs":{"url":"https://github.com/andriyor/ts-tree/issues"},"dist":{"shasum":"6adea6137ff7661f20956cd6c7d0fc7ab4908431","tarball":"https://registry.npmjs.org/@andriyorehov/ts-graph/-/ts-graph-0.0.6.tgz","fileCount":10,"integrity":"sha512-NzBNnLsswQhFklAZPP8zm3INpNdvtdJSpM/Xm1H0DIxDJRIk168++xaf4Ap0sVRsS404ghMLVnqK14biQCZ68Q==","signatures":[{"sig":"MEYCIQDnlaTvrh9cmzHoO6sy+wti8LumWoSdEaJqZ0PvhzZvaAIhAKLtw+gEddDLp6OslsVbnoSnwYcMsJ1fIjUE13jTnYRf","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12138},"main":"build/index.js","types":"./build/index.d.ts","gitHead":"ceb3c87cff614aafd5a6cc912928df23d8a97783","scripts":{"test":"vitest run","bench":"tsx test/bench.ts > test/bench-result.json && prettier --write test/bench-result.json","build":"tsc -p tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"andriyorehov","email":"andriyorehov@gmail.com"},"repository":{"url":"git+https://github.com/andriyor/ts-tree.git","type":"git"},"_npmVersion":"10.2.4","description":"## CLI","directories":{},"_nodeVersion":"20.11.0","dependencies":{"find-up":"^5.0.0","ts-morph":"^21.0.1","type-flag":"^3.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"mitata":"^0.1.9","vitest":"^1.2.2","prettier":"^3.2.5","string-ts":"^2.0.0","typescript":"^5.3.3","@types/node":"^20.11.17","wild-wild-path":"^5.0.0","@tsconfig/strictest":"^2.0.3"},"_npmOperationalInternal":{"tmp":"tmp/ts-graph_0.0.6_1708448371902_0.30978940017112677","host":"s3://npm-registry-packages"}},"0.0.7":{"name":"@andriyorehov/ts-graph","version":"0.0.7","keywords":[],"author":"","license":"ISC","_id":"@andriyorehov/ts-graph@0.0.7","maintainers":[{"name":"andriyorehov","email":"andriyorehov@gmail.com"}],"homepage":"https://github.com/andriyor/ts-tree#readme","bugs":{"url":"https://github.com/andriyor/ts-tree/issues"},"dist":{"shasum":"f95f783d76357adf91e7e85e72a341ed7d671de9","tarball":"https://registry.npmjs.org/@andriyorehov/ts-graph/-/ts-graph-0.0.7.tgz","fileCount":12,"integrity":"sha512-yRygOXxZ59Gi0lp9vd4Q6xoJ/k1F8XUNfMc5XKTsN8mUd5PIKcMxywe66JPkDE656WM2CNFS2Okd8yb+uuULSQ==","signatures":[{"sig":"MEQCIEHeV4ANZcMPVp/Zyuf4KtKthqi1Z1KyDV8kAVsUn9SqAiBXfKZRaZhz+5gGDPp39rfr88+9Gk5wJW0xDJHrAW5kiw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17723},"main":"build/index.js","types":"./build/index.d.ts","gitHead":"4bd99843b93b7dc419ed3dbfb2f3c146fb79a6ed","scripts":{"test":"vitest run","bench":"tsx test/bench.ts > test/bench-result.json && prettier --write test/bench-result.json","build":"rm -rf build;tsc -p tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"andriyorehov","email":"andriyorehov@gmail.com"},"repository":{"url":"git+https://github.com/andriyor/ts-tree.git","type":"git"},"_npmVersion":"10.2.4","description":"## Install","directories":{},"_nodeVersion":"20.11.0","dependencies":{"find-up":"^5.0.0","ts-morph":"^21.0.1","type-flag":"^3.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"mitata":"^0.1.11","vitest":"^1.3.1","prettier":"^3.2.5","string-ts":"^2.0.0","typescript":"^5.4.2","@types/node":"^20.11.25","wild-wild-path":"^5.0.0","@tsconfig/strictest":"^2.0.3"},"_npmOperationalInternal":{"tmp":"tmp/ts-graph_0.0.7_1710155471082_0.5659687271534826","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@andriyorehov/ts-graph","version":"1.0.0","keywords":[],"author":"","license":"ISC","_id":"@andriyorehov/ts-graph@1.0.0","maintainers":[{"name":"andriyorehov","email":"andriyorehov@gmail.com"}],"homepage":"https://github.com/andriyor/ts-tree#readme","bugs":{"url":"https://github.com/andriyor/ts-tree/issues"},"dist":{"shasum":"266fc962a317102c80d2ae5aff64273a79739cd6","tarball":"https://registry.npmjs.org/@andriyorehov/ts-graph/-/ts-graph-1.0.0.tgz","fileCount":12,"integrity":"sha512-pb0tNXIEMATuTT28uL9XeGPMxNek99+ZFZeN0s39bJYJt8F7qsqPvhlHJ9DDXjfPGS7FPYBFRAvRVhM5SR3kdw==","signatures":[{"sig":"MEUCIBBGKUXr398+jKhzIfnrl4HOSXlDy//nqUASxuKiTMjUAiEAu4Tb+oOLXZgD95puDJ+AjmVRDljotWzhwMGWvuchaLU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18599},"main":"build/index.js","types":"./build/index.d.ts","gitHead":"d2e3704dd6abdc24fb982cc62916b74c4bd441f3","scripts":{"test":"vitest run","bench":"tsx test/bench.ts > test/bench-result.json && prettier --write test/bench-result.json","build":"rm -rf build;tsc -p tsconfig.build.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"andriyorehov","email":"andriyorehov@gmail.com"},"repository":{"url":"git+https://github.com/andriyor/ts-tree.git","type":"git"},"_npmVersion":"10.2.4","description":"## Install","directories":{},"_nodeVersion":"20.11.0","dependencies":{"find-up":"^5.0.0","ts-morph":"^21.0.1","type-flag":"^3.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"mitata":"^0.1.11","vitest":"^1.3.1","prettier":"^3.2.5","string-ts":"^2.0.0","typescript":"^5.4.2","@types/node":"^20.11.25","wild-wild-path":"^5.0.0","@tsconfig/strictest":"^2.0.3"},"_npmOperationalInternal":{"tmp":"tmp/ts-graph_1.0.0_1710963114808_0.24002407807508463","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@andriyorehov/ts-graph","version":"1.0.1","keywords":[],"author":"","license":"ISC","_id":"@andriyorehov/ts-graph@1.0.1","maintainers":[{"name":"andriyorehov","email":"andriyorehov@gmail.com"}],"homepage":"https://github.com/andriyor/ts-tree#readme","bugs":{"url":"https://github.com/andriyor/ts-tree/issues"},"dist":{"shasum":"2df6ae4c3ec596a5fde3fa9cc64c914fd46a963f","tarball":"https://registry.npmjs.org/@andriyorehov/ts-graph/-/ts-graph-1.0.1.tgz","fileCount":10,"integrity":"sha512-jqHWElTIbLnnjdGMGpLW0vLgQp08lDYV/JmSvNX7COQnRq+4Mg48PHqBN/tZ0urnMMfGHXzKWVhE7c1m3fkQYA==","signatures":[{"sig":"MEYCIQCZcHvbaRLbf/V/NZBrZrhYRWkKgnjSWfihLSw0yv5CLwIhALW02cAlhVz/uIUlPPfu6/s1P80cLc1Yi4UskPzaj4Z8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19039},"main":"build/index.js","types":"./build/index.d.ts","gitHead":"2341f1d570e49ed417372c9a2a80960c0ced775a","scripts":{"test":"vitest run","bench":"tsx test/bench.ts > test/bench-result.json && prettier --write test/bench-result.json","build":"rm -rf build;tsc -p tsconfig.build.json","prepublishOnly":"npm run test && npm run build"},"_npmUser":{"name":"andriyorehov","email":"andriyorehov@gmail.com"},"repository":{"url":"git+https://github.com/andriyor/ts-tree.git","type":"git"},"_npmVersion":"10.2.4","description":"Creates a module tree based on a given entrypoint.","directories":{},"_nodeVersion":"20.11.1","dependencies":{"find-up":"^5.0.0","ts-morph":"^21.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"mitata":"^0.1.11","vitest":"^1.4.0","prettier":"^3.2.5","camelcase":"^8.0.0","string-ts":"^2.1.0","typescript":"^5.4.3","@types/node":"^20.11.30","wild-wild-path":"^5.0.0","@tsconfig/strictest":"^2.0.4","@canva/dependency-tree":"^3.3.3","@thepassle/module-graph":"^0.7.5"},"_npmOperationalInternal":{"tmp":"tmp/ts-graph_1.0.1_1711316860303_0.29212927424268575","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@andriyorehov/ts-graph","version":"1.0.2","keywords":[],"author":"","license":"ISC","_id":"@andriyorehov/ts-graph@1.0.2","maintainers":[{"name":"andriyorehov","email":"andriyorehov@gmail.com"}],"homepage":"https://github.com/andriyor/ts-tree#readme","bugs":{"url":"https://github.com/andriyor/ts-tree/issues"},"dist":{"shasum":"f0e2c980476de6761ab5788300b2e02220581da3","tarball":"https://registry.npmjs.org/@andriyorehov/ts-graph/-/ts-graph-1.0.2.tgz","fileCount":10,"integrity":"sha512-kIJtNd0asmUsuF6r6KAUetI3Zg60sK4ifKUhN3ZL1P5BPJgSCxXnWGz37ozrHjjMmObpIY+gU0PscnTxAD6EuQ==","signatures":[{"sig":"MEUCIEdCbcv1DRLpWyPw5BlmMt0gfPnLRb6wv9WumbjRsTCKAiEAgjskVh7nLxEeu9+8JeMuYe2N6c+TC/pORM86xgmgTLg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19951},"main":"build/index.js","types":"./build/index.d.ts","gitHead":"add9bbcee5ea3ba0807888e45b870c5afdfebba0","scripts":{"lint":"eslint src","test":"vitest run","bench":"tsx test/bench.ts > test/bench-result.json && prettier --write test/bench-result.json","build":"rm -rf build;tsc -p tsconfig.build.json","prepublishOnly":"npm run test && npm run build"},"_npmUser":{"name":"andriyorehov","email":"andriyorehov@gmail.com"},"repository":{"url":"git+https://github.com/andriyor/ts-tree.git","type":"git"},"_npmVersion":"10.2.4","description":"Creates a module tree based on a given entrypoint.","directories":{},"_nodeVersion":"20.11.1","dependencies":{"find-up":"^5.0.0","ts-morph":"^22.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","mitata":"^0.1.11","vitest":"^1.4.0","prettier":"^3.2.5","camelcase":"^8.0.0","string-ts":"^2.1.0","typescript":"^5.4.4","@types/node":"^20.12.5","wild-wild-path":"^5.0.0","@tsconfig/strictest":"^2.0.5","@canva/dependency-tree":"^3.3.3","@thepassle/module-graph":"^0.7.5","@typescript-eslint/parser":"^7.5.0","@typescript-eslint/eslint-plugin":"^7.5.0"},"_npmOperationalInternal":{"tmp":"tmp/ts-graph_1.0.2_1712906028044_0.49582383556209497","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@andriyorehov/ts-graph","version":"1.0.3","description":"Creates a module tree based on a given entrypoint.","main":"build/index.js","scripts":{"test":"vitest run","build":"rm -rf build;tsc -p tsconfig.build.json","bench":"tsx test/bench.ts > test/bench-result.json && prettier --write test/bench-result.json","prepublishOnly":"npm run test && npm run build","lint":"eslint src"},"keywords":[],"author":"","license":"ISC","dependencies":{"find-up":"^5.0.0","ts-morph":"23.0.0"},"devDependencies":{"@canva/dependency-tree":"^3.3.3","@thepassle/module-graph":"^0.7.5","@tsconfig/strictest":"^2.0.5","@types/node":"^20.12.7","@typescript-eslint/eslint-plugin":"^7.6.0","@typescript-eslint/parser":"^7.6.0","camelcase":"^8.0.0","eslint":"^8.57.0","mitata":"^0.1.11","prettier":"^3.3.3","string-ts":"^2.1.0","typescript":"^5.6.2","vitest":"^2.1.1","wild-wild-path":"^5.0.0"},"publishConfig":{"access":"public"},"homepage":"https://github.com/andriyor/ts-tree#readme","repository":{"type":"git","url":"git+https://github.com/andriyor/ts-tree.git"},"packageManager":"pnpm@10.12.3+sha512.467df2c586056165580ad6dfb54ceaad94c5a30f80893ebdec5a44c5aa73c205ae4a5bb9d5ed6bb84ea7c249ece786642bbb49d06a307df218d03da41c317417","_id":"@andriyorehov/ts-graph@1.0.3","gitHead":"102f41671b90a136293df303839814a0e25f6c70","types":"./build/index.d.ts","bugs":{"url":"https://github.com/andriyor/ts-tree/issues"},"_nodeVersion":"22.15.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-mMMbTekr5WZP6oRK9s45TyCHAvFfJIQokSpsLlc9YKh7M+ZqHw4oaxBOp8npLuumNPzlHxtwlz6HO2PfwNehWw==","shasum":"c1f98102d3481b9b2705669c336e843a1e388b48","tarball":"https://registry.npmjs.org/@andriyorehov/ts-graph/-/ts-graph-1.0.3.tgz","fileCount":10,"unpackedSize":21011,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDnJ6NM63ahhFk+yddb+HxAfLwANWeKViT293VjlGxTdQIgES0v1DMACabQG4Xte/B+AOY7eA0XFkJJenusJiNrMhY="}]},"_npmUser":{"name":"andriyorehov","email":"andriyorehov@gmail.com","actor":{"name":"andriyorehov","email":"andriyorehov@gmail.com","type":"user"}},"directories":{},"maintainers":[{"name":"andriyorehov","email":"andriyorehov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ts-graph_1.0.3_1750950810983_0.3809629095489162"},"_hasShrinkwrap":false}},"time":{"created":"2024-02-19T23:09:36.071Z","modified":"2025-06-26T15:13:31.403Z","0.0.1":"2024-02-19T23:09:36.338Z","0.0.2":"2024-02-19T23:21:22.858Z","0.0.3":"2024-02-19T23:30:39.211Z","0.0.4":"2024-02-20T11:56:23.202Z","0.0.5":"2024-02-20T14:04:47.641Z","0.0.6":"2024-02-20T16:59:32.087Z","0.0.7":"2024-03-11T11:11:11.231Z","1.0.0":"2024-03-20T19:31:54.960Z","1.0.1":"2024-03-24T21:47:40.480Z","1.0.2":"2024-04-12T07:13:48.227Z","1.0.3":"2025-06-26T15:13:31.187Z"},"bugs":{"url":"https://github.com/andriyor/ts-tree/issues"},"license":"ISC","homepage":"https://github.com/andriyor/ts-tree#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/andriyor/ts-tree.git"},"description":"Creates a module tree based on a given entrypoint.","maintainers":[{"name":"andriyorehov","email":"andriyorehov@gmail.com"}],"readme":"# ts-tree\n\nCreates a module tree based on a given entrypoint.\n\nBuilds on top of [ts-morph](https://github.com/dsherret/ts-morph)\n\n## Install\n\n```shell\nnpm i @andriyorehov/ts-graph\n```\n\n## Usage\n\nPer file\n\n```ts\nimport { getTreeByFile } from '@andriyorehov/ts-graph';\n\nconst tree = getTreeByFile('filePath.ts');\nconsole.dir(tree, { depth: null });\n```\n\nPer folder\n```ts\nimport { getTreeByFolder } from '@andriyorehov/ts-graph';\n\nconst tree = getTreeByFolder('filePath.ts');\nconsole.dir(tree, { depth: null });\n```\n\n\n## Comparison table\n\n| Feature/Name                   | ts-tree                                         | [module-graph](https://github.com/thepassle/module-graph)       | [node-dependency-tree](https://github.com/dependents/node-dependency-tree) |\n| ------------------------------ | ----------------------------------------------- | --------------------------------------------------------------- | -------------------------------------------------------------------------- |\n| ts support                     | ✅ TypeScript (via typescript)                  | ✅ es-module-lexer                                              | ✅                                                                         |\n| ts alias support               | ✅                                              | ✅                                                              | ❌ [issue](https://github.com/dependents/node-dependency-tree/issues/135)  |\n| jsx support                    | ✅                                              | ❌ [issue](https://github.com/thepassle/module-graph/issues/11) | ✅                                                                         |\n| not ts project support         | ❌                                              | ✅                                                              | ✅                                                                         |\n| circular dependencies handling | ❌ use [dpdm](https://github.com/acrazing/dpdm) | ✅                                                              |                                                                            |\n\n## TODO\n\n- [x] tree by folder dependencies\n- [x] tree by file dependencies\n- [x] ignore third-party dependencies\n- [x] alias handling\n- [x] ignore types/interface/enum/`as const` dependencies from file tree\n- [x] ignore types/interface/enum/`as const` dependencies from folder tree\n- [x] ignore object which used only in types for folder tree\n- [x] handle `ExportDeclaration` with moduleSpecifier\n- [x] exclude barrel files from file tree\n- [x] exclude barrel files from folder tree\n- [x] guarantee id uniqueness of file tree\n- [x] guarantee id uniqueness of folder tree\n- [x] pass meta info about files to file tree\n- [ ] pass meta info about files to folder tree\n- [x] arg parser for file tree\n- [x] include used export by parent\n- [x] check named imports from same file on different lines for file tree\n- [ ] check named imports from same file on different lines for folder tree\n- [x] handle default import for file tree\n- [x] handle default import for folder tree\n- [x] build package\n- [x] use tsconfig related to passed file path to allow running not from project root directory\n- [x] publish to npm\n- [x] handle files outside of folder tree\n- [x] return flat list to simplify processing\n- [ ] create separate method with flat structure and use getReferencingSourceFiles, include types, barrel files, styles\n- [ ] check barrel files handling for default import\n- [ ] circular dependencies handling?\n- [ ] how to get file deps with skipAddingFilesFromTsConfig: false, skipFileDependencyResolution: false,\n- [x] depth number\n- [x] flat tree for folder\n- [ ] parent in flat tree\n\n## Tech Debt\n\n- [x] try https://github.com/thepassle/module-graph\n- [x] reuse code between file and folder tree builder\n- [x] cache file tree builder? (don't need since id need to be unique for each node)\n- [x] improve performance\n- [x] use getReferencingSourceFiles instead own resolution implementation? in such case I will not able to ignore types/interface/enum/`as const` and barrel files\n- [ ] fix eslint\n- [ ] add test for folder tree id uniqueness\n- [ ] upgrade `find-up` to latest version with ESM\n- [ ] try [find-up-simple](https://github.com/sindresorhus/find-up-simple) (ESM)\n\n## Development\n\n### Run tests\n\n```shell\nnpm run test\n```\n\n### Prepare mocks\n\n```shell\ntsx test/prepare-mocks.ts\n```\n\n### Benchmark\n\n```shell\nnpmr run bench\n```\n","readmeFilename":"README.md"}