1.0.1 β€’ Published 2 years ago

unfonts v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Unfonts

unfonts.png Discord support server

Installation

npm i unfonts

Usage

const unfonts = require("unfonts")
let input = "πŸ…¦β‚³β‚¦γ„’ ο½²β™’ πŸ…’β± δΉ‡ε‚ΰ½ž fonts ?πŸ€”"

console.log(unfonts.clean(input)) // Output: want tO clear fonts
// The ? and πŸ€” got removed because it is not in the alphabet.
// If the want the non-alphabet strings to not get removed use {nonAlphabet:true}
// Example:
console.log(unfonts.clean(input, {nonAlphabet:true})) // Output: want tO clear fonts ?πŸ€”