{"id":15990649,"url":"https://github.com/michaelrambeau/package-jason","last_synced_at":"2026-05-07T08:38:13.133Z","repository":{"id":73561385,"uuid":"152873576","full_name":"michaelrambeau/package-jason","owner":"michaelrambeau","description":"Package Jason: your friend who can see the deep tree of NPM dependencies. Ask Jason!","archived":false,"fork":false,"pushed_at":"2018-10-13T21:56:47.000Z","size":7,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-10T07:42:57.061Z","etag":null,"topics":["dependencies","json","npm","package"],"latest_commit_sha":null,"homepage":"","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/michaelrambeau.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}},"created_at":"2018-10-13T13:16:22.000Z","updated_at":"2023-08-23T13:00:21.000Z","dependencies_parsed_at":"2023-07-21T13:06:59.331Z","dependency_job_id":null,"html_url":"https://github.com/michaelrambeau/package-jason","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"2444b4dbf6bb5ce1bb6952311f7e1aa20939e025"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelrambeau%2Fpackage-jason","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelrambeau%2Fpackage-jason/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelrambeau%2Fpackage-jason/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelrambeau%2Fpackage-jason/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michaelrambeau","download_url":"https://codeload.github.com/michaelrambeau/package-jason/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247262749,"owners_count":20910300,"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":["dependencies","json","npm","package"],"created_at":"2024-10-08T05:22:53.357Z","updated_at":"2026-05-07T08:38:11.087Z","avatar_url":"https://github.com/michaelrambeau.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://semaphoreci.com/api/v1/mikeair/package-jason/branches/master/badge.svg)](https://semaphoreci.com/mikeair/package-jason)\n\n# _Package Jason_: your friend who knows about package.json\n\nDo you want to see the deep tree of dependencies of any package? Ask Jason, he knows everything about the `package.json` files!\n\n_Package Jason_ is a tool that scans recursively all dependencies of a given package and generates a tree that shows all nested dependencies.\n\nFor example, let's scan `react` package:\n\n```js\nconst packageJason = require(\"package-jason\");\nconst result = await packageJason(\"react\");\n```\n\nYou will get a JSON `tree` and `meta` data about the packages scanned:\n\n- total: total number of packages found during the scanning process (10 packages)\n- count: number of unique packages found, because the same package can be included by several sub-dependencies (7 packages)\n\n```json\n{\n  \"tree\": {\n    \"name\": \"react\",\n    \"version\": \"16.5.2\",\n    \"children\": [\n      {\n        \"name\": \"loose-envify\",\n        \"version\": \"1.4.0\",\n        \"children\": [\n          {\n            \"name\": \"js-tokens\",\n            \"version\": \"4.0.0\"\n          }\n        ]\n      },\n      {\n        \"name\": \"object-assign\",\n        \"version\": \"4.1.1\"\n      },\n      {\n        \"name\": \"prop-types\",\n        \"version\": \"15.6.2\",\n        \"children\": [\n          {\n            \"name\": \"loose-envify\",\n            \"version\": \"1.4.0\",\n            \"children\": [\n              {\n                \"name\": \"js-tokens\",\n                \"version\": \"4.0.0\"\n              }\n            ]\n          },\n          {\n            \"name\": \"object-assign\",\n            \"version\": \"4.1.1\"\n          }\n        ]\n      },\n      {\n        \"name\": \"schedule\",\n        \"version\": \"0.5.0\",\n        \"children\": [\n          {\n            \"name\": \"object-assign\",\n            \"version\": \"4.1.1\"\n          }\n        ]\n      }\n    ]\n  },\n  \"meta\": {\n    \"count\": 7,\n    \"total\": 10\n  }\n}\n```\n\n## Compatibility\n\n_Package Jason_ runs on Node.js 10+.\n\nThis is a package for the Node.js only, not for the browser.\n\n## Testing\n\nTest suite\n\n```\nnpm test\n```\n\nTesting any package from the command line:\n\n```\nnode cli \u003cpackage-name\u003e\n```\n\n## Credits\n\n_Package Jason_ relies on [`package-json`](https://github.com/sindresorhus/package-json) package from the great [Sindre Sorhus](https://github.com/sindresorhus).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelrambeau%2Fpackage-jason","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichaelrambeau%2Fpackage-jason","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelrambeau%2Fpackage-jason/lists"}