Skip to content

A selection of shield.io badges to indicate ones type of module

License

Notifications You must be signed in to change notification settings

voxpelli/badges-cjs-esm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

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

About

A selection of shield.io badges to indicate ones type of module

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project