Closed ai closed 3 years ago
I was also thinking about that, but wasn't sure if someone uses data/raw
. I think that this needs fetch.js
and build.js
scripts to be merged. That also will require to update package.json
a bit and maybe action workflow too (depends on changes).
Oh, and README.md too. It also has spelling error: browserlist -> browserslist
I fixed typo in docs.
I also remove spaces in JSON file. Anyway, we are using data in mostly single tool. I think formatting removal will bring more benefits for users in total, than a problem for 1-2 users per year who try to read files.
Done. I updated Node.js, used new syntax, compress JSON and avoid file writing.
Right now,
node-releases
footprint innode_modules
is 254 KB. 80% came fromdata/raw
.I checked all
node-releases
dependents and none of big one use it (it is onlybrowserslist
who have >5 downloads per week).Let’s remove it in major release and save 200 KB in most of
node_modules
in the planet (4 TB/week in Internet traffic according to size × downloads).