Format text like japanese TANZAKU
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
test
.flowconfig
.gitignore
.npmignore
LICENSE
README.md
index.js
package.json

README.md

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/