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
393 stars
6 watching
16 forks
Language: TypeScript
last commit: 6 days ago
Linked from 1 awesome list
apicjsclicommonjscompileres6esmmodulesrolluptransformertreeshaketypescriptwebpack
Related projects:
Repository | Description | Stars |
---|---|---|
eight04/rollup-plugin-cjs-es | Converts CommonJS modules to ES module format | 21 |
ai/dual-publish | Automates conversion of JavaScript projects to dual ES module and CommonJS packages for publication on npm. | 187 |
stealjs/transpile | Transpiles JavaScript modules from one format to another | 26 |
cosmwasm/ts-codegen | Converts CosmWasm smart contracts into TypeScript classes to facilitate interaction with the contracts | 116 |
davyjoneslocker/es6_module_transpiler-rails | Transpiles ES6 modules into formats compatible with Rails asset pipeline | 87 |
agirton/webpack-babel-codemod | A codemod script to transform commonjs import statements in JavaScript files to ES2015 imports | 4 |
calvinmetcalf/es6-translate | A utility for loading CommonJS modules in an ES6 environment, with optional patching to always return the default export. | 5 |
cvisco/eslint-plugin-requirejs | A plugin to enforce code conventions for RequireJS modules with ESLint | 29 |
es-shims/object.fromentries | A shim polyfill for the Object.fromEntries method to ensure compatibility with older JavaScript environments. | 33 |
es-shims/string.prototype.replaceall | A polyfill shim for the String.prototype.replaceAll method to ensure compatibility with ESnext proposal in older JavaScript environments. | 36 |
jacob-ebey/remix-css-modules | A tool that demonstrates how to use CSS modules with Remix.run in a TypeScript project | 10 |
raphamorim/xwasm | Tools and utilities for building and managing WebAssembly projects in modern frontend development | 56 |
es-shims/object.entries | An ES2017 spec-compliant shim to ensure compatibility in environments lacking native Object.entries support. | 57 |
oovm/note-to-yew | Tools to convert various markup languages into Yew macros for building web applications | 3 |
syntax-tree/hast-util-to-jsx-runtime | A utility that converts a hast syntax tree to a framework-compatible JSX runtime | 55 |