/tanzaku

Format text like japanese TANZAKU

Primary LanguageJavaScriptMIT LicenseMIT

tanzaku

npm version

Format text like japanese TANZAKU

Usage

In Command Line

npm install -g tanzaku
tanzaku 'Hello World!'
┏┷┓
┃ ┃
┃H┃
┃e┃
┃l┃
┃l┃
┃o┃
┃ ┃
┃W┃
┃o┃
┃r┃
┃l┃
┃d┃
┃︕┃
┃ ┃
╰̚━┛⁾⁾

In JavaScript

npm install --save tanzaku
var tanzaku = require('tanzaku');

console.log(tanzaku('Hello World!'));

Development

git clone git@github.com:kjirou/tanzaku.git
cd ./tanzaku
npm install
brew install flow  # In the case of Mac OS X (optional)

Refs

短冊メーカー(Tanzaku Generator): http://tanzaku.ch3cooh.jp/