Skip to content

dnmfarrell/mojibak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Mojibak

Utility to recover garbled (mojibaked) text. Inspired by Ruby's mojibake.

Installation

npm install mojibak

Usage

import {recover} from "mojibak";
const sandwich = recover("â\u0080\u008BBigMac");

One liner

NODE_PATH=$(npm root -g) node -e \
  'const {recover} = require("mojibak");console.log(recover("Itâ\u0080\u0099s cool"))'

About

Node module to recover mojibaked text

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published