Explore tweets tagged as #commonjs
@ayushreetilekar
ayushree
27 days
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
@Marc_l1ne
Trey
1 hour
I hate commonjs
0
0
0
@rjeetgupta
Ranjeet Gupta
2 months
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
@namastedev_
NamasteDev by Akshay Saini
1 month
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
@mattpocockuk
Matt Pocock
8 months
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
@ankitdaf
Ankit Daftery
7 months
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
@Goddiegold
Godwin Ehikhamhen
8 months
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
@gurusalih
salih
6 months
CommonJS, üzümlü kekim, eski dostum
0
0
5
@orrymr
Orry Messer 🤔
2 months
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
@Keshav__Aneja
Keshav Aneja
2 months
Migrating from CommonJS to ESM is the worst nightmare especially when jest is involved 💀
1
0
2
@AnuragBuilds
Anurag
6 months
👨🏻‍💻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
@evisdrenova
Evis Drenova
7 months
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
@PatelNiharika05
Niharika Patel
4 months
🗓️Day : 40/75 ✅ Learnt about : 🔸CommonJs and EcmaScript modules #WebDevelopment #codewithharry #75DaysOfCode
1
0
12
@wwwalkerrun
Nathan Walker
3 days
Using @vite_js with @NativeScript 9 A how-to guide including handling commonjs plugin cases.
1
5
21
@ttvmcodes
Tattvam 🚀
6 months
📆 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
@mjackson
MJ
2 months
Stop shipping CommonJS
@colinhacks
colinhacks/zod
2 months
new nightmare just dropped an ESM/CJS resolution bug that only manifests on windows
16
8
496
@DeepknowledgeU
Govind
2 months
There should a version of nodejs that totally eliminates support for commonjs altogether.
0
0
9
@nordicjs
Nordic.js
3 months
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
@jaredwray
Jared Wray
28 days
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