s9a

0.1.0 • Public • Published

s9a

Numeronymize synesthesia 🌺

npm install s9a

s9a(text)

Replace matches within text with lowercase numeronym string "s9a"

// Matches several translations
s9a("synesthesia") // "s9a"
s9a("synaesthesia") // "s9a"
s9a("sinestesia") // "s9a"
s9a("synesthésie") // "s9a"
s9a("synesthésie") // "s9a"
// Case doesn't matter
s9a("SYNESTHESIA") // "s9a"
// Delimits via word boundary
s9a("notsynesthesia") // "notsynesthesia"
s9a("Synesthesia?") // "s9a?"
// Universally available
import s9a from "s9a" // ES6 loaders
const s9a = require("s9a") // CommonJS
const s9a = self.s9a // Elsewhere

/s9a/

    Package Sidebar

    Install

    npm i s9a

    Weekly Downloads

    10

    Version

    0.1.0

    License

    CC0-1.0

    Unpacked Size

    9.29 kB

    Total Files

    6

    Last publish

    Collaborators

    • ryanve