Explore tweets tagged as #commonjs
Web dev :- revised some old stuff! Leaned about mode.js, npm, commonJs and Ecmascript. DSA:- solved two easy array questions. #100daysofcode #100DaysOfCode
1
0
4
Explored how Node.js modules work From CommonJS to modern ES Modules — each module runs inside an IIFE! Learned how module.exports & require() work: resolve→load→compile→eval→cache. Amazing to see it all behind the scenes @akshaymarch7
#NodeJS #JavaScript #LearnInPublic
1
1
13
Understanding modules is a must for every modern JavaScript developer. Whether you're building backend services or scaling frontend apps, choosing between CommonJS and ES Modules can shape your entire architecture. This short carousel breaks it down in the simplest way of
1
0
2
The fact that this is still the tsconfig you get when you run 'tsc --init' is so stupid - "target" is years out of date - "commonjs" is a massive antipattern - "forceConsistentCasingInFileNames" is true by default anyway
27
50
1K
To fix an error, Clause sonnet with Cursor recommends "We are using require which is commonjs, let's use import which is ESM". I accept. New error, next reply. "There is a missing dependency, add 'require' statement." 🤦♂️ Conclusion: Ghajini has better memory than LLMs.
1
0
4
Yesterday, a user reported that the Wetro Cloud SDK wouldn’t load in a CommonJS project. I resolved it immediately, of course 😎. #Wetrocloud #SDK #RAG #AI #TypeScript #NodeJS
2
4
12
Fought ESM-only Faker v10 with Jest... My blood, sweat, and transformIgnorePatterns tears. This ESM vs CommonJS thing hurts my brain sometimes. https://t.co/pcnf17mkzD
0
0
1
Migrating from CommonJS to ESM is the worst nightmare especially when jest is involved 💀
1
0
2
👨🏻💻Day 2/100 --> Continuing JavaScript. ~🧑💻Iterator and generators in javascript ~🧑💻ES6 Modules and CommonJS || Tomorrow I jump in with JS projects. || #DSA #100DaysOfCode #WebDevelopment
2
1
38
esm module? commonjs? webpack? esbuild? vite? rollup? parcel? snowpack? turbopack? rspack? swc? babel? typescript? node_modules? package.json? tsconfig? webpack.config? vite.config?
1
0
0
🗓️Day : 40/75 ✅ Learnt about : 🔸CommonJs and EcmaScript modules #WebDevelopment #codewithharry #75DaysOfCode
1
0
12
📆 Day 78: Import & Export in Node 📥📤 Learned two ways to import/export: ✅CommonJS → require / module.exports ✅ES Modules → import / export 💡 Know the difference! #100DaysOfCode #letsconnect #NodeJS #WebDevelopment #buildinpublic #html #css #javascript
1
0
9
There should a version of nodejs that totally eliminates support for commonjs altogether.
0
0
9
No more juggling CommonJS and faux-ESM. @JoyeeCheung revealed how Node.js is moving to full ESM and why the future looks brighter for developers. #NordicJS #NordicJS2025
0
3
8
That moment you realize your nodejs library had the commonjs and esm mapping wrong... 🤦 Sorry everyone... Fixing it now. #javascript #typescript #nodejs
0
0
0