totsuzen-text
v1.0.0
Published
Convert to text like '突然の死' from plain text.
Readme
What is this?
My Purpose is generate text like '突然の死'.
See here for details.
Example
import totsuzen from 'totsuzen-text';
console.log(totsuzen('hello world'));
/*
_人人人人人人_
> hello world <
 ̄YYYYYY ̄
*/Decorators
I prepared a decorator!
import totsuzen from 'totsuzen-text/lib/decorator';
class Sample {
@totsuzen
shout() {
return '5000兆円ほしい!';
}
}
const text = new Sample().shout();
console.log(text);
/*
_人人人人人人人人人_
> 5000兆円ほしい! <
 ̄YYYYYYYYY ̄
*/Command Line
ttzn 'command line!'
↓
_人人人人人人人_
> command line! <
 ̄YYYYYYY ̄LICENSE
MIT
