Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
reverses ascii art
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
tests
.gitignore
LICENSE
README.md
index.js
package.json
test.js

README.md

Ascii Art Reverse

This is package is essentially a rainbow being farted from the aft portion of a unicorn. It's pure magic.

Install

npm install ascii-art-reverse

Usage

var reverse = require('ascii-art-reverse');

var art = [
  '    ("-^-/")  ',
  "    `o__o' ]  ",
  "    (_Y_) _/  ",
  "  _..`--'-.`, ",
  " (__)_,--(__) ",
  "     7:   ; 1 ",
  "   _/,`-.-' : ",
  "  (_,)-~~(_,) "
].join('\n')

console.log(reverse(art));

Output:

 ("\-^-")   
 [ 'o__o`   
 \_ (_Y_)   
,`.-'--`.._ 
(__)--,_(__)
1 ;   :7    
: '-.-`,\_  
(,_)~~-(,_) 

Like I said, MAGIC.

Something went wrong with that request. Please try again.