suddendeath
v0.2.0
Published
Ascii art of sudden death generator
Downloads
7
Readme
suddendeath
Ascii art of sudden death (突然の死) generator
It is inspired by Perl's module Acme::SuddenlyDeath.
Install
$ npm install -g suddendeath
CLI
$ suddendeath
_人人人人人_
> 突然の死 <
 ̄^Y^Y^Y^Y^Y ̄
$ suddendeath 仕事しろ!
_人人人人人人_
> 仕事しろ! <
 ̄^Y^Y^Y^Y^Y^Y ̄
# single line mode
$ suddendeath -s
> 突然の死 <
# for proportional font
$ suddendeath -p
_人人人人_
> 突然の死 <
 ̄^Y^Y^Y^ ̄
# multi lines
$ suddendeath 突然の 死
_人人人人_
> 突然の <
> 死 <
 ̄^Y^Y^Y^Y ̄
API
var
suddendeath = require('suddendeath');
console.log(suddendeath());
// => _人人人人人_
// => > 突然の死 <
// =>  ̄^Y^Y^Y^Y^Y ̄
console.log(suddendeath('突然の死', true)); // proportional
// => _人人人人_
// => > 突然の死 <
// =>  ̄^Y^Y^Y^ ̄
console.log(suddendeath('突然の\n死'));
// => _人人人人_
// => > 突然の <
// => > 死 <
// =>  ̄^Y^Y^Y^Y ̄
console.log(suddendeath.signle());
// => > 突然の死 <
License
It is licensed by MIT. See LICENSE.