Created
August 14, 2018 13:25
-
-
Save rowanmanning/ef406ed2cf08d948c4df66f380167d1e to your computer and use it in GitHub Desktop.
Bigify
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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(' '))); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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