Skip to content

Instantly share code, notes, and snippets.

@rowanmanning
Created August 14, 2018 13:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save rowanmanning/ef406ed2cf08d948c4df66f380167d1e to your computer and use it in GitHub Desktop.
Save rowanmanning/ef406ed2cf08d948c4df66f380167d1e to your computer and use it in GitHub Desktop.
Bigify
#!/usr/bin/env node
bigify = string => Array.from(string).map(letter => letter == ' ' ? ':blank:' : `:b${letter}:`).join('')
process.stdout.write(bigify(process.argv.slice(2).join(' ')));
{
"name": "bigify",
"version": "1.0.0",
"bin": "./bigify.js"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment