Skip to content

Instantly share code, notes, and snippets.

View Zo-Bro-23's full-sized avatar

Zohan Subhash Zo-Bro-23

View GitHub Profile
@Zo-Bro-23
Zo-Bro-23 / emojis.md
Last active February 23, 2023 11:53
Common emojis rendered in Apple/Google/Twitter/Microsoft/WhatsApp/Samsung styles 🧑🏽‍💻

🙂 Emojis

@aelbore
aelbore / esm-cjs-modules.md
Last active May 5, 2024 03:07
Publish your npm package as ES Module, and backward compatibility CommonJS

Create your library

  • Initialize project npm init -y
  • Create esm module ./src/esm/my-lib.js
    function addNumber(value, value2) {
      return value + value2;
    }
    
    export { addNumber };