A collection of all npm packages that mention electron in their package.json
Перейти к файлу
Zeke Sikelianos 65a71f4ef7 new stuff 2016-10-07 16:00:20 -07:00
downloads add download data 2016-07-01 22:41:18 -07:00
packages new stuff 2016-10-07 16:00:20 -07:00
README.md tighten up readme and link to new keywords and packages 2016-06-24 19:28:45 -07:00
build.js use package-stream! 2016-07-07 16:21:34 -07:00
downloads.js get download counts 2016-07-01 22:41:09 -07:00
index.js new stuff 2016-10-07 16:00:20 -07:00
keywords.js make required packages an array instead of an object 2016-06-29 16:38:56 -07:00
keywords.md new stuff 2016-10-07 16:00:20 -07:00
package.json new stuff 2016-10-07 16:00:20 -07:00
packages.js make required packages an array instead of an object 2016-06-29 16:38:56 -07:00
packages.md new stuff 2016-10-07 16:00:20 -07:00

README.md

electron-npm-packages

A collection of all npm packages that mention electron in their package.json

Pages

Usage

To use this as a node module:

npm install electron-npm-packages --save

then

const packages = require('electron-npm-packages')
// object with package names as keys and package objects as values

Observations

# total packages
ls packages | wc -l                                        
# 1079

# cumulative size of all package.jsons
du -hs packages  
# 10M

# packages using electron-prebuilt
find packages/* | xargs grep -l "electron-prebuilt" | wc -l
# 437

# packages using electron-packager
find packages/* | xargs grep -l "electron-packager" | wc -l
# 143

# semver ranges used for electron-prebuilt
grep -r '"electron-prebuilt":' packages | cut -f 3 -d ":" | sort
# "*"
# "*",
# "0.30.0",
# "0.30.1",
# "0.31.2",
# "0.33.7"
# "0.34.0"
# ...

License

MIT