InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises. Learn more →
Top 15 JavaScript Esm 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.
I'm not gonna lie, I didn't read all that, but the node example alone proves you either didn't read the guy you replied to or haven't been coding long enough to grok the problem.
What if you want to start a new project using the latest postgres version because postgres has a new feature that will be handy, but you already maintain another project that uses a postgres feature or relies on behaviour that was removed/changed in the latest version? You're going to set up a whole new VM on the internet to be a staging environment and instead of setting up a testing and deployment pipeline you're going to just FTP / remote-ssh into it and change live code?
you define an apps entire chain of dependencies in a compose file / set of kube manifests / terraform config for ecs. Then in the container definition itself you lock down things like C library and distro versions: maybe you use specially patched imagemagick on one project or a pdf generator on another, and fontconfig defaults were updated and it changed how aliasing works between distro releases and now your fonts are all fugly in generated exports...
nevermind this, check out this thread to destroy your illusion that simply having node installed locally will make your next project super future proof https://github.com/webpack/webpack/issues/14532
if you respond please do not open with "yeah but rust", I can still compile Fortran code too
-
-
Klotho
AWS Cloud-aware infrastructure-from-code toolbox [NEW]. Build cloud backends with Infrastructure-from-Code (IfC), a revolutionary technique for generating and updating cloud infrastructure. Try IfC with AWS and Klotho now (Now open-source)
-
-
Project mention: Oh my god I hate JavaScript libraries that do this | reddit.com/r/programminghorror | 2022-09-14
Functions are defined in other files, ex: https://github.com/LeaVerou/color.js/blob/main/src/equals.js
-
graphql-upload
Middleware and an Upload scalar to add support for GraphQL multipart requests (file uploads via queries and mutations) to various Node.js GraphQL servers.
Project mention: What is the datatype that can be used for a create mutation for uploading a file of doc/pdf type? | reddit.com/r/graphql | 2022-02-01Look at the grapqhl file upload spec (https://github.com/jaydenseric/graphql-upload). Basically the custom type File is just a string path which the server will use to get the file from the multipart request.
-
-
jest-light-runner
A Jest runner that runs tests directly in bare Node.js, without virtualizing the environment.
Project mention: Meta Is Transferring Jest to the OpenJS Foundation | news.ycombinator.com | 2022-05-11Hi! Christoph from Jest here. Your feedback is great, and 100% valid. Jest was built a long time ago when ES modules did not exist, and we are still carrying some of that legacy baggage around.
The good news is that we have never been shy about making breaking changes and we are working on cleaning the house and making many legacy components optional, all while bringing the existing community with us.
As for mocking, you don’t have to rely on Jest’s inbuilt mocking libraries and you can use the ones you like better.
If you care more about raw performance and ES module support and less about isolation, check out the jest-light-runner: https://github.com/nicolo-ribaudo/jest-light-runner
We also mentioned it in our Jest 28 blog post: https://jestjs.io/blog/2022/04/25/jest-28
I’m wondering if it’s time to consider taking a big step and making this runner the default, and give people the optionality of isolation. However, in my past experience at large companies (both first-hand and second-hand experience), the lack of isolation in tests led to major reliability problems with testing infrastructure. I’m still feeling like it’s the better default today, but maybe we should have a serious discussion about Jest’s next set of defaults.
-
Appwrite
Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!
-
-
greenwood
Greenwood is your full-stack workbench for the web, focused on supporting modern web standards and development to help you create your next project.
Project mention: Server-Side Includes (SSI) - Porkbun static web hosting | reddit.com/r/web_design | 2023-01-03My project Greenwood might be able to help here, depending on what your current setup looks like. Inspired by the old HTML Includes spec, I created a plugin for replicating this sort of edge side include behavior.
-
-
-
npm-package-ts-scaffolding
A simple scaffolding tool for creating a new project to be published to npm. It provides a build command that will compile your code to a CommonJS Node 14.16 target, allowing named imports for CommonJS packages inside ESM files.
This is a zero dependency package that provides some expirable implementations of common Data Structures. Thanks to the npm-package-ts-scaffolding it is importable both via CommonJS and ES Modules. It currently supports the following Data Structures:
-
-
-
@anatine/esbuild-decorators + old good monkey patching. Fragile. Wrong. Terrible.
-
Sonar
Write Clean JavaScript Code. Always.. Sonar helps you commit clean code every time. With over 300 unique rules to find JavaScript bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.
JavaScript Esm related posts
- My Journey in Open Source - expirables
- Everything You Need to Know About JavaScript Import Maps
- Tired of your favorite packages being ESM-only? I created a Github Org with packages automatically transformed to ESM/CommonJS hybrids
- Public CDNs Are Useless and Dangerous
- I love typescript, but I really can’t stand:
- trymodule supporting ES modules
- What's the state of various Deno quality of life tools?
-
A note from our sponsor - InfluxDB
www.influxdata.com | 28 Jan 2023
Index
What are some of the best open-source Esm projects in JavaScript? This list will help you:
Project | Stars | |
---|---|---|
1 | webpack | 62,409 |
2 | esm | 5,217 |
3 | jsdelivr | 4,738 |
4 | color.js | 1,356 |
5 | graphql-upload | 1,356 |
6 | xv | 691 |
7 | jest-light-runner | 195 |
8 | klap 👏 | 176 |
9 | greenwood | 74 |
10 | oletus | 43 |
11 | script-type | 23 |
12 | npm-package-ts-scaffolding | 13 |
13 | trymodule | 2 |
14 | es-pack-js | 2 |
15 | nestjs-esm-fix | 1 |