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: 3 months 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 (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-29T13:39:39.000Z (7 months ago)
- Last Synced: 2024-10-12T08:28:46.791Z (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: 5
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
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.