Skip to content

Instantly share code, notes, and snippets.

@voxpelli
Created August 5, 2022 17:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save voxpelli/e9d8c5675dbd187c0fd2a30be998c4ff to your computer and use it in GitHub Desktop.
Save voxpelli/e9d8c5675dbd187c0fd2a30be998c4ff to your computer and use it in GitHub Desktop.
A selection of shield.io badges to indicate module type

Badges

Pick the right one and add to your repo to show what kind of module it is

Module type: ESM

[![Module type: ESM](https://img.shields.io/badge/module%20type-esm-brightgreen)](https://nodejs.org/api/esm.html)

Module type: CJS

[![Module type: CJS](https://img.shields.io/badge/module%20type-cjs-brightgreen)](https://nodejs.org/api/modules.html#modules-commonjs-modules)

Module type: CJS+ESM

[![Module type: CJS+ESM](https://img.shields.io/badge/module%20type-cjs%2Besm-brightgreen)](https://nodejs.org/api/packages.html#dual-commonjses-module-packages)

Similar work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment