選択できるのは25トピックまでです。
トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
cn.yimian.xyz
482ca54e2b
|
3年前 | |
---|---|---|
src | 3年前 | |
.gitignore | 4年前 | |
Dockerfile | 4年前 | |
LICENSE | 4年前 | |
README.md | 4年前 | |
fy.js | 3年前 | |
mksec | 4年前 | |
package.json | 4年前 | |
pm2.json | 4年前 | |
yarn.lock | 4年前 |
README.md
sentence-generator
Quick Start
cli tools
$ npm i -g mksec
Use in your project
$ npm i mksec
cli
Generate sentences by word
$ mksec g [word]
Generate one sentence by word
$ mksec o [word]
Generate sentences by word list file
$ mksec f [file]
Use as lib
const mksec = require('mksec');
(async ()=>{
console.log(await mksec({
word: 'Your word',
//url: 'optional api url'
}));
})()