Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/waldekmastykarz/node-ts-cjs-esm
Create an npm package that supports both CommonJS and ECMAScript Modules (ESM) using TypeScript.
https://github.com/waldekmastykarz/node-ts-cjs-esm
commonjs esm javascript npm typescript
Last synced: 28 days ago
JSON representation
Create an npm package that supports both CommonJS and ECMAScript Modules (ESM) using TypeScript.
- Host: GitHub
- URL: https://github.com/waldekmastykarz/node-ts-cjs-esm
- Owner: waldekmastykarz
- License: mit
- Created: 2024-06-29T12:35:01.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-06-29T13:39:39.000Z (4 months ago)
- Last Synced: 2024-06-29T14:48:18.455Z (4 months ago)
- Topics: commonjs, esm, javascript, npm, typescript
- Language: Shell
- Homepage: https://blog.mastykarz.nl/create-npm-package-commonjs-esm-typescript/
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sample package with support for CommonJS and ES modules in TypeScript
This is a sample package that demonstrates how to support both CommonJS and ES modules in TypeScript.