request CommonJS version
See original GitHub issueI have typescript project with article-parser
, but after update got crashed because this lib using ESM. Please compile the CommonJS version.
Issue Analytics
- State:
- Created a year ago
- Comments:10
Top Results From Across the Web
CommonJS modules | Node.js v19.3.0 Documentation
CommonJS modules are the original way to package JavaScript code for Node.js. Node.js also supports the ECMAScript modules standard used by browsers and ......
Read more >CommonJS vs. ES modules in Node.js - LogRocket Blog
Learn about the differences between CommonJS and ES modules when using them in Node.js applications to organize software code.
Read more >How the module system, CommonJS & require works
Learn how the Node.js module system & CommonJS works and what does ... You can find out what version of npm you are...
Read more >common-js - npm
Latest version: 0.3.8, last published: 6 years ago. Start using common-js in your project by running `npm i common-js`.
Read more >Documentation - ECMAScript Modules in Node.js - TypeScript
In a CommonJS module, this just boils down to a require() call, and in an ES module, this imports ... CJS fall-back for...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Node 16.x latest Typescript 4.x latest
iam tried ur snippet with my project configuration (iam using
ts-node
to run it btw)Using 7.0.1
Using 7.0.2
Using 7.0.3 (work)
tsconfig.json
package.json