https://github.com/xtoolkit/get-nps
get npm package size before download and install!
https://github.com/xtoolkit/get-nps
before-install nodejs npm npm-package nps size travis travis-ci
Last synced: 3 months ago
JSON representation
get npm package size before download and install!
- Host: GitHub
- URL: https://github.com/xtoolkit/get-nps
- Owner: xtoolkit
- License: mit
- Created: 2017-02-02T20:09:56.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-01-11T19:15:55.000Z (over 5 years ago)
- Last Synced: 2025-04-11T00:51:42.564Z (6 months ago)
- Topics: before-install, nodejs, npm, npm-package, nps, size, travis, travis-ci
- Language: Shell
- Homepage:
- Size: 14.6 KB
- Stars: 9
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# get-nps
A solution for get npm package size **before** download and install with travis-ci!
## How get npm package size?
Note: if you use get-nps with **fork** first set up get-nps in your [travis-ci](https://travis-ci.org/) and enable get-nps.
for make get-nps package and get npm package size in travis, following down methods:
for example get-nps _angularJs_1. Edit [`.travis.yml`](https://github.com/xtoolkit/get-nps/edit/master/.travis.yml) (suggested in my repo) and create a pull.
2. Go to travis link in your pull page.
3. See travis logs and get-nps details!## Explain for angularJs demo
1. 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.
2. Go to [partial](https://github.com/xtoolkit/get-nps/pull/7#partial-pull-merging) pull.
3. Go first [details travic-cl link](https://travis-ci.org/xtoolkit/get-nps/builds/198417685) and see details!
- [git size in disk](https://travis-ci.org/xtoolkit/get-nps/builds/198417685#L268)
- [source size in disk](https://travis-ci.org/xtoolkit/get-nps/builds/198417685#L272) (remove .git dir)
- [source size in disk after npm install](https://travis-ci.org/xtoolkit/get-nps/builds/198417685#L282)
- [all deps downloaded](https://travis-ci.org/xtoolkit/get-nps/builds/198417685#L290) (sum tgz)