{"id":23818027,"url":"https://github.com/lsongdev/deps-parser","last_synced_at":"2026-04-30T19:01:07.183Z","repository":{"id":68773686,"uuid":"132577076","full_name":"lsongdev/deps-parser","owner":"lsongdev","description":" A simple way to get module dependencies","archived":false,"fork":false,"pushed_at":"2019-07-17T05:57:30.000Z","size":3,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-28T14:30:25.538Z","etag":null,"topics":["dependencies","es6","javascript","module-system"],"latest_commit_sha":null,"homepage":"https://npmjs.org/deps-parser","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lsongdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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},"funding":{"github":"song940","patreon":"song940","open_collective":"song940","ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":"https://git.io/fjRcB"}},"created_at":"2018-05-08T08:18:03.000Z","updated_at":"2019-11-05T02:28:53.000Z","dependencies_parsed_at":"2023-02-23T00:16:01.247Z","dependency_job_id":null,"html_url":"https://github.com/lsongdev/deps-parser","commit_stats":null,"previous_names":["lsongdev/deps-parser","song940/deps-parser"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lsongdev/deps-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsongdev%2Fdeps-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsongdev%2Fdeps-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsongdev%2Fdeps-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsongdev%2Fdeps-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lsongdev","download_url":"https://codeload.github.com/lsongdev/deps-parser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsongdev%2Fdeps-parser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32473805,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","es6","javascript","module-system"],"created_at":"2025-01-02T05:49:22.542Z","updated_at":"2026-04-30T19:01:02.158Z","avatar_url":"https://github.com/lsongdev.png","language":"JavaScript","funding_links":["https://github.com/sponsors/song940","https://patreon.com/song940","https://opencollective.com/song940","https://git.io/fjRcB"],"categories":[],"sub_categories":[],"readme":"# deps-parser\n\nA simple way to get module dependencies\n\n## Install\n\n\n```bash\n~$ npm install deps-parser\n```\n\n## Example\n\nSuppose you have 2 files, one is `a.js` with content:\n\n```js\nvar b = require('./b')\n```\nanother is `b.js` whose content is:\n\n```js\nvar c = require('./c');\n```\n\nBelow is how we get the dependencies list of `a.js`:\n\n```js\nvar Deps = require('deps-parser');\nvar analyzer = new Deps();\nvar deps = analyzer.getDeps(__dirname + \"/a.js\");\nconsole.log(deps); \n// output\n[\n  '{__dirname}/c.js'\n  '{__dirname}/b.js'\n]\n```\n\n## License\n\nThis project is under MIT licence.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flsongdev%2Fdeps-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flsongdev%2Fdeps-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flsongdev%2Fdeps-parser/lists"}