Skip to content

Latest commit

 

History

History
44 lines (25 loc) · 1.57 KB

README.md

File metadata and controls

44 lines (25 loc) · 1.57 KB

CJS/ESM badges

Follow @voxpelli@mastodon.social

Pick the right one and add to your repo to, to help people see which type of module the project is.

ECMAScript module ("ESM")

Module type: ESM

See more info here: https://nodejs.org/api/esm.html

[![Module type: ESM](https://img.shields.io/badge/module%20type-esm-brightgreen)](https://github.com/voxpelli/badges-cjs-esm)

CommonJS module ("CJS")

See more info here: https://nodejs.org/api/modules.html#modules-commonjs-modules

Module type: CJS

[![Module type: CJS](https://img.shields.io/badge/module%20type-cjs-brightgreen)](https://github.com/voxpelli/badges-cjs-esm)

Dual published module

See more info here: https://nodejs.org/api/packages.html#dual-commonjses-module-packages

Module type: CJS+ESM

[![Module type: CJS+ESM](https://img.shields.io/badge/module%20type-cjs%2Besm-brightgreen)](https://github.com/voxpelli/badges-cjs-esm)

Contributions

Are very welcome! I simply made this one to document how I add badges, in the hopes it could be of help to others as well.

Similar work