-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a JavaScript module for easier access to data #18
Comments
I think that if we want to add JS module, we can do better and pre-generate a flat CJS/ESM modules without the need to require and parse JSON. |
I did a placeholder example over in #21 |
fyi, there is also the possibility of using import type assertion import { schedule } from 'node-release/data.json' assert { type: 'json' } or for the just of simplicity export a esm file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While looking to implement this for nodejs/i18n, I found myself looking at what Browserlist was doing, and re-implementing it.
EX:
Other useful functions would be to have the functions to just return active releases
The text was updated successfully, but these errors were encountered: