{"id":18585349,"url":"https://github.com/xtoolkit/get-nps","last_synced_at":"2025-07-20T12:33:08.407Z","repository":{"id":84549855,"uuid":"80764157","full_name":"xtoolkit/get-nps","owner":"xtoolkit","description":"get npm package size before download and install!","archived":false,"fork":false,"pushed_at":"2020-01-11T19:15:55.000Z","size":15,"stargazers_count":9,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T00:51:42.564Z","etag":null,"topics":["before-install","nodejs","npm","npm-package","nps","size","travis","travis-ci"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/xtoolkit.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-02T20:09:56.000Z","updated_at":"2025-01-07T09:42:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"25db9ff7-2128-4568-9c2c-194d34ec1ab9","html_url":"https://github.com/xtoolkit/get-nps","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/xtoolkit/get-nps","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtoolkit%2Fget-nps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtoolkit%2Fget-nps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtoolkit%2Fget-nps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtoolkit%2Fget-nps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xtoolkit","download_url":"https://codeload.github.com/xtoolkit/get-nps/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtoolkit%2Fget-nps/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266127212,"owners_count":23880420,"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":["before-install","nodejs","npm","npm-package","nps","size","travis","travis-ci"],"created_at":"2024-11-07T00:33:16.330Z","updated_at":"2025-07-20T12:33:08.390Z","avatar_url":"https://github.com/xtoolkit.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# get-nps\n\nA solution for get npm package size **before** download and install with travis-ci!\n\n## How get npm package size?\n\nNote: if you use get-nps with **fork** first set up get-nps in your [travis-ci](https://travis-ci.org/) and enable get-nps.\n\nfor make get-nps package and get npm package size in travis, following down methods:  \nfor example get-nps _angularJs_\n\n1. Edit [`.travis.yml`](https://github.com/xtoolkit/get-nps/edit/master/.travis.yml) (suggested in my repo) and create a pull. \n2. Go to travis link in your pull page.\n3. See travis logs and get-nps details!\n\n## Explain for angularJs demo\n\n1. Edit [`.travis.yml`](https://github.com/xtoolkit/get-nps/pull/7/files#diff-354f30a63fb0907d4ad57269548329e3R9) and create [#7 Demo for angular/angular.js](https://github.com/xtoolkit/get-nps/pull/7) pull.\n2. Go to [partial](https://github.com/xtoolkit/get-nps/pull/7#partial-pull-merging) pull.\n3. Go first [details travic-cl link](https://travis-ci.org/xtoolkit/get-nps/builds/198417685) and see details!\n  - [git size in disk](https://travis-ci.org/xtoolkit/get-nps/builds/198417685#L268)\n  - [source size in disk](https://travis-ci.org/xtoolkit/get-nps/builds/198417685#L272) (remove .git dir)\n  - [source size in disk after npm install](https://travis-ci.org/xtoolkit/get-nps/builds/198417685#L282)\n  - [all deps downloaded](https://travis-ci.org/xtoolkit/get-nps/builds/198417685#L290) (sum tgz)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxtoolkit%2Fget-nps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxtoolkit%2Fget-nps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxtoolkit%2Fget-nps/lists"}