extract-unicode
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

extract-unicode

Extract all unicode codepoints for a given symbol. Useful for custom emoji libraries like Twemoji.

Usage

const ExtractUnicode = require("extract-unicode") // CommonJS
import ExtractUnicode from "extract-uncide" // ES6 & Typescript

ExtractUnicode("👨‍🦰") // [ '1f468', '200d', '1f9b0' ]

/extract-unicode/

    Package Sidebar

    Install

    npm i extract-unicode

    Weekly Downloads

    1

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    2.79 kB

    Total Files

    9

    Last publish

    Collaborators

    • exerra