cb_document_generator
v1.0.3
Published
Generates random JSON documents and saves them to couchbase.
Downloads
5
Readme
cb_document_generator
Little nodejs application to create massive amout of documents in couchbase
Command
cbdg is the commandline executable
Install
npm i -g cb_document_generator
Parameters
--threads / -t [underline](number of concurrent threads) Spawn new child processes
--server / -s servername Servername
--bucket / -b bucketname bucketname (default value: default)
--count / -c count How many documents should be written (If not defined or set to 0 = unlimited)
--jsonTemplate / -j path Path to the json template. (default value: defaultTemplate.json of the repo) Definition help: https://github.com/webroo/dummy-json#getting-started
--help / -h Print this usage guide.
If you need more just create a feature request
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
License
MIT