Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pyk/typescript-esm-cjs

Tutorial on how to create ESM and CJS library with one TypeScript codebase
https://github.com/pyk/typescript-esm-cjs

cjs commonjs ecmascript esm

Last synced: about 2 months ago
JSON representation

Tutorial on how to create ESM and CJS library with one TypeScript codebase

Awesome Lists containing this project

README

        

This is an example of npm package that can be used as [ECMAScript][2] Module
(via `import`) and [CommonJS][3] library (via `require`). This npm package is
written in [TypeScript programming languages][4].

See complete tutorial: [How to create ECMAScript and CommonJS library with
TypeScript][1].

[1]:
https://pyk.sh/tutorials/how-to-create-ecmascript-and-commonjs-library-with-typescript/
[2]: https://pyk.sh/questions/what-is-ecmascript-es/
[3]: https://pyk.sh/questions/what-is-commonjs-cjs/
[4]: https://pyk.sh/questions/what-is-typescript/