Comments (3)
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.
from node-releases.
I did a placeholder example over in #21
Did you have an idea on how the generation approach would work?
from node-releases.
fyi, there is also the possibility of using import type assertion
cjs is obsolete
import { schedule } from 'node-release/data.json' assert { type: 'json' }
or for the just of simplicity export a esm file
from node-releases.
Related Issues (20)
- Implement automatic data updates HOT 4
- LICENSE file HOT 4
- Missing Node version 8.12 HOT 1
- Node 11 HOT 1
- Licensing HOT 12
- cannot install on npm HOT 3
- Add the Unnoficial Builds values HOT 1
- Add the ChakraCore releases HOT 4
- Node 13.10.1 missing from env.json HOT 3
- Missing 10.20.0 and 12.16.2 releases from this week HOT 1
- Publish updated data containing the Node.js v16 release HOT 2
- Version 2.0 HOT 1
- Publish version for node 16.13 LTS
- Error: Unexpected token HOT 2
- Release 2.0.6 not available through npmjs registry HOT 1
- Please add a description of what this package does (in the README) HOT 1
- Include extra fields HOT 3
- Node.js 20 release HOT 1
- Automate publish of new versions HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-releases.