{"id":16092807,"url":"https://github.com/dleitee/showdeps","last_synced_at":"2025-08-09T23:33:51.935Z","repository":{"id":86639156,"uuid":"82007693","full_name":"dleitee/showdeps","owner":"dleitee","description":"A little library to list all imports in a code.","archived":false,"fork":false,"pushed_at":"2018-06-05T16:27:30.000Z","size":4,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T13:11:11.488Z","etag":null,"topics":["dependencies","library"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/dleitee.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-15T01:37:47.000Z","updated_at":"2023-03-08T04:30:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"5c4354c3-168c-4bad-a305-737866feef90","html_url":"https://github.com/dleitee/showdeps","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dleitee/showdeps","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dleitee%2Fshowdeps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dleitee%2Fshowdeps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dleitee%2Fshowdeps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dleitee%2Fshowdeps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dleitee","download_url":"https://codeload.github.com/dleitee/showdeps/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dleitee%2Fshowdeps/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269653799,"owners_count":24454316,"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","status":"online","status_checked_at":"2025-08-09T02:00:10.424Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["dependencies","library"],"created_at":"2024-10-09T16:44:01.754Z","updated_at":"2025-08-09T23:33:51.819Z","avatar_url":"https://github.com/dleitee.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# showdeps\n\nA little library to list all imports in a code.\n\n## Install\n\n```\nnpm install --save showdeps\n```\n\n## Usage\n\n```javascript\nimport showdeps from 'showdeps'\n\nconst code = `\n  import strman from 'strman'\n\n  console.log('dleitee')\n`\n\nshowdeps(code)\n\n/**\n * [{\n *   \"file\": \"strman\",\n *   \"specifiers\": [{\n *     \"name\": \"strman\",\n *     \"type\": \"ImportDefaultSpecifier\",\n *   }],\n * }]\n */\n```\n\n## Specifiers types\n\n### ImportDefaultSpecifier\n\nWhen you import default dependency. Ex. `import strman from 'strman'`\n\n### ImportSpecifier\n\nWhen you import specified dependency. Ex. `import { replace } from 'strman'`\n\n### ImportNamespaceSpecifier\n\nWhen you import named dependency. Ex. `import * as strman from 'strman'`\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdleitee%2Fshowdeps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdleitee%2Fshowdeps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdleitee%2Fshowdeps/lists"}