0.2.0 โ€ข Published 5 years ago

decoji v0.2.0

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

Decoji

๐ƒ๐ž๐œ๐จ๐ฃ๐ข

๐ท๐‘’๐‘๐‘œ๐‘—๐‘–

๐‘ซ๐’†๐’„๐’๐’‹๐’Š

๐’Ÿe๐’ธo๐’ฟ๐’พ

๐““๐“ฎ๐“ฌ๐“ธ๐“ณ๐“ฒ

๐”‡๐”ข๐” ๐”ฌ๐”ง๐”ฆ

๐”ป๐•–๐•”๐• ๐•›๐•š

๐•ฏ๐–Š๐–ˆ๐–”๐–๐–Ž

๐–ฃ๐–พ๐–ผ๐—ˆ๐—ƒ๐—‚

๐——๐—ฒ๐—ฐ๐—ผ๐—ท๐—ถ

๐˜‹๐˜ฆ๐˜ค๐˜ฐ๐˜ซ๐˜ช

๐˜ฟ๐™š๐™˜๐™ค๐™Ÿ๐™ž

๐™ณ๐šŽ๐šŒ๐š˜๐š“๐š’

โ’นโ“”โ“’โ“žโ“™โ“˜

๐Ÿ„“โ’ โ’žโ’ชโ’ฅโ’ค

Version Codecov License

CLI

Usage: decoji [options] [string]

Options:
  -V, --version        output the version number
  -s, --style <style>  transform style name (default: selected at random)
  -l, --list           list all styles
  -m, --mapping        show mapping for given style
  -h, --help           output usage information
$ decoji "Lorem ipsum dolor sit amet,"
๐‹๐จ๐ซ๐ž๐ฆ ๐ข๐ฉ๐ฌ๐ฎ๐ฆ ๐๐จ๐ฅ๐จ๐ซ ๐ฌ๐ข๐ญ ๐š๐ฆ๐ž๐ญ,
$ decoji --style mathematical-bold-script "Lorem ipsum dolor sit amet, ..."
๐“ฌ๐“ธ๐“ท๐“ผ๐“ฎ๐“ฌ๐“ฝ๐“ฎ๐“ฝ๐“พ๐“ป ๐“ช๐“ญ๐“ฒ๐“น๐“ฒ๐“ผ๐“ฌ๐“ฒ๐“ท๐“ฐ ๐“ฎ๐“ต๐“ฒ๐“ฝ, ๐“ผ๐“ฎ๐“ญ ๐“ญ๐“ธ ๐“ฎ๐“ฒ๐“พ๐“ผ๐“ถ๐“ธ๐“ญ ๐“ฝ๐“ฎ๐“ถ๐“น๐“ธ๐“ป ๐“ฒ๐“ท๐“ฌ๐“ฒ๐“ญ๐“ฒ๐“ญ๐“พ๐“ท๐“ฝ ๐“พ๐“ฝ ๐“ต๐“ช๐“ซ๐“ธ๐“ป๐“ฎ ๐“ฎ๐“ฝ ๐“ญ๐“ธ๐“ต๐“ธ๐“ป๐“ฎ ๐“ถ๐“ช๐“ฐ๐“ท๐“ช ๐“ช๐“ต๐“ฒ๐“บ๐“พ๐“ช.
$ decoji --list | head -n 5
{
  "mathematical-bold": "๐“๐ก๐ž ๐ช๐ฎ๐ข๐œ๐ค ๐›๐ซ๐จ๐ฐ๐ง ๐Ÿ๐จ๐ฑ ๐ฃ๐ฎ๐ฆ๐ฉ๐ฌ ๐จ๐ฏ๐ž๐ซ ๐ญ๐ก๐ž ๐ฅ๐š๐ณ๐ฒ ๐๐จ๐ . ๐Ÿ๐Ÿ๐Ÿ‘๐Ÿ’๐Ÿ“๐Ÿ”๐Ÿ•๐Ÿ–๐Ÿ—๐ŸŽ",
  "mathematical-italic": "๐‘‡h๐‘’ ๐‘ž๐‘ข๐‘–๐‘๐‘˜ ๐‘๐‘Ÿ๐‘œ๐‘ค๐‘› ๐‘“๐‘œ๐‘ฅ ๐‘—๐‘ข๐‘š๐‘๐‘  ๐‘œ๐‘ฃ๐‘’๐‘Ÿ ๐‘กh๐‘’ ๐‘™๐‘Ž๐‘ง๐‘ฆ ๐‘‘๐‘œ๐‘”. 1234567890",
  "mathematical-bold-italic": "๐‘ป๐’‰๐’† ๐’’๐’–๐’Š๐’„๐’Œ ๐’ƒ๐’“๐’๐’˜๐’ ๐’‡๐’๐’™ ๐’‹๐’–๐’Ž๐’‘๐’” ๐’๐’—๐’†๐’“ ๐’•๐’‰๐’† ๐’๐’‚๐’›๐’š ๐’…๐’๐’ˆ. 1234567890",
  "mathematical-script": "๐’ฏ๐’ฝe ๐“†๐“Š๐’พ๐’ธ๐“€ ๐’ท๐“‡o๐“Œ๐“ƒ ๐’ปo๐“ ๐’ฟ๐“Š๐“‚๐“…๐“ˆ o๐“‹e๐“‡ ๐“‰๐’ฝe ๐“๐’ถ๐“๐“Ž ๐’นog. 1234567890",
$ decoji --mapping --style circled | head -n 5
{
  "0": "โ“ช",
  "1": "โ‘ ",
  "2": "โ‘ก",
  "3": "โ‘ข",

API

import { decorate, styleNames } from "decoji";

// styleNames; // => ["mathematical-bold", "mathematical-italic", ...]
console.log(decorate("Lorem ipsum...", "mathematical-bold-fraktur"));
0.2.0

5 years ago

0.1.0

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago