Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge. Learn more →
Top 9 JavaScript Commonj Projects
-
webpack
A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.
Webpack is one of the most popular options, with 63.6k stars on GitHub. It packs modules (JavaScript, CSS, images, and so on) into bundled assets that can be executed by the browser. For demonstration purposes, this is how you can install Webpack into your project:
-
Besides Webpack, there are many other popular web bundlers available, such as Parcel, Esbuild, Rollup, and more. They all have their own unique features and strengths, and you should make your decision based on the needs and requirements of your specific project. Please refer to their official websites for details.
-
Appwrite
Appwrite - The open-source backend cloud platform. Add Auth, Databases, Functions, and Storage to your product and build any application at any scale while using your preferred coding languages and tools.
-
Browserify is a widely used JavaScript bundler with over 2 million NPM weekly downloads. In addition to Node.js support, allowing developers to use require() statements in the browser is one of its highlighted features.
-
something like https://github.com/sverweij/dependency-cruiser maybe https://github.com/pahen/madge or https://github.com/antoine-coulon/skott
-
-
While I agree the dynamic nature of CommonJS would be problematic, there were successful projects around treeshaking commonjs[0] that worked really well.
I think dynamic imports have some of the same footguns here, to be honest. Can't deny ESM is easier to statically analyze though, that much appears to be true across the board based on available evidence.
-
-
InfluxDB
Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.
-
-
JavaScript Commonjs related posts
- Run Bun Run! Building an AWS CDK Template with Bun
- Modern VS Code extension development: The basics
- 5 Different Tools to Bundle Node.js Apps
- Buildless workflow through import maps (featuring Lit, Shoelace and more)
- JavaScript Module Bundlers and all that Jazz ✨
- Benchmarking the AWS SDK
- How to use any NPM module with Browserify in the browser
-
A note from our sponsor - InfluxDB
www.influxdata.com | 28 Nov 2023
Index
What are some of the best open-source Commonj projects in JavaScript? This list will help you:
Project | Stars | |
---|---|---|
1 | webpack | 63,688 |
2 | parcel | 42,804 |
3 | browserify | 14,463 |
4 | madge | 7,933 |
5 | minipack | 3,077 |
6 | webpack-common-shake | 912 |
7 | YantraJS | 135 |
8 | common-shakeify | 105 |
9 | units-converter | 47 |