UNPKG

@lwys-pkg-releaser/node-bullshit-generator

Version:

Port of menzi11/BullshitGenerator@github.com to JavaScript

14 lines (12 loc) 311 B
/** * @type {string[]} */ module.exports = (function (db) { const authors = db["author"]; const sayings = db["saying"]; let ret = []; for (let i in authors) { ret.push(`${authors[i]}{前面垫话}${sayings[i]} {后面垫话}`); } return ret; })(require("./db"));