1.0.0 • Published 5 years ago

totsuzen-text v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

npm version License: MIT

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

1.0.0

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago