An open API service indexing awesome lists of open source software.

https://github.com/huskydog9988/offtext

Convert your ASCII into weird Unicode strings
https://github.com/huskydog9988/offtext

ascii cli command-line-tool fun js node-module npm-package offtext unicode

Last synced: about 2 months ago
JSON representation

Convert your ASCII into weird Unicode strings

Awesome Lists containing this project

README

          

# Offtext

[![Package](https://github.com/Huskydog9988/offtext/workflows/Package/badge.svg)](https://github.com/Huskydog9988/offtext/actions)
[![current version](https://img.shields.io/npm/v/offtext.svg?style=flat-square)](https://www.npmjs.com/package/offtext)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
[![forthebadge](https://forthebadge.com/images/badges/built-with-grammas-recipe.svg)](https://forthebadge.com)
[![forthebadge](https://forthebadge.com/images/badges/designed-in-ms-paint.svg)](https://forthebadge.com)
[![forthebadge](https://forthebadge.com/images/badges/powered-by-black-magic.svg)](https://forthebadge.com)

> Convert your ASCII into weird Unicode strings

Offtext converts your traditional text into incongruous text, straight out of a seizure.

## ๐Ÿƒโ€โ™€๏ธ Quick Usage

```bash
npx offtext randomcase
```

## ๐Ÿ“ฅ Install and Run

You can also install Offtext as a global cli

```bash
npm install -g offtext
offtext gen
```

## ๐Ÿ“’ Examples

Bash

```bash
offtext randomcase "The Text's CASE is random"
# Output: tHE TEXT'S CaSE Is RandOm

offtext cracked this text is super broken looking..
# Output: โ‚ฎ๊ฉ๊’ส‚ ๐“ฝ๐‘’๏ฝ˜๊“„ ๊‚‘๐”ฐ ึ†สŠืง๐”ผะณ ษฎ๏ฝ’๐จ๐“ด๐”ผ๊‹Š แ’ช๐• ๐”ฌ๐˜ฌIล‡๐™œ..

offtext reverse it has been reversed
# Output: desrever neeb sah ti
```

JS

```js
// CommonJS
const offtext = require('offtext')
// ES6
import * as offtext from 'offtext'

const text = 'some random text'

console.log(offtext.randomCase(text))
// Outputs: soME rAndoM tExt

console.log(offtext.cracked(text))
// Outputs: ยง๐‘œ๐“‚๐‘’ ษพฮ›โ“๐”ก๐“ธ๐™ข Tฮฃ๐”๏ฝ”

console.log(offtext.reverse(text))
// Outputs: txet modnar emos
```

## ๐Ÿ“ Notes

- The randomcase command is the default command, meaning it can be used like: `offtext `