1.1.2 โ€ข Published 8 months ago

character.js v1.1.2

Weekly downloads
-
License
ISC
Repository
github
Last release
8 months ago

Character.JS

Installation

$ npm install character.js

Usage

const character = require("character.js");

character.normalize("๐Ÿ„ฝ๐™Š๐“กโ“‚๐˜ผโ„“โ…ˆ๐“ฉE ๐Ÿ†’ ๐Ÿ˜„"); // "NORMALIZE COOL ๐Ÿ˜„"
character.normalize("๐Ÿ„ฝ๐™Š๐“กโ“‚๐˜ผโ„“โ…ˆ๐“ฉE ๐Ÿ†’ ๐Ÿ˜„", true); // "NORMALIZE COOL"

character.emojify("Emojify'"); // "๐Ÿ‡ช๐Ÿ‡ฒ๐Ÿ‡ด๐Ÿ‡ฏ๐Ÿ‡ฎ๐Ÿ‡ซ๐Ÿ‡พ'"
character.emojify("Emojify'", true); // "๐Ÿ‡ช๐Ÿ‡ฒ๐Ÿ‡ด๐Ÿ‡ฏ๐Ÿ‡ฎ๐Ÿ‡ซ๐Ÿ‡พ"

character.tinyText("Tiny text'"); // "แต—แถฆโฟสธ แต—แต‰หฃแต—'"
character.tinyText("Tiny text'", true); // "แต—แถฆโฟสธ แต—แต‰หฃแต—"

character.reverse("Reverse'"); // "ษนวสŒวษนsว'"
character.reverse("Reverse'", true); // "'วsษนวสŒวษน"
character.reverse("Reverse'", false, true); // "ษนวสŒวษนsว"

character.ascii("Ascii", "Error"); // "Ascii" or, if there is an error "Error" in ascii

/*   _             _ _
    / \   ___  ___(_|_)
   / _ \ / __|/ __| | |
  / ___ \\__ \ (__| | |
 /_/   \_\___/\___|_|_|
*/

character.startUpper("start upper"); // Start Upper
character.toggleCase("toggle CASE"); // TOGGLE case
character.wordCount("Word count"); // 2
character.sentenceCount("Sentence. Sentence"); // 2
character.emojiCount("Emoji Count ๐Ÿ™‚๐Ÿ™ƒ"); // 2
1.1.1

8 months ago

1.1.0

8 months ago

1.1.2

8 months ago

1.0.15

8 months ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago