{"id":13825492,"url":"https://github.com/azu/find-node-modules-import","last_synced_at":"2025-05-12T15:26:02.010Z","repository":{"id":65253687,"uuid":"588583434","full_name":"azu/find-node-modules-import","owner":"azu","description":"Find specific node modules import statement in your source code","archived":false,"fork":false,"pushed_at":"2023-01-22T01:07:20.000Z","size":53,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-30T22:39:47.128Z","etag":null,"topics":["builtin-modules","find","grep","module","node","search"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/azu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"azu"}},"created_at":"2023-01-13T13:34:19.000Z","updated_at":"2023-02-06T07:10:46.000Z","dependencies_parsed_at":"2023-02-12T13:47:57.401Z","dependency_job_id":null,"html_url":"https://github.com/azu/find-node-modules-import","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azu%2Ffind-node-modules-import","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azu%2Ffind-node-modules-import/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azu%2Ffind-node-modules-import/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azu%2Ffind-node-modules-import/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/azu","download_url":"https://codeload.github.com/azu/find-node-modules-import/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253764694,"owners_count":21960609,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["builtin-modules","find","grep","module","node","search"],"created_at":"2024-08-04T09:01:22.098Z","updated_at":"2025-05-12T15:26:01.970Z","avatar_url":"https://github.com/azu.png","language":"TypeScript","funding_links":["https://github.com/sponsors/azu"],"categories":["TypeScript"],"sub_categories":[],"readme":"# find-node-modules-import\n\nFind specific node modules import statement in your source code.\n\n## Features\n\n- Find all imported module name\n- Find specific module name\n- Find Node.js built-in module name like `node:fs` or `assert`\n\n📝 This tool only support `import` syntax. `require` syntax is not supported.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n    npm install find-node-modules-import --global\n\nRequirement:\n\n- Node.js v16.17.0+ or Node.js v18.6.0+\n\n## Usage\n\n    Usage\n      $ find-node-modules-import [file|glob*]\n \n    Options\n      --module              [String] filter the result by module name\n      --builtinModules      [Boolean] filter the result by Node.js builtin modules. Default: false\n      --verbose             [Boolean] show warning/error output. Default: false\n\n    Examples\n      # show all imports\n      $ find-node-modules-import \"src/**/*.{js,ts}\"\n      # show Node.js builtin modules\n      $ find-node-modules-import \"src/**/*.{js,ts}\" --builtinModules\n      # show specific module\n      $ find-node-modules-import \"src/**/*.{js,ts}\" --module \"lodash\"\n\n\n\n## Changelog\n\nSee [Releases page](https://github.com/azu/find-node-modules-import/releases).\n\n## Running tests\n\nInstall devDependencies and Run `npm test`:\n\n    npm test\n\n## Contributing\n\nPull requests and stars are always welcome.\n\nFor bugs and feature requests, [please create an issue](https://github.com/azu/find-node-modules-import/issues).\n\n1. Fork it!\n2. Create your feature branch: `git checkout -b my-new-feature`\n3. Commit your changes: `git commit -am 'Add some feature'`\n4. Push to the branch: `git push origin my-new-feature`\n5. Submit a pull request :D\n\n## Author\n\n- azu: [GitHub](https://github.com/azu), [Twitter](https://twitter.com/azu_re)\n\n## License\n\nMIT © azu\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazu%2Ffind-node-modules-import","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazu%2Ffind-node-modules-import","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazu%2Ffind-node-modules-import/lists"}