Package Exports
- alphabetjs
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (alphabetjs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
/\ |ˉ| |ˉˉˉˉˉˉˉˉˉ\ |ˉ| |ˉ| /\ |ˉˉˉˉˉˉˉˉˉ\ |ˉˉˉˉˉˉˉˉˉˉ||ˉˉˉˉˉˉˉˉˉˉˉ|
/ \ | | | |ˉˉˉˉˉˉ\ \| | | | / \ | |ˉˉˉˉˉ\ | | |ˉˉˉˉˉˉˉˉ ˉˉˉˉ| |ˉˉˉˉ
/ /\ \ | | | | | || ˉˉˉˉˉˉ | / /\ \ | ˉˉˉˉˉ / | ˉˉˉˉˉˉˉˉ| | |
/ / \ \ | | | ˉˉˉˉˉˉˉ /| |ˉˉˉˉˉˉ| | / / \ \ | |ˉˉˉˉˉ\ \ | |ˉˉˉˉˉˉˉˉ | |
/ ˉˉˉˉ \ | | | |ˉˉˉˉˉˉˉˉ | | | | / ˉˉˉˉ \ | | / || | | |
/ /ˉˉˉˉˉˉ\ \| ˉˉˉˉˉˉˉˉ|| | | | | |/ /ˉˉˉˉˉˉ\ \| ˉˉˉˉˉ / | ˉˉˉˉˉˉˉˉ| | |
ˉˉ ˉˉ ˉˉˉˉˉˉˉˉˉˉ ˉˉˉ ˉ ˉ ˉˉ ˉˉ ˉˉˉˉˉˉˉˉˉ ˉˉˉˉˉˉˉˉˉˉ ˉˉˉ
#AlphabetJS
AlphabetJS is a small tool to help you output big English character in console/shell or anyother platform.
#Usage
###In browser
Import alphabet.js or alphabet.min.js
<script type="text/javascript" src="alphabet.min.js"></script>
Then you can use it to print character in console:
console.log(Alphabet('LJB23','stereo'));And then you get:
|ˉ|ˉ| |ˉˉˉˉˉˉˉˉˉ|ˉ||ˉˉˉˉˉˉˉˉˉ\ˉ\ /ˉˉˉˉˉˉˉˉ\ˉ\ |ˉˉˉˉˉˉˉˉˉˉ\ˉ\
| | | ˉˉˉˉˉ| |ˉ|ˉˉˉ| |ˉ|ˉˉˉ\ | | / /ˉ/ˉˉˉˉ\ \ \ˉˉˉˉˉˉˉˉˉ| |ˉ|
| | | | | | | ˉˉˉˉˉ / / ˉˉˉˉ / /ˉ/|ˉˉˉˉˉˉˉˉ /ˉ/
| | | | | | | |ˉ|ˉˉˉ\ \ \ |ˉˉˉˉˉˉˉˉ / / ˉˉˉˉˉˉˉˉˉ| \ˉ\
| | | \ˉ\ˉ\/ | | | | | / | || |ˉ|ˉˉˉˉˉˉˉ / |ˉ|
| ˉˉˉˉˉˉˉˉ|ˉ| \ ˉˉ / / | ˉˉˉˉˉ / /| ˉˉˉˉˉˉˉˉ|ˉ||ˉˉˉˉˉˉˉˉ /ˉ/
ˉˉˉˉˉˉˉˉˉˉˉˉˉˉ ˉˉˉˉˉˉ ˉˉˉˉˉˉˉˉˉˉˉˉ ˉˉˉˉˉˉˉˉˉˉˉˉˉˉˉˉˉˉˉˉˉˉˉˉˉˉˉ ###In node
Ise npm to install it
npm install alphabetjsThen you can require it in node:
alphabet = require('alphabetjs').print;
Then you can use it to print character in shell:
console.log(alphabet('KOBE24','planar'));And then you get:
|ˉ| /ˉ/ /ˉˉˉˉˉˉˉˉ\ |ˉˉˉˉˉˉˉˉˉ\ |ˉˉˉˉˉˉˉˉˉˉ| /ˉˉˉˉˉˉˉˉ\ /ˉˉˉ|
| | / / / /ˉˉˉˉˉˉ\ \| |ˉˉˉˉˉ\ | | |ˉˉˉˉˉˉˉˉ / /ˉˉˉˉˉˉ\ \ / /| |
| ˉˉˉ | | | | || ˉˉˉˉˉ / | ˉˉˉˉˉˉˉˉ|ˉˉ / / / / | |
| |ˉˉˉ\ \ | | | || |ˉˉˉˉˉ\ \ | |ˉˉˉˉˉˉˉˉ |ˉˉˉˉˉˉˉˉ / / / | |
| | \ \ \ \ / /| | / || | | |ˉˉˉˉˉˉˉ | ˉˉˉˉ ˉˉˉ|
| | \ \ \ ˉˉˉˉˉˉ / | ˉˉˉˉˉ / | ˉˉˉˉˉˉˉˉ|| ˉˉˉˉˉˉˉˉ| ˉˉˉˉˉ| |ˉˉ
ˉ ˉ ˉˉˉˉˉˉˉˉ ˉˉˉˉˉˉˉˉˉ ˉˉˉˉˉˉˉˉˉˉ ˉˉˉˉˉˉˉˉˉˉ ˉˉˉ
#API
###Alphabet(str,character_type);
@param {string} str : capital letter or number, the string you want to output.
@param {string} character_type : 'planar' or 'stereo' , the style of the character