You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
cn.yimian.xyz 482ca54e2b fy 3 years ago
src fix_blocked 3 years ago
.gitignore add server 4 years ago
Dockerfile docker 4 years ago
LICENSE Initial commit 4 years ago
README.md Update README.md 4 years ago
fy.js fy 3 years ago
mksec fix bugs cil 4 years ago
package.json v2.5.1 4 years ago
pm2.json docker 4 years ago
yarn.lock add server 4 years ago

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'
  }));
})()