Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

unfonts

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

unfonts

A simple package made to help you clean strings from fonts.

unpublished
latest
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

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 ?🤔

Keywords

fonts

FAQs

Package last updated on 13 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts