cjstoesm
ES module converter
Converts CommonJS to ES Module syntax while preserving tree-shakability and idiomatic output
A tool that can transform CommonJS to ESM
397 stars
6 watching
17 forks
Language: TypeScript
last commit: 11 months ago
Linked from 1 awesome list
apicjsclicommonjscompileres6esmmodulesrolluptransformertreeshaketypescriptwebpack
Related projects:
| Repository | Description | Stars |
|---|---|---|
| | Converts CommonJS modules to ES module format | 21 |
| | Automates conversion of JavaScript projects to dual ES module and CommonJS packages for publication on npm. | 187 |
| | Transpiles JavaScript modules from one format to another | 26 |
| | Converts CosmWasm smart contracts into TypeScript classes to facilitate interaction with the contracts | 116 |
| | Transpiles ES6 modules into formats compatible with Rails asset pipeline | 87 |
| | A codemod script to transform commonjs import statements in JavaScript files to ES2015 imports | 4 |
| | A utility for loading CommonJS modules in an ES6 environment, with optional patching to always return the default export. | 5 |
| | A plugin to enforce code conventions for RequireJS modules with ESLint | 29 |
| | A shim polyfill for the Object.fromEntries method to ensure compatibility with older JavaScript environments. | 33 |
| | A polyfill shim for the String.prototype.replaceAll method to ensure compatibility with ESnext proposal in older JavaScript environments. | 36 |
| | A tool that demonstrates how to use CSS modules with Remix.run in a TypeScript project | 10 |
| | Tools and utilities for building and managing WebAssembly projects in modern frontend development | 56 |
| | An ES2017 spec-compliant shim to ensure compatibility in environments lacking native Object.entries support. | 57 |
| | Tools to convert various markup languages into Yew macros for building web applications | 3 |
| | A utility that converts a hast syntax tree to a framework-compatible JSX runtime | 56 |