{"_id":"@digital-taco/ipsum-generator","_rev":"3-9b9c01dac417ff18db5bc1f8676cb1b9","name":"@digital-taco/ipsum-generator","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"name":"@digital-taco/ipsum-generator","version":"0.1.0","description":"A NodeJS generalized lorem-ipsum generator that can use any word set.","main":"./dist/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"npx tsc","build:watch":"npx tsc --watch"},"author":{"name":"@digital-taco"},"license":"ISC","devDependencies":{"typescript":"^4.4.4","@digital-taco/eslint-config":"^1.1.1"},"bin":{"ipsum-generator":"dist/cli.js"},"gitHead":"7d1e41e780bfe81f7e4dfb9c57feae0bd2e94264","_id":"@digital-taco/ipsum-generator@0.1.0","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-CJwJQuERqN2F137wiRrH2mfs1/S+Q9nbMag1ZpMYzX2drkJUM2UP3TVrXrcFTsK0OG8vEZ2jMVrYnsjWR8zTnw==","shasum":"1c340ae7fa973e6b00b8766ae556ee1fdf4e7070","tarball":"https://registry.npmjs.org/@digital-taco/ipsum-generator/-/ipsum-generator-0.1.0.tgz","fileCount":14,"unpackedSize":26908,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE83wXOxO9IWlb4w9O2NgxfZ5dlcLOD9tCTiAYG1bipcAiB+cmJYtXPAV6bwLIdpJ8rtfZGG1a+1MgRmnDfGa8NucQ=="}]},"_npmUser":{"name":"zlw11063","email":"zlw11063@gmail.com"},"directories":{},"maintainers":[{"name":"kyle-west","email":"kyle@peerfessional.com"},{"name":"zlw11063","email":"zlw11063@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ipsum-generator_0.1.0_1634916451981_0.10679828026697447"},"_hasShrinkwrap":false},"0.2.0":{"name":"@digital-taco/ipsum-generator","version":"0.2.0","description":"A NodeJS generalized lorem-ipsum generator that can use any word set.","main":"./dist/index.js","module":"./dist/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rollup --config","build:watch":"rollup --config --watch"},"author":{"name":"@digital-taco"},"license":"ISC","devDependencies":{"@digital-taco/eslint-config":"^1.1.1","@rollup/plugin-typescript":"^8.3.0","typescript":"^4.4.4"},"dependencies":{"corpora-project":"^0.2.0","rollup":"^2.58.0","tslib":"^2.3.1"},"gitHead":"f8a3616f8cb58f1c5759ef66a5e8665908099466","_id":"@digital-taco/ipsum-generator@0.2.0","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-ejR1rzw33WtfNlwZaO/dkPbDH1Kx/PzMRqUGbF2i579ZF2zq+L30jqgZgzvC8W162dxMj4KnMrRhDHoaK4xoTA==","shasum":"fd2ae769b61e84bed2db50634b2782a6e027e90b","tarball":"https://registry.npmjs.org/@digital-taco/ipsum-generator/-/ipsum-generator-0.2.0.tgz","fileCount":4,"unpackedSize":39096,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzwkeCRA9TVsSAnZWagAAslcQAKJAv2HayJwYEsYIEcXk\nAuWGZrUxTUiA+rUcfZE8+SaFX3P2rdt2QNEZCWZksL0PSeooyWLtywSEUoTH\nwnjsGclUyHmDvZLDUMDpL/BFzTzg9MgWN2X7rgW0W4RWNMTsRvcAI52K46w7\nPl/KimVifvEftm+EtUQu9nWkND8XBEcXNRHVt8wMllv0yiPuWy7cYVyiaWpi\nUOyXO78wjalTGb1vAd21KGtFyqkC7SPgsPOVp+bYklYTsO6AvgoSUXBKWAzh\nFxY2w4z7zhA5svdJJNdpYTNHPAiTTRcBWMHZqhEwC6wPu0amWMnY0aH0FFWH\njQmtSH2U2cM1Y8USz7MH9B7dHis8TrdGjhT4lv4AYhpcvCiwBAf4MujRvAUA\n6SfijhuHx13lM8Oz/yj/26Em56rTmDPYT8YD0yITPvNt6xSG583Vu6aV83MP\nGkaFyx05kRa0doY+nlGusuPmpTMym5j8Li3/WwSJyX6axk3ksN+YAv4aSZa7\nLEIAhJPWm56NGJm3Vr/N3ayK7AKTbUXWErijK3m/Psd8T8wvRybjCOqX/Gif\nilCUr+rB6rPce5G0k+JaC201wJI2W1EsCdXXAn3pgKo8nfgK8UV9jv8AFbHj\nnGOvtVEDkjGRq1g2ItI37O5WZCJzeSaxfKIjVCh/TuL2ISQg0OW2Kj3SDjZn\nWAGM\r\n=gk31\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCxM+frGeqwCJbR/lVKcDXk3N3D1rqQGiKb5Ru7AEKMMQIhAOFmopoSJgWR99bvyiqi1LwKMlF5u+AymdqtbZRhbOHx"}]},"_npmUser":{"name":"zlw11063","email":"zlw11063@gmail.com"},"directories":{},"maintainers":[{"name":"kyle-west","email":"kyle@peerfessional.com"},{"name":"zlw11063","email":"zlw11063@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ipsum-generator_0.2.0_1635281875611_0.8145349696683641"},"_hasShrinkwrap":false}},"time":{"created":"2021-10-22T15:27:31.935Z","0.1.0":"2021-10-22T15:27:32.168Z","modified":"2022-04-05T04:36:47.726Z","0.2.0":"2021-10-26T20:57:55.784Z"},"maintainers":[{"name":"kyle-west","email":"kyle@peerfessional.com"},{"name":"zlw11063","email":"zlw11063@gmail.com"}],"description":"A NodeJS generalized lorem-ipsum generator that can use any word set.","author":{"name":"@digital-taco"},"license":"ISC","readme":"\n\n<!-- [https://zachintosh.github.io/ipsum-generator/](https://zachintosh.github.io/ipsum-generator/) -->\n\n# Ipsum Generator\n\nBask in the hunnit-p dank dopeness of this heckin woke generator. So yolo. So lit.\n\n# CLI\n\nInstall globally to use the `ipsum-generator` CLI.\n\n```\n> npm install -g @digital-taco/ipsum-generator\n```\n\nThe following will echo out ipsum as paragraphs or sentences\n\n```\n> ipsum-generator [paragraph|sentence] [<number of paragraphs or sentences>] [<number of words/sentences in sentence/paragraph>] [--wordsets [...any wordsets ipsum-generator provides]]\n```\n\n## API\n\n```js\nimport { paragraph } from '@digital-taco/ipsum-generator'\n// OR if in Node\n// const { paragraph } = require('@digital-taco/ipsum-generator')\n\nimport { slang, starWars } from '@digital-taco/ipsum-generator'\nimport yourOwnWordSet from 'somewhere'\n\n// With just default lorem ipsum\nconst loremSentence = sentence(5 /* number of words in the sentence (optional - default will randomize between 5-15) */)\n\n// With specific word sets\nconst mixedSentence = sentence(5, [slang, starWars, yourOwnWordSet])\n\n// API is the same for paragraphs\nconst loremParagraph = paragraph(5 /* number of sentences in the paragraph (optional - default will randomize between 3-10) */)\nconst mixedParagraph = paragraph(5, [slang, starWars, yourOwnWordSet])\nconst \n```\n\n### Bound Generator Functions\nYou can also use `ipsumGenerators` to get back a `sentence` and `paragraph` function that work the same, but are bound to the provided word sets.\n\n```js\nimport { ipsumGenerators } from '@digital-taco/ipsum-generator'\n\n// These two functions work the same as the ones provided from ipsum-generator, but will use the slang and starWars word sets by default.\nconst { sentence, paragraph } = ipsumGenerators([slang, starWars]) \n```\n\n### Available Word Sets\n\nAny of these can be imported from ipsum-generator and used. You can use your own custom word sets alongside it.\n\n- `lorem` - Classic lorem ipsum\n- `slang2010s` - Slang words from 2010-2020\n- `starWars` - Characters, planets, phrases, and more from the Star Wars universe\n\n### Using a Custom Word Set\n\nUsing a custom word set is easy. It just needs to be an array of strings.\n\n```js\nconst fruits = [\n  'apple',\n  'tomato',\n  'banana',\n  'peach',\n  'mango',\n  'guava'\n]\n\nconst fruitIpsum = paragraph(5, [fruits])\n```\n\n# TODO:\n- Minify the output\n- Publish it as package\n- Create showcase site (based off old one)\n- Add more word sets (marvel? star trek? meats? colors? binary?)","readmeFilename":"README.md"}