{"_id":"@davidwells/extract-deps","_rev":"20-c02fc6e558d1e9d5d4b519f7d4fbedae","name":"@davidwells/extract-deps","dist-tags":{"latest":"0.1.12"},"versions":{"0.0.1":{"name":"@davidwells/extract-deps","version":"0.0.1","author":{"name":"David Wells"},"license":"MIT","_id":"@davidwells/extract-deps@0.0.1","maintainers":[{"name":"davidwells","email":"davidgregorywells@gmail.com"}],"dist":{"shasum":"5b7e0333552f286c5c40d219ab3aaadb52f05293","tarball":"https://registry.npmjs.org/@davidwells/extract-deps/-/extract-deps-0.0.1.tgz","fileCount":59,"integrity":"sha512-lgDeCvMZUSH5VISR92cYRJT0+FfPjGmIWkUp9pTJ28mFu8nMG1LbC2Zh6IFzx5OLcULyyYB83T9gdFKBHxHvmg==","signatures":[{"sig":"MEQCIFtv9LX1Wp9rbnGEuoa7iuhQFEWAF5IbhNOCW8QAVnKpAiBs1xmQTZsdMaqCag5Mf6Ah3Q6/5CK+SWEfz5t9GSMMpQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":105966},"main":"src/index.js","types":"types/index.d.ts","gitHead":"698ff82c75a66306b4eaf0658cc0df499cd6776c","scripts":{"test":"npm run test:tests","build":"npm run types","types":"tsc --emitDeclarationOnly --declaration --outDir types","watch":"watchlist index.js -- npm test","test:tests":"uvu tests \".*\\.test.js$\"","release:major":"npm version major && npm publish","release:minor":"npm version minor && npm publish","release:patch":"npm version patch && npm publish","test:examples":"uvu examples \".*\\.test.js$\""},"_npmUser":{"name":"davidwells","email":"davidgregorywells@gmail.com"},"_npmVersion":"10.9.0","description":"Get imports and requires from a codebase without AST","directories":{},"_nodeVersion":"22.11.0","dependencies":{"inspect-parameters-declaration":"^0.1.0"},"_hasShrinkwrap":false,"devDependencies":{"uvu":"^0.5.6","typescript":"^5.7.3"},"_npmOperationalInternal":{"tmp":"tmp/extract-deps_0.0.1_1762284519045_0.5225607062803168","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@davidwells/extract-deps","version":"0.0.2","author":{"name":"David Wells"},"license":"MIT","_id":"@davidwells/extract-deps@0.0.2","maintainers":[{"name":"davidwells","email":"davidgregorywells@gmail.com"}],"dist":{"shasum":"5fe7193d617304c773f332c581989806fa12314d","tarball":"https://registry.npmjs.org/@davidwells/extract-deps/-/extract-deps-0.0.2.tgz","fileCount":62,"integrity":"sha512-Ct5Ygtv+ntxfpSKmxYLV85HFgYtcdf2z+HCovJ+g6oBs5OV28h8A/srbPn9SUoUdUPi1uvKJ28HLecZbMdj6uQ==","signatures":[{"sig":"MEUCICUtKqUXcqBmK1xsyeUw9levUsi7LVLDJmC1RHqZNTOfAiEAtc3eDJceexduRhDr4FVzm7LVo6q5vuJR6uouRv+t7q4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":139712},"main":"src/index.js","types":"types/index.d.ts","gitHead":"8a057c91e3d017e49725b8fdf72cc4df19dfab44","scripts":{"test":"npm run test:tests","build":"npm run types","types":"tsc --emitDeclarationOnly --declaration --outDir types","watch":"watchlist index.js -- npm test","test:tests":"uvu tests \".*\\.test.js$\"","release:major":"npm version major && npm publish","release:minor":"npm version minor && npm publish","release:patch":"npm version patch && npm publish","test:examples":"uvu examples \".*\\.test.js$\""},"_npmUser":{"name":"davidwells","email":"davidgregorywells@gmail.com"},"_npmVersion":"10.9.0","description":"Get imports and requires from a codebase without AST","directories":{},"_nodeVersion":"22.11.0","dependencies":{"inspect-parameters-declaration":"^0.1.0"},"_hasShrinkwrap":false,"devDependencies":{"uvu":"^0.5.6","typescript":"^5.7.3"},"_npmOperationalInternal":{"tmp":"tmp/extract-deps_0.0.2_1762302597472_0.7226409451220506","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@davidwells/extract-deps","version":"0.0.3","author":{"name":"David Wells"},"license":"MIT","_id":"@davidwells/extract-deps@0.0.3","maintainers":[{"name":"davidwells","email":"davidgregorywells@gmail.com"}],"dist":{"shasum":"c4fad7be277ce826a291de02c59969afcce184a9","tarball":"https://registry.npmjs.org/@davidwells/extract-deps/-/extract-deps-0.0.3.tgz","fileCount":62,"integrity":"sha512-Q309vCE3MbQM0GKKXx50Q6jywkq3Uk+9W5548/VNy2RAjqZT9V6pT7iW/tJHjxbHbNQm0K6G0Kjm3K5MN7pjbA==","signatures":[{"sig":"MEYCIQCdnc8dxqYlzcHp5Wk/Dq8q6WXNQSeg0O2u10sf2P5VkwIhAMph2YtImawhF3zhb9YheV1kyQAktSBB60CTQ/ujXAlw","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":139865},"main":"src/index.js","types":"types/index.d.ts","gitHead":"9899c708542ef4b761d71f8b6f40a8d34e28434d","scripts":{"test":"npm run test:tests","build":"npm run types","types":"tsc --emitDeclarationOnly --declaration --outDir types","watch":"watchlist index.js -- npm test","test:tests":"uvu tests \".*\\.test.js$\"","release:major":"npm version major && npm publish","release:minor":"npm version minor && npm publish","release:patch":"npm version patch && npm publish","test:examples":"uvu examples \".*\\.test.js$\""},"_npmUser":{"name":"davidwells","email":"davidgregorywells@gmail.com"},"_npmVersion":"10.9.0","description":"Get imports and requires from a codebase without AST","directories":{},"_nodeVersion":"22.11.0","dependencies":{"inspect-parameters-declaration":"^0.1.0"},"_hasShrinkwrap":false,"devDependencies":{"uvu":"^0.5.6","typescript":"^5.7.3"},"_npmOperationalInternal":{"tmp":"tmp/extract-deps_0.0.3_1762302916767_0.7122300930458982","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@davidwells/extract-deps","version":"0.0.4","author":{"name":"David Wells"},"license":"MIT","_id":"@davidwells/extract-deps@0.0.4","maintainers":[{"name":"davidwells","email":"davidgregorywells@gmail.com"}],"dist":{"shasum":"13f1d68f44f4e32800691a85af973576818cf7c3","tarball":"https://registry.npmjs.org/@davidwells/extract-deps/-/extract-deps-0.0.4.tgz","fileCount":62,"integrity":"sha512-nWtgx92v2t4VQsLW9Ok25kPoskBHSP5Pn8kVBEjJKyAroBj1Xr6ivZY9yopp0FHJpRFxpzjWE5vtUQRDPC+gOw==","signatures":[{"sig":"MEUCIFaZhFRQq48vK6j4stpJGWV0Yj60tYRnmX/dbMbIzUZlAiEAs+2e1Mlaoc+M1tJnBcL2TBozzmr99Xmiy4ttxCQk0uU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":146281},"main":"src/index.js","types":"types/index.d.ts","gitHead":"d4a7aaa03d8f2cf64bc0de26e5b32fec44199317","scripts":{"test":"npm run test:tests","build":"npm run types","types":"tsc --emitDeclarationOnly --declaration --outDir types","watch":"watchlist index.js -- npm test","test:tests":"uvu tests \".*\\.test.js$\"","release:major":"npm version major && npm publish","release:minor":"npm version minor && npm publish","release:patch":"npm version patch && npm publish","test:examples":"uvu examples \".*\\.test.js$\""},"_npmUser":{"name":"davidwells","email":"davidgregorywells@gmail.com"},"_npmVersion":"10.9.0","description":"Get imports and requires from a codebase without AST","directories":{},"_nodeVersion":"22.11.0","dependencies":{"inspect-parameters-declaration":"^0.1.0"},"_hasShrinkwrap":false,"devDependencies":{"uvu":"^0.5.6","typescript":"^5.7.3"},"_npmOperationalInternal":{"tmp":"tmp/extract-deps_0.0.4_1762309867955_0.347161777038272","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@davidwells/extract-deps","version":"0.0.5","author":{"name":"David Wells"},"license":"MIT","_id":"@davidwells/extract-deps@0.0.5","maintainers":[{"name":"davidwells","email":"davidgregorywells@gmail.com"}],"dist":{"shasum":"8dd9835c39dad30c66b840e54170c1955b20b9bc","tarball":"https://registry.npmjs.org/@davidwells/extract-deps/-/extract-deps-0.0.5.tgz","fileCount":88,"integrity":"sha512-ZJ/Rx7WF2tJ5IAjcHDWft3zA7NEL5LvtezUjSP+Mn7hRqIbvyEswWxKeVKzFnAgQkAK+3X/mTQXnESUITzA6lQ==","signatures":[{"sig":"MEUCIAxnPGkKDFTWg2kbrWCLAExHgSs0u3BhKnptwL27zo+KAiEAhN+WFCEnifT6xEAU4ave8Off0h69qHErwNWoyLvHSew=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":180159},"main":"src/index.js","types":"types/index.d.ts","exports":{".":"./src/index.js","./dep-graph":"./src/dep-graph.js"},"gitHead":"f956d009b411e0f454e451f778fb6e3477c7c08c","scripts":{"test":"npm run test:tests","build":"npm run types","types":"tsc --emitDeclarationOnly --declaration --outDir types","watch":"watchlist index.js -- npm test","test:tests":"uvu tests \".*\\.test.js$\"","release:major":"npm version major && npm publish","release:minor":"npm version minor && npm publish","release:patch":"npm version patch && npm publish","test:examples":"uvu examples \".*\\.test.js$\""},"_npmUser":{"name":"davidwells","email":"davidgregorywells@gmail.com"},"_npmVersion":"10.9.0","description":"Get imports and requires from a codebase without AST","directories":{},"_nodeVersion":"22.11.0","dependencies":{"inspect-parameters-declaration":"^0.1.0"},"_hasShrinkwrap":false,"devDependencies":{"uvu":"^0.5.6","typescript":"^5.7.3"},"_npmOperationalInternal":{"tmp":"tmp/extract-deps_0.0.5_1762493805849_0.3775655778976088","host":"s3://npm-registry-packages-npm-production"}},"0.0.6":{"name":"@davidwells/extract-deps","version":"0.0.6","author":{"name":"David Wells"},"license":"MIT","_id":"@davidwells/extract-deps@0.0.6","maintainers":[{"name":"davidwells","email":"davidgregorywells@gmail.com"}],"dist":{"shasum":"2f181c82e022b83cc31b091e54b6a0ac9e9e094b","tarball":"https://registry.npmjs.org/@davidwells/extract-deps/-/extract-deps-0.0.6.tgz","fileCount":110,"integrity":"sha512-LHW+RORcaFhWVP9gTw6MDefGAkaQ0MbcG4Z1GaGmIWT5X5BAXxxHtI1qJaozYN7MrlxNlpaXtCV0cftynI1EAw==","signatures":[{"sig":"MEUCIQDqc2bmAm3QQ3vFqcCLU/7RF2nQdNvrNCbp42BDHKNNAgIgfq09WxQsJBGpeJz189tI3gQBa2CGgKO7bYScrXNKdZk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":230201},"main":"src/index.js","types":"types/index.d.ts","exports":{".":"./src/index.js","./dep-graph":"./src/dep-graph.js"},"gitHead":"d3f302943ceb6ad6076b26dc2f474cd02f7ba019","scripts":{"test":"npm run test:tests","build":"npm run types","types":"tsc --emitDeclarationOnly --declaration --outDir types","watch":"watchlist index.js -- npm test","test:tests":"uvu tests \".*\\.test.js$\"","release:major":"npm version major && npm publish","release:minor":"npm version minor && npm publish","release:patch":"npm version patch && npm publish","test:examples":"uvu examples \".*\\.test.js$\""},"_npmUser":{"name":"davidwells","email":"davidgregorywells@gmail.com"},"_npmVersion":"10.9.0","description":"Get imports and requires from a codebase without AST","directories":{},"_nodeVersion":"22.11.0","dependencies":{"@dual-bundle/import-meta-resolve":"^4.2.1"},"_hasShrinkwrap":false,"devDependencies":{"uvu":"^0.5.6","typescript":"^5.7.3"},"_npmOperationalInternal":{"tmp":"tmp/extract-deps_0.0.6_1764699036528_0.07183329349996437","host":"s3://npm-registry-packages-npm-production"}},"0.0.7":{"name":"@davidwells/extract-deps","version":"0.0.7","author":{"name":"David Wells"},"license":"MIT","_id":"@davidwells/extract-deps@0.0.7","maintainers":[{"name":"davidwells","email":"davidgregorywells@gmail.com"}],"dist":{"shasum":"34d941f8626dd1b0ba86840cabc25f697ab7e63c","tarball":"https://registry.npmjs.org/@davidwells/extract-deps/-/extract-deps-0.0.7.tgz","fileCount":112,"integrity":"sha512-5I8JTeeOxxBB7QI/QBYezYZOKIiwTAkjyPBmIln6qNHk+ic67taWZCI2EKKnfN9Kx++21JSxpcngzy/w+20pTw==","signatures":[{"sig":"MEUCIQDoMN3iUpNYgSrgr1JU7yLvNtbhEhar6yZxoP46OyfB4wIgXf6m8AWZGeZQHe3JyOtbFcyxL0QQpNsglBq+8XDK7+U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":231718},"main":"src/index.js","types":"types/index.d.ts","exports":{".":"./src/index.js","./dep-graph":"./src/dep-graph.js"},"gitHead":"312a16d4876dbad606341db250812655edd20589","scripts":{"test":"npm run test:tests","build":"npm run types","types":"tsc --emitDeclarationOnly --declaration --outDir types","watch":"watchlist index.js -- npm test","test:tests":"uvu tests \".*\\.test.js$\"","release:major":"npm version major && npm publish","release:minor":"npm version minor && npm publish","release:patch":"npm version patch && npm publish","test:examples":"uvu examples \".*\\.test.js$\""},"_npmUser":{"name":"davidwells","email":"davidgregorywells@gmail.com"},"_npmVersion":"10.9.0","description":"Get imports and requires from a codebase without AST","directories":{},"_nodeVersion":"22.11.0","dependencies":{"@dual-bundle/import-meta-resolve":"^4.2.1"},"_hasShrinkwrap":false,"devDependencies":{"uvu":"^0.5.6","typescript":"^5.7.3"},"_npmOperationalInternal":{"tmp":"tmp/extract-deps_0.0.7_1764717719255_0.44824969568566986","host":"s3://npm-registry-packages-npm-production"}},"0.0.8":{"name":"@davidwells/extract-deps","version":"0.0.8","author":{"name":"David Wells"},"license":"MIT","_id":"@davidwells/extract-deps@0.0.8","maintainers":[{"name":"davidwells","email":"davidgregorywells@gmail.com"}],"dist":{"shasum":"81e57a273970238744e2dfc71372268090565907","tarball":"https://registry.npmjs.org/@davidwells/extract-deps/-/extract-deps-0.0.8.tgz","fileCount":112,"integrity":"sha512-VCGIVUqSvbETOrzzH+YGwfMvJNVyY/bmi4H87xzXJ+iRq/Lmf2Gsmr7bh1soQfw75CYjks6/7zcvj3FI00Yvcg==","signatures":[{"sig":"MEUCIQC6N3HstfqpoZp93gRdkrCcUESvyEeaKUFTNucfBIe4hAIgSbPp8u1y8MiZWJpVGPmXD5SphJkuYmHL0m0D0/Co1Sg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":232497},"main":"src/index.js","types":"types/index.d.ts","exports":{".":"./src/index.js","./dep-graph":"./src/dep-graph.js"},"gitHead":"648500e394945ab179e91753d195f7f3e36643de","scripts":{"test":"npm run test:tests","build":"npm run types","types":"tsc --emitDeclarationOnly --declaration --outDir types","watch":"watchlist index.js -- npm test","test:tests":"uvu tests \".*\\.test.js$\"","release:major":"npm version major && npm publish","release:minor":"npm version minor && npm publish","release:patch":"npm version patch && npm publish","test:examples":"uvu examples \".*\\.test.js$\""},"_npmUser":{"name":"davidwells","email":"davidgregorywells@gmail.com"},"_npmVersion":"10.9.0","description":"Get imports and requires from a codebase without AST","directories":{},"_nodeVersion":"22.11.0","dependencies":{"@dual-bundle/import-meta-resolve":"^4.2.1"},"_hasShrinkwrap":false,"devDependencies":{"uvu":"^0.5.6","typescript":"^5.7.3"},"_npmOperationalInternal":{"tmp":"tmp/extract-deps_0.0.8_1764725612486_0.19199318474560978","host":"s3://npm-registry-packages-npm-production"}},"0.0.9":{"name":"@davidwells/extract-deps","version":"0.0.9","author":{"name":"David Wells"},"license":"MIT","_id":"@davidwells/extract-deps@0.0.9","maintainers":[{"name":"davidwells","email":"davidgregorywells@gmail.com"}],"dist":{"shasum":"34ca613623a0609f11541e9453e2b43aaf5befe8","tarball":"https://registry.npmjs.org/@davidwells/extract-deps/-/extract-deps-0.0.9.tgz","fileCount":116,"integrity":"sha512-8ujLrdpcBxsEhbp2ZtTpbkjRE9avm4KzG/qzg5YvDIRWQSUldoX+dED8XQ2cvzceu8wt6rJHEvu1rXJywNNarA==","signatures":[{"sig":"MEQCIGT4eL47Sy7dmLF8AktcSPHKDcqmnJwOaTr8Gs8SdB0KAiBBzg7I1Pg7gceuygWf/Xh9706xjI83ZdyZn3NLMFZvUQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":238496},"main":"src/index.js","types":"types/index.d.ts","exports":{".":"./src/index.js","./dep-graph":"./src/dep-graph.js"},"gitHead":"b3626f38435355a9a86a45b9a387bdad7de148c2","scripts":{"test":"npm run test:tests","build":"npm run types","types":"tsc --emitDeclarationOnly --declaration --outDir types","watch":"watchlist index.js -- npm test","test:tests":"uvu tests \".*\\.test.js$\"","release:major":"npm version major && npm publish","release:minor":"npm version minor && npm publish","release:patch":"npm version patch && npm publish","test:examples":"uvu examples \".*\\.test.js$\""},"_npmUser":{"name":"davidwells","email":"davidgregorywells@gmail.com"},"_npmVersion":"10.9.0","description":"Get imports and requires from a codebase without AST","directories":{},"_nodeVersion":"22.11.0","dependencies":{"@dual-bundle/import-meta-resolve":"^4.2.1"},"_hasShrinkwrap":false,"devDependencies":{"uvu":"^0.5.6","typescript":"^5.7.3"},"_npmOperationalInternal":{"tmp":"tmp/extract-deps_0.0.9_1764726598676_0.6358616856109967","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@davidwells/extract-deps","version":"0.1.0","author":{"name":"David Wells"},"license":"MIT","_id":"@davidwells/extract-deps@0.1.0","maintainers":[{"name":"davidwells","email":"davidgregorywells@gmail.com"}],"dist":{"shasum":"857d5b95267851b0f452f51775aee331fc212124","tarball":"https://registry.npmjs.org/@davidwells/extract-deps/-/extract-deps-0.1.0.tgz","fileCount":116,"integrity":"sha512-Mj02Lf5hpdqeRnZE4n7gIlrw94TWXUOvd+aVxhG4Lz776RtZhFK4xYI6Afhz/tAqqznK8UEAX2ZC9UelCNR9pQ==","signatures":[{"sig":"MEUCIBHEf2JAlZoyISzpqLuP7iT2XHoL8FfopJgweXWxlpBqAiEA1m/efPwdDGWZlxX7puToUWbDkJUjIaU27BC7dA52Xm4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":238496},"main":"src/index.js","types":"types/index.d.ts","exports":{".":"./src/index.js","./dep-graph":"./src/dep-graph.js"},"gitHead":"b3626f38435355a9a86a45b9a387bdad7de148c2","scripts":{"test":"npm run test:tests","build":"npm run types","types":"tsc --emitDeclarationOnly --declaration --outDir types","watch":"watchlist index.js -- npm test","test:tests":"uvu tests \".*\\.test.js$\"","release:major":"npm version major && npm publish","release:minor":"npm version minor && npm publish","release:patch":"npm version patch && npm publish","test:examples":"uvu examples \".*\\.test.js$\""},"_npmUser":{"name":"davidwells","email":"davidgregorywells@gmail.com"},"_npmVersion":"10.9.0","description":"Get imports and requires from a codebase without AST","directories":{},"_nodeVersion":"22.11.0","dependencies":{"@dual-bundle/import-meta-resolve":"^4.2.1"},"_hasShrinkwrap":false,"devDependencies":{"uvu":"^0.5.6","typescript":"^5.7.3"},"_npmOperationalInternal":{"tmp":"tmp/extract-deps_0.1.0_1764726658924_0.012759354019399094","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@davidwells/extract-deps","version":"0.1.1","author":{"name":"David Wells"},"license":"MIT","_id":"@davidwells/extract-deps@0.1.1","maintainers":[{"name":"davidwells","email":"davidgregorywells@gmail.com"}],"dist":{"shasum":"7dc97fa922e90be55ff5f876549c8ff08b7de5b2","tarball":"https://registry.npmjs.org/@davidwells/extract-deps/-/extract-deps-0.1.1.tgz","fileCount":116,"integrity":"sha512-LJXBpPuybVZaNkzwAgG/S5A9F8w0rdzAyfEI6jslKRmXF9skVkikyQcV7ZFKmB/8whji70uo95N65chwkn6bKA==","signatures":[{"sig":"MEUCIQDFPMgnu/RDEGiomBBbUPwlM3ugxFMqMANEfIRATg+6hwIgQXMcSSQWwyVxAoFqjfdNO1G5NT+D9HB7NQXgLBwvstQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":243901},"main":"src/index.js","types":"types/index.d.ts","exports":{".":"./src/index.js","./dep-graph":"./src/dep-graph.js"},"gitHead":"9043d606d9fb6036965761f44a2c5a951bbfe233","scripts":{"test":"npm run test:tests","build":"npm run types","types":"tsc --emitDeclarationOnly --declaration --outDir types","watch":"watchlist index.js -- npm test","test:tests":"uvu tests \".*\\.test.js$\"","release:major":"npm version major && npm publish","release:minor":"npm version minor && npm publish","release:patch":"npm version patch && npm publish","test:examples":"uvu examples \".*\\.test.js$\""},"_npmUser":{"name":"davidwells","email":"davidgregorywells@gmail.com"},"_npmVersion":"10.9.0","description":"Get imports and requires from a codebase without AST","directories":{},"_nodeVersion":"22.11.0","dependencies":{"@dual-bundle/import-meta-resolve":"^4.2.1"},"_hasShrinkwrap":false,"devDependencies":{"uvu":"^0.5.6","typescript":"^5.7.3"},"_npmOperationalInternal":{"tmp":"tmp/extract-deps_0.1.1_1764744089113_0.9720153679094743","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@davidwells/extract-deps","version":"0.1.2","author":{"name":"David Wells"},"license":"MIT","_id":"@davidwells/extract-deps@0.1.2","maintainers":[{"name":"davidwells","email":"davidgregorywells@gmail.com"}],"dist":{"shasum":"07282a34a81eb64c389409eb35bb03c89048c847","tarball":"https://registry.npmjs.org/@davidwells/extract-deps/-/extract-deps-0.1.2.tgz","fileCount":119,"integrity":"sha512-6DwdTC65MhDYS8cwgd/VVWsayZGlWfx6sSG7yVAUZaS4RH52WMKQtNk/G4gNPn0d7mNAqd+2BhLWAxCckQcwrg==","signatures":[{"sig":"MEYCIQDphscR6YuMzBFJ75QTobuvXB04D2+S1kuXL/Yy3uBJfgIhAKqq7JnlBNsHtgS7jVztZPpr3Zd0fMVQnfVSJqZUCkmX","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":251647},"main":"src/index.js","types":"types/index.d.ts","exports":{".":"./src/index.js","./dep-graph":"./src/dep-graph.js"},"gitHead":"1fb90f4260d45eb553cc7f310ba06f538e25ea49","scripts":{"test":"npm run test:tests","build":"npm run types","types":"tsc --emitDeclarationOnly --declaration --outDir types","watch":"watchlist index.js -- npm test","test:tests":"uvu tests \".*\\.test.js$\"","release:major":"npm version major && npm publish","release:minor":"npm version minor && npm publish","release:patch":"npm version patch && npm publish","test:examples":"uvu examples \".*\\.test.js$\""},"_npmUser":{"name":"davidwells","email":"davidgregorywells@gmail.com"},"_npmVersion":"10.9.0","description":"Get imports and requires from a codebase without AST","directories":{},"_nodeVersion":"22.11.0","dependencies":{"@dual-bundle/import-meta-resolve":"^4.2.1"},"_hasShrinkwrap":false,"devDependencies":{"uvu":"^0.5.6","typescript":"^5.7.3"},"_npmOperationalInternal":{"tmp":"tmp/extract-deps_0.1.2_1764793790498_0.30202552945666317","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@davidwells/extract-deps","version":"0.1.3","author":{"name":"David Wells"},"license":"MIT","_id":"@davidwells/extract-deps@0.1.3","maintainers":[{"name":"davidwells","email":"davidgregorywells@gmail.com"}],"dist":{"shasum":"af480b5e81efe4ea66a15f6867000435edc5fd9b","tarball":"https://registry.npmjs.org/@davidwells/extract-deps/-/extract-deps-0.1.3.tgz","fileCount":119,"integrity":"sha512-YRv4on/ydiQEKoRenLCvfFttsvHc/1qkQgzuTxuDblIrkPtb60eU3dhyyAKh7Gy0tqZToO3hOtZTF6wFVYFe9A==","signatures":[{"sig":"MEYCIQDOGYIoyE98NUWCSGt2E558buWO5v5rDyEUsoAeBxoe6wIhAOd9QeGTQOO5ObCtX+A1GRHWNQtO/Gz6pIJCtyQ9cYp6","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":253963},"main":"src/index.js","types":"types/index.d.ts","exports":{".":"./src/index.js","./dep-graph":"./src/dep-graph.js"},"gitHead":"2f971d6f6a28ab7033c8949d937f1ae8ba41d666","scripts":{"test":"npm run test:tests","build":"npm run types","types":"tsc --emitDeclarationOnly --declaration --outDir types","watch":"watchlist index.js -- npm test","test:tests":"uvu tests \".*\\.test.js$\"","release:major":"npm version major && npm publish","release:minor":"npm version minor && npm publish","release:patch":"npm version patch && npm publish","test:examples":"uvu examples \".*\\.test.js$\""},"_npmUser":{"name":"davidwells","email":"davidgregorywells@gmail.com"},"_npmVersion":"10.9.0","description":"Get imports and requires from a codebase without AST","directories":{},"_nodeVersion":"22.11.0","dependencies":{"@dual-bundle/import-meta-resolve":"^4.2.1"},"_hasShrinkwrap":false,"devDependencies":{"uvu":"^0.5.6","typescript":"^5.7.3"},"_npmOperationalInternal":{"tmp":"tmp/extract-deps_0.1.3_1764827793502_0.07126829991065842","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@davidwells/extract-deps","version":"0.1.4","author":{"name":"David Wells"},"license":"MIT","_id":"@davidwells/extract-deps@0.1.4","maintainers":[{"name":"davidwells","email":"davidgregorywells@gmail.com"}],"dist":{"shasum":"a2f2f9bb64d30cd2d6432c8f970565c74987d01e","tarball":"https://registry.npmjs.org/@davidwells/extract-deps/-/extract-deps-0.1.4.tgz","fileCount":124,"integrity":"sha512-JuAREEzJsqlxL5olNMNde44JqLiGfQXqDQlQGJURPRo25BMIDm/C7Je7uEQnCnwtWW3g2+Jsp4gMtCYqyz+/rw==","signatures":[{"sig":"MEUCIQDNpwZnOMPqTR+P5IVQIRmgvOADgBfJrgiWXZ01uuYirwIgRkFD1zKeRePpLNfEiwF0fXy+BbyspzDE6AZqk+VTbkk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":257759},"main":"src/index.js","types":"types/index.d.ts","exports":{".":"./src/index.js","./dep-graph":"./src/dep-graph.js"},"gitHead":"0831c415e28ecaefd0c90ff4b7044e1a575d6d42","scripts":{"test":"npm run test:tests","build":"npm run types","types":"tsc --emitDeclarationOnly --declaration --outDir types","watch":"watchlist index.js -- npm test","test:tests":"uvu tests \".*\\.test.js$\"","release:major":"npm version major && npm publish","release:minor":"npm version minor && npm publish","release:patch":"npm version patch && npm publish","test:examples":"uvu examples \".*\\.test.js$\""},"_npmUser":{"name":"davidwells","email":"davidgregorywells@gmail.com"},"_npmVersion":"10.9.0","description":"Get imports and requires from a codebase without AST","directories":{},"_nodeVersion":"22.11.0","dependencies":{"@dual-bundle/import-meta-resolve":"^4.2.1"},"_hasShrinkwrap":false,"devDependencies":{"uvu":"^0.5.6","typescript":"^5.7.3"},"_npmOperationalInternal":{"tmp":"tmp/extract-deps_0.1.4_1766288006664_0.4388198381179811","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@davidwells/extract-deps","version":"0.1.5","author":{"name":"David Wells"},"license":"MIT","_id":"@davidwells/extract-deps@0.1.5","maintainers":[{"name":"davidwells","email":"davidgregorywells@gmail.com"}],"dist":{"shasum":"a0c0d8bec1c26c88da55b098ef455cde4d4434da","tarball":"https://registry.npmjs.org/@davidwells/extract-deps/-/extract-deps-0.1.5.tgz","fileCount":73,"integrity":"sha512-v0JR7xMHga89jbVKuS3QP1pKvB/DQOyBAWi7bRN17ifJUWydjBD6MRxtNJ4L27GHHfaeo0EOnD56lNuifDLHVg==","signatures":[{"sig":"MEYCIQD4SehIqQk1diP68Vn3GAAM1qG1bWNCq+YD2prSGXDogwIhAMvxxzuj0iA2O9muERcZO3GHvcj8ygaT0kqcXpe+KsCz","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":225976},"main":"src/index.js","types":"types/index.d.ts","exports":{".":"./src/index.js","./dep-graph":"./src/dep-graph.js"},"gitHead":"e67e40461b9af5ea9308f7c46f97bf60c8954786","scripts":{"test":"npm run test:tests","build":"npm run types","types":"tsc --emitDeclarationOnly --declaration --outDir types","watch":"watchlist index.js -- npm test","test:tests":"uvu tests \".*\\.test.js$\"","release:major":"npm version major && npm publish","release:minor":"npm version minor && npm publish","release:patch":"npm version patch && npm publish","test:examples":"uvu examples \".*\\.test.js$\""},"_npmUser":{"name":"davidwells","email":"davidgregorywells@gmail.com"},"_npmVersion":"10.9.4","description":"Get imports and requires from a codebase without AST","directories":{},"_nodeVersion":"22.22.0","dependencies":{"@dual-bundle/import-meta-resolve":"^4.2.1"},"_hasShrinkwrap":false,"devDependencies":{"uvu":"^0.5.6","typescript":"^5.7.3"},"_npmOperationalInternal":{"tmp":"tmp/extract-deps_0.1.5_1777485061869_0.8772562820821037","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"@davidwells/extract-deps","version":"0.1.7","author":{"name":"David Wells"},"license":"MIT","_id":"@davidwells/extract-deps@0.1.7","maintainers":[{"name":"davidwells","email":"davidgregorywells@gmail.com"}],"dist":{"shasum":"2c8dfe6c2145800272a0c29cf64a5491af0b2251","tarball":"https://registry.npmjs.org/@davidwells/extract-deps/-/extract-deps-0.1.7.tgz","fileCount":85,"integrity":"sha512-d5QmYX2OaMwVqBqp/u/LE5QxvwA/4QgbkNbIW9SpsoWlVA5j0GBegqTN288dgSBgmzeo6epG34qfUIpG9xNoqQ==","signatures":[{"sig":"MEQCIEMLiHBJavL3e1SFkfO7i4BOwiKdBJysvlGO3l8c7UKaAiAgbgXV/Tt3/7RZKaDVnZdp1cPjBrbrABHgyTDkl0Ty7g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":240406},"main":"src/index.js","types":"types/index.d.ts","exports":{".":"./src/index.js","./dep-graph":"./src/dep-graph.js"},"gitHead":"8212c90ae6d6d8f44d40b85b5fde9debafaa7ac6","scripts":{"test":"npm run test:tests","build":"npm run types","types":"tsc --emitDeclarationOnly --declaration --outDir types","watch":"watchlist index.js -- npm test","test:tests":"uvu tests \".*\\.test.js$\"","release:major":"npm version major && npm publish","release:minor":"npm version minor && npm publish","release:patch":"npm version patch && npm publish","test:examples":"uvu examples \".*\\.test.js$\""},"_npmUser":{"name":"davidwells","email":"davidgregorywells@gmail.com"},"_npmVersion":"10.9.4","description":"Get imports and requires from a codebase without AST","directories":{},"_nodeVersion":"22.22.0","dependencies":{"@dual-bundle/import-meta-resolve":"^4.2.1"},"_hasShrinkwrap":false,"devDependencies":{"uvu":"^0.5.6","typescript":"^5.7.3"},"_npmOperationalInternal":{"tmp":"tmp/extract-deps_0.1.7_1777489448056_0.8040665500344832","host":"s3://npm-registry-packages-npm-production"}},"0.1.8":{"name":"@davidwells/extract-deps","version":"0.1.8","author":{"name":"David Wells"},"license":"MIT","_id":"@davidwells/extract-deps@0.1.8","maintainers":[{"name":"davidwells","email":"davidgregorywells@gmail.com"}],"dist":{"shasum":"e54a5a6af0a5894af0f035eef125983349e58150","tarball":"https://registry.npmjs.org/@davidwells/extract-deps/-/extract-deps-0.1.8.tgz","fileCount":85,"integrity":"sha512-FOK51PyrGc2lLlHZeMFwkIuoJfAw10AaTLraddsagEsIxAz+ga4hdDCj3AIUpdsqCE2Xtz3S86aSIb/uv3NAIg==","signatures":[{"sig":"MEUCIBcGPZYjqlXmIV9T8cZBxBHYkJ1rugIFD6XHFM0yGV/MAiEAq1EJ5MR64FjATuWpsIlPFjQl1ADfC+Oe4MTuElJpUBY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":254677},"main":"src/index.js","types":"types/index.d.ts","exports":{".":"./src/index.js","./dep-graph":"./src/dep-graph.js"},"gitHead":"3e8a3a7b0636fa332606e7c18abc5780647db555","scripts":{"test":"npm run test:tests","build":"npm run types","types":"tsc --emitDeclarationOnly --declaration --outDir types","watch":"watchlist index.js -- npm test","test:tests":"uvu tests \".*\\.test.js$\"","release:major":"npm version major && npm publish","release:minor":"npm version minor && npm publish","release:patch":"npm version patch && npm publish","test:examples":"uvu examples \".*\\.test.js$\""},"_npmUser":{"name":"davidwells","email":"davidgregorywells@gmail.com"},"_npmVersion":"10.9.4","description":"Get imports and requires from a codebase without AST","directories":{},"_nodeVersion":"22.22.0","dependencies":{"@dual-bundle/import-meta-resolve":"^4.2.1"},"_hasShrinkwrap":false,"devDependencies":{"uvu":"^0.5.6","typescript":"^5.7.3"},"_npmOperationalInternal":{"tmp":"tmp/extract-deps_0.1.8_1779468911531_0.09284453615107591","host":"s3://npm-registry-packages-npm-production"}},"0.1.9":{"name":"@davidwells/extract-deps","version":"0.1.9","author":{"name":"David Wells"},"license":"MIT","_id":"@davidwells/extract-deps@0.1.9","maintainers":[{"name":"davidwells","email":"davidgregorywells@gmail.com"}],"dist":{"shasum":"cf60cf200c4d57e9fe4ceacea5bce34092ffb785","tarball":"https://registry.npmjs.org/@davidwells/extract-deps/-/extract-deps-0.1.9.tgz","fileCount":95,"integrity":"sha512-hOe1Hgxr5pJ6/k6ukBqJOyYlFFkF/weRieGC2EWEGxnvBgLyptewctXtG+gJQ2w2FuTMTX5qGVpbmD7jAKaLgA==","signatures":[{"sig":"MEYCIQCHY+GL0ff7QyoCJjKDAITzCg/4PnH0S8JByijvQ2A08AIhAPEwxlXXxR4v/+u3t2P1hwFfzmWBS012dxFi/h7lWc7d","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":278922},"main":"src/index.js","types":"types/index.d.ts","exports":{".":"./src/index.js","./dep-graph":"./src/dep-graph.js"},"gitHead":"d7bca7cb3001cffb05fc95501f420cd364588a72","scripts":{"test":"npm run test:tests","build":"npm run types","types":"tsc --emitDeclarationOnly --declaration --outDir types","watch":"watchlist index.js -- npm test","test:tests":"uvu tests \".*\\.test.js$\"","release:major":"npm version major && npm publish","release:minor":"npm version minor && npm publish","release:patch":"npm version patch && npm publish","test:examples":"uvu examples \".*\\.test.js$\""},"_npmUser":{"name":"davidwells","email":"davidgregorywells@gmail.com"},"_npmVersion":"10.9.4","description":"Get imports and requires from a codebase without AST","directories":{},"_nodeVersion":"22.22.0","dependencies":{"@dual-bundle/import-meta-resolve":"^4.2.1"},"_hasShrinkwrap":false,"devDependencies":{"uvu":"^0.5.6","typescript":"^5.7.3"},"_npmOperationalInternal":{"tmp":"tmp/extract-deps_0.1.9_1779475510438_0.4126587408346172","host":"s3://npm-registry-packages-npm-production"}},"0.1.11":{"name":"@davidwells/extract-deps","version":"0.1.11","author":{"name":"David Wells"},"license":"MIT","_id":"@davidwells/extract-deps@0.1.11","maintainers":[{"name":"davidwells","email":"davidgregorywells@gmail.com"}],"dist":{"shasum":"e21179a7ec9c75c188a80bc223925644caca17f8","tarball":"https://registry.npmjs.org/@davidwells/extract-deps/-/extract-deps-0.1.11.tgz","fileCount":95,"integrity":"sha512-PNpcQNyO/TFY3LisNX+kPL348LJd9BSkMl4GaB9JONNchCxcl4bSfGWL9EgntnT7JqtTvMZ+82waZRgtyyp3KQ==","signatures":[{"sig":"MEQCICnSxm1J8BeHU3H9kulDA+tzI8z+mowiWxlKkqHuOcCKAiB98BpZffOBRib+G3f2SAKn1V6lVQHwC9SGwMVh7L4O1A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":282933},"main":"src/index.js","types":"types/index.d.ts","exports":{".":"./src/index.js","./dep-graph":"./src/dep-graph.js"},"gitHead":"8099b7b136a39437fcb7a0f70805401af6fcbea6","scripts":{"test":"npm run test:tests","build":"npm run types","types":"tsc --emitDeclarationOnly --declaration --outDir types","watch":"watchlist index.js -- npm test","test:tests":"uvu tests \".*\\.test.js$\"","release:major":"npm version major && npm publish","release:minor":"npm version minor && npm publish","release:patch":"npm version patch && npm publish","test:examples":"uvu examples \".*\\.test.js$\""},"_npmUser":{"name":"davidwells","email":"davidgregorywells@gmail.com"},"_npmVersion":"10.9.4","description":"Get imports and requires from a codebase without AST","directories":{},"_nodeVersion":"22.22.0","dependencies":{"@dual-bundle/import-meta-resolve":"^4.2.1"},"_hasShrinkwrap":false,"devDependencies":{"uvu":"^0.5.6","typescript":"^5.7.3"},"_npmOperationalInternal":{"tmp":"tmp/extract-deps_0.1.11_1779476778059_0.7992822328680016","host":"s3://npm-registry-packages-npm-production"}},"0.1.12":{"_id":"@davidwells/extract-deps@0.1.12","dist":{"shasum":"f8bdf356a018072fd57a7cc07583b7bcbe71c98f","tarball":"https://registry.npmjs.org/@davidwells/extract-deps/-/extract-deps-0.1.12.tgz","fileCount":118,"integrity":"sha512-QbNnHLEpxUeZwZ+2lIpXvwQnUnagYd2bCmwQb6rR0MSEHNF2xRqRfODYXcIuWYkxNFcxE7TfNTwYdqjlpi26Jw==","signatures":[{"sig":"MEYCIQC7EOxvRol1hZeGl924t44kJX4nZn6AFyTof8YSjX3/uAIhALVlphb0kBNhLXhYfmi72+6Vs2VmMXuFNZkIXd0ZidQy","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIH7qXTIUZKfZ5IX/u4H1ZtWo7833fFC0TgfCew52x8H4AiAaq1E/Mq7L+5klLx5luP+Dnw0YILX0NXsdDsPac0J7DQ=="}],"unpackedSize":313086},"main":"src/index.js","name":"@davidwells/extract-deps","types":"types/index.d.ts","author":{"name":"David Wells"},"exports":{".":"./src/index.js","./dep-graph":"./src/dep-graph.js"},"gitHead":"f34cea376865a7ca4c5ead10839615b0091e2dd3","license":"MIT","scripts":{"test":"npm run test:tests","build":"npm run types","types":"tsc --emitDeclarationOnly --declaration --outDir types","watch":"watchlist index.js -- npm test","test:tests":"uvu tests \".*\\.test.js$\"","release:major":"npm version major && npm publish","release:minor":"npm version minor && npm publish","release:patch":"npm version patch && npm publish","test:examples":"uvu examples \".*\\.test.js$\""},"version":"0.1.12","_npmUser":{"name":"davidwells","email":"davidgregorywells@gmail.com"},"_npmVersion":"10.9.4","description":"Get imports and requires from a codebase without AST","directories":{},"maintainers":[{"name":"davidwells","email":"davidgregorywells@gmail.com"}],"_nodeVersion":"22.22.0","dependencies":{"@dual-bundle/import-meta-resolve":"^4.2.1"},"_hasShrinkwrap":false,"devDependencies":{"uvu":"^0.5.6","typescript":"^5.7.3"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/extract-deps_0.1.12_1790445391334_0.2621424114692543"}}},"time":{"created":"2025-11-04T19:28:38.885Z","modified":"2026-09-26T17:56:31.566Z","0.0.1":"2025-11-04T19:28:39.212Z","0.0.2":"2025-11-05T00:29:57.674Z","0.0.3":"2025-11-05T00:35:17.018Z","0.0.4":"2025-11-05T02:31:08.157Z","0.0.5":"2025-11-07T05:36:46.048Z","0.0.6":"2025-12-02T18:10:36.729Z","0.0.7":"2025-12-02T23:21:59.505Z","0.0.8":"2025-12-03T01:33:32.738Z","0.0.9":"2025-12-03T01:49:58.875Z","0.1.0":"2025-12-03T01:50:59.122Z","0.1.1":"2025-12-03T06:41:29.343Z","0.1.2":"2025-12-03T20:29:50.694Z","0.1.3":"2025-12-04T05:56:33.644Z","0.1.4":"2025-12-21T03:33:26.836Z","0.1.5":"2026-04-29T17:51:02.009Z","0.1.7":"2026-04-29T19:04:08.213Z","0.1.8":"2026-05-22T16:55:11.674Z","0.1.9":"2026-05-22T18:45:10.608Z","0.1.11":"2026-05-22T19:06:18.206Z","0.1.12":"2026-09-26T17:56:31.429Z"},"author":{"name":"David Wells"},"license":"MIT","description":"Get imports and requires from a codebase without AST","maintainers":[{"name":"davidwells","email":"davidgregorywells@gmail.com"}],"readme":"# extract-deps\n\nA lightweight utility for extracting imports, requires, and exports from JavaScript/TypeScript code without using AST parsing.\n\n## Features\n\n- Extract ES6 imports (static and dynamic)\n- Extract CommonJS requires (static and dynamic)\n- Extract ES6 exports (default, named, namespace, type exports)\n- Parse code without AST for better performance\n- Support for destructuring in imports/requires\n- TypeScript support for type exports and imports\n- Handles complex patterns like re-exports and aliased exports\n\n## Installation\n\n```bash\nnpm install @davidwells/extract-deps\n```\n\n## Usage\n\n### Basic Usage\n\n```javascript\nconst { extractDeps } = require('@davidwells/extract-deps')\n\nconst code = `\nimport { test } from 'uvu'\nimport assert from 'uvu/assert'\nconst { execSync } = require('child_process')\nconst fs = require('fs')\n\nexport const myFunction = () => {}\nexport default class MyClass {}\n`\n\nconst { imports, requires, exports } = extractDeps(code)\n\nconsole.log('Imports:', imports)\nconsole.log('Requires:', requires)  \nconsole.log('Exports:', exports)\n```\n\n### Extract Imports Only\n\n```javascript\nconst { getImports, getStaticImports, getDynamicImports } = require('@davidwells/extract-deps')\n\nconst code = `\nimport { test } from 'uvu'\nimport assert from 'uvu/assert'\n\n// Dynamic imports\nconst dynamicModule = await import('./utils')\nconst config = await import('./config.js')\n`\n\n// Get all imports\nconst allImports = getImports(code)\n\n// Get only static imports\nconst staticImports = getStaticImports(code)\n\n// Get only dynamic imports  \nconst dynamicImports = getDynamicImports(code)\n\nconsole.log('All imports:', allImports)\nconsole.log('Static imports:', staticImports)\nconsole.log('Dynamic imports:', dynamicImports)\n```\n\n### Extract Requires Only\n\n```javascript\nconst { getRequires, getStaticRequires, getDynamicRequires } = require('@davidwells/extract-deps')\n\nconst code = `\nconst { test } = require('uvu')\nconst assert = require('uvu/assert')\nconst fs = require('fs')\n`\n\n// Get all requires\nconst allRequires = getRequires(code)\n\n// Get only static requires\nconst staticRequires = getStaticRequires(code)\n\n// Get only dynamic requires\nconst dynamicRequires = getDynamicRequires(code)\n\nconsole.log('All requires:', allRequires)\nconsole.log('Static requires:', staticRequires)\nconsole.log('Dynamic requires:', dynamicRequires)\n```\n\n### Extract Exports Only\n\n```javascript\nconst { \n  getExports, \n  getDefaultExports, \n  getNamedExports,\n  getNamespaceExports,\n  getTypeExports \n} = require('@davidwells/extract-deps')\n\nconst code = `\n// Default exports\nexport default function myFunction() {}\nexport default class MyClass {}\n\n// Named exports\nexport const myVariable = 'value'\nexport function myFunction() {}\n\n// Named declaration exports\nexport { myFunction, anotherFunction }\nexport { myFunction as aliasedFunction }\n\n// Re-exports\nexport * from './module'\nexport * as namespace from './module'\n\n// Type exports\nexport type MyType = string\nexport interface MyInterface {}\n`\n\n// Get all exports\nconst allExports = getExports(code)\n\n// Get specific export types\nconst defaultExports = getDefaultExports(code)\nconst namedExports = getNamedExports(code)\nconst namespaceExports = getNamespaceExports(code)\nconst typeExports = getTypeExports(code)\n\nconsole.log('All exports:', allExports)\nconsole.log('Default exports:', defaultExports)\nconsole.log('Named exports:', namedExports)\nconsole.log('Namespace exports:', namespaceExports)\nconsole.log('Type exports:', typeExports)\n```\n\n## API Reference\n\n### `extractDeps(code)`\n\nMain function that extracts all imports, requires, and exports from the given code.\n\n**Parameters:**\n- `code` (string): The JavaScript/TypeScript code to analyze\n\n**Returns:**\n- Object with `imports`, `requires`, and `exports` arrays\n\n### Import Functions\n\n- `getImports(code)` - Get all imports (static and dynamic)\n- `getStaticImports(code)` - Get only static imports\n- `getDynamicImports(code)` - Get only dynamic imports\n\n### Require Functions\n\n- `getRequires(code)` - Get all requires (static and dynamic)\n- `getStaticRequires(code)` - Get only static requires\n- `getDynamicRequires(code)` - Get only dynamic requires\n\n### Export Functions\n\n- `getExports(code)` - Get all exports\n- `getDefaultExports(code)` - Get only default exports\n- `getNamedExports(code)` - Get only named exports\n- `getNamedDeclarationExports(code)` - Get named declaration exports\n- `getAllExports(code)` - Get all exports (alias for getExports)\n- `getNamespaceExports(code)` - Get namespace exports (export * as)\n- `getTypeExports(code)` - Get TypeScript type exports\n\n## Data Structure\n\nEach import/require/export object contains:\n\n```javascript\n{\n  moduleSpecifier: string,    // The module being imported/required\n  exportType: string,         // Type of export (for exports)\n  exportName: string,         // Name of export (for exports)\n  definitions: Array,         // Destructuring and variable definitions\n  // ... other properties specific to the type\n}\n```\n\n## Examples\n\nYou can find more examples in the `examples/` directory and usage examples in `_usage.js`.\n\n## Performance\n\nThis library avoids AST parsing for better performance when you only need to extract dependency information. It uses regex-based parsing optimized for common JavaScript/TypeScript patterns.\n\n## Alternative Approaches\n\n- Runtime analysis: [pkg-exports](https://github.com/antfu/pkg-exports/)\n- AST-based parsing: [parse-imports](https://github.com/import-js/parse-imports)\n- ESM/CJS utils https://www.npmjs.com/package/mlly\n\n## License\n\nMIT\n","readmeFilename":"README.md"}