lorem-ipsum-tc
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "lorem-ipsum-tc", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Tool for creating Traditional Chinese lorem ipsum", | ||
@@ -18,5 +18,7 @@ "main": "index.js", | ||
"lorem-ipsum", | ||
"lorem ipsum", | ||
"lorem", | ||
"Traditional Chinese", | ||
"chinese", | ||
"Traditional Chinese", | ||
"lorem" | ||
"traditional" | ||
], | ||
@@ -23,0 +25,0 @@ "bugs": { |
# lorem-ipsum-tc | ||
Creating creating Traditional Chinese lorem ipsum. | ||
Creating Traditional Chinese lorem ipsum. | ||
繁體中文測試文本生成工具 | ||
## example | ||
@@ -18,3 +17,8 @@ | ||
## Installation | ||
```bash | ||
npm i lorem-ipsum-tc | ||
``` | ||
## option | ||
@@ -29,14 +33,21 @@ | ||
- charList: string | ||
There is a default charList, however you can use your own charList by String. | ||
EX: loremIpsumTC.createChar("甲乙丙丁") | ||
- withLoren: boolean | ||
If withLoren is true, line or paragraph would start with "羅倫" which means lorem in Chinese. | ||
Default is true. | ||
The default is true. | ||
- numOfChar | ||
Number of characters would be created.("羅倫" is NOT counted.) | ||
Default is random form 2 to 21. | ||
The number of characters would be created.("羅倫" is NOT counted.) | ||
The default is random from 2 to 21. | ||
- numOfLine | ||
Number of lines would be created. | ||
Default is random form 2 to 6. | ||
The number of lines would be created. | ||
The default is random from 2 to 6. | ||
## Contributing | ||
@@ -43,0 +54,0 @@ |
11909
58