chicoxyzzy / node-releases

Node.js releases data
MIT License
36 stars 11 forks source link

feat: Add initial module setup #21

Open nschonni opened 4 years ago

nschonni commented 4 years ago

Fixes #18

Opened as a draft to discuss if this makes sense

chicoxyzzy commented 4 years ago

To be honest, I'm not sure that we should do that. It's trivial to import json in Node.js and there is a (stage 1) proposal which will enable json modules for the web also https://github.com/tc39/proposal-module-attributes

nschonni commented 4 years ago

I think the value would be more around adding helper functions around returning specific version info like what browserlist does. This was just a rough conversation starter off the previous thread