{"id":22350981,"url":"https://github.com/amittksharma/npm-license-tracker","last_synced_at":"2026-02-16T14:31:33.398Z","repository":{"id":25696253,"uuid":"104604785","full_name":"amittkSharma/npm-license-tracker","owner":"amittkSharma","description":"npm-license-tracker will track all the npm dependencies and their corresponding licenses. The module will generate the JSON file with all meta information about npm packages and copy corresponding license files.","archived":false,"fork":false,"pushed_at":"2025-01-28T21:54:47.000Z","size":108,"stargazers_count":2,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-01T10:01:40.823Z","etag":null,"topics":["javascript","json","license","license-crawler","license-csv","license-management","license-tracker","npm","npm-license-crawler","npm-license-tracker","npm-licenses","npm-module","npm-package","npm-scripts","opensource","package-json","tracker"],"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/amittkSharma.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,"zenodo":null}},"created_at":"2017-09-23T23:10:40.000Z","updated_at":"2025-01-28T21:54:46.000Z","dependencies_parsed_at":"2025-07-01T10:01:36.247Z","dependency_job_id":null,"html_url":"https://github.com/amittkSharma/npm-license-tracker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/amittkSharma/npm-license-tracker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amittkSharma%2Fnpm-license-tracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amittkSharma%2Fnpm-license-tracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amittkSharma%2Fnpm-license-tracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amittkSharma%2Fnpm-license-tracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amittkSharma","download_url":"https://codeload.github.com/amittkSharma/npm-license-tracker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amittkSharma%2Fnpm-license-tracker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262941534,"owners_count":23388146,"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":["javascript","json","license","license-crawler","license-csv","license-management","license-tracker","npm","npm-license-crawler","npm-license-tracker","npm-licenses","npm-module","npm-package","npm-scripts","opensource","package-json","tracker"],"created_at":"2024-12-04T12:12:01.751Z","updated_at":"2026-02-16T14:31:33.370Z","avatar_url":"https://github.com/amittkSharma.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# npm-license-tracker\n\n[![](https://img.shields.io/npm/v/npm-license-tracker.svg)](https://www.npmjs.com/package/npm-license-tracker)\n[![](https://img.shields.io/npm/dm/npm-license-tracker.svg)](https://www.npmjs.com/package/npm-license-tracker)\n\nnpm-license-tracker will track all the npm dependencies and their corrosponding licenses in the specified package.\nThe module will generate the JSON file with all meta information about npm packages and copy corrosponding license files in a directory named \"npm_licenses\". This new folder will be created under the same project directory.\n\n#Features\n\u003cul\u003e\n  \u003cli\u003eCreation of JSON file with meta information about licenses\u003c/li\u003e\n  \u003cli\u003eCopying license files\u003c/li\u003e\n  \u003cli\u003eCreation of CSV file with meta information for Audit purpose\u003c/li\u003e\n  \u003cli\u003eFind Immediate and transitive dependencies\u003c/li\u003e\n\u003c/ul\u003e\n\n## Updates\n| Date\t\t\t\t      | Author\t\t\t      | Description\t\t\t\t\t\t\t|\n| ----------------- | ----------------- | ----------- |\n| 2018-03-15\t\t  \t| AmittK\t\t        | Module capable to find immediate or transitive dependencies. |\n| 2017-09-24\t\t  \t| AmittK\t\t        | Module to track npm dependencies with all meta information and license files. |\n\n## Installing via Npm\n\n```\nnpm install -g npm-license-tracker\n```\n\n## Usage\n- Install the module using: npm install -g npm-license-tracker\n- On command line, execute the command: npm-tracker \"Path to package.json\"\n- To generate CSV, execute the command: npm-tracker \"Path to package.json\" true || false (\u003cem\u003edefault value is false \u003c/em\u003e)\n\n## Api Usage\n\n```\nnpm install npm-license-tracker\n```\n\n```js\nvar licenseChecker = require('npm-license-tracker/src');\nvar options = {\n  path: 'C:\\\\Workspace\\\\DEMO_PROJECT',\n  isExcel: true\n}\nlicenseChecker.run(options)\n```\n\n| API\t\t\t\t       | Type       | Description\t\t\t                                |\n| -----------------|------------| ------------------------------------------------|\n| path      \t\t   | string     | Path to package.json in the project             |\n| isExcel          | boolean    | For generating CSV file, default value is false |\n\n## Example of license JSON so produced by app\n![Alt text](https://github.com/amittkSharma/npm-license-tracker/blob/master/images/license_json.PNG?raw=true \"npm packages meta information\")\n\n## Command line help\n\n```\nnpm-license-tracker --help\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famittksharma%2Fnpm-license-tracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famittksharma%2Fnpm-license-tracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famittksharma%2Fnpm-license-tracker/lists"}