{"_id":"morelikethis","_rev":"104-8c982adcf2a1955e067702adf83448e7","name":"morelikethis","dist-tags":{"latest":"0.1.3"},"versions":{"0.1.0":{"name":"morelikethis","version":"0.1.0","license":"Apache-2.0","_id":"morelikethis@0.1.0","maintainers":[{"name":"rueckstiess","email":"thomas@rueckstiess.net"}],"homepage":"http://github.com/mongodb-js/morelikethis","bugs":{"url":"https://github.com/mongodb-js/morelikethis/issues"},"bin":{"morelikethis":"./bin/morelikethis.js"},"dist":{"shasum":"d0f89a1209a616f58b51e405e15e05d4c44e7054","tarball":"https://registry.npmjs.org/morelikethis/-/morelikethis-0.1.0.tgz","integrity":"sha512-RxAiQUtGjXs1F9lFpKUh6VYdmE5ld5gCGDjk9O60Vui69L0rv/8h3cxbYKlG1Xv9g5Bwf2TxronyYJT8g9Ldow==","signatures":[{"sig":"MEUCIQDJq8yBHgELIpBo6D/lOGD/GhFMs0DxRQUgC6mJ3BVKQgIgSVVRxfsWg8rdXfrL/7kl5nlOGcrn42/LohYrv/4cXiM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_shasum":"d0f89a1209a616f58b51e405e15e05d4c44e7054","gitHead":"2991b340470dd14ff51a71cfa265352c09f49b41","scripts":{"ci":"npm run check && npm test","fmt":"mongodb-js-fmt","test":"mocha","check":"mongodb-js-precommit"},"_npmUser":{"name":"rueckstiess","email":"thomas@rueckstiess.net"},"precommit":["check"],"repository":{"url":"git://github.com/mongodb-js/morelikethis.git","type":"git"},"_npmVersion":"3.6.0","description":"Create more data that has the same shape as existing data.","directories":{},"_nodeVersion":"5.7.0","dependencies":{"yargs":"^4.7.0","lodash":"^4.12.0","mongodb-extended-json":"^1.6.3"},"devDependencies":{"debug":"^2.2.0","mocha":"^2.3.4","pre-commit":"^1.1.2","mongodb-js-fmt":"^0.0.3","mongodb-js-precommit":"^0.2.8","eslint-config-mongodb-js":"^1.0.6"},"_npmOperationalInternal":{"tmp":"tmp/morelikethis-0.1.0.tgz_1464523029923_0.2902369308285415","host":"packages-12-west.internal.npmjs.com"}},"0.1.1":{"name":"morelikethis","version":"0.1.1","license":"Apache-2.0","_id":"morelikethis@0.1.1","maintainers":[{"name":"rueckstiess","email":"thomas@rueckstiess.net"}],"homepage":"http://github.com/mongodb-js/morelikethis","bugs":{"url":"https://github.com/mongodb-js/morelikethis/issues"},"bin":{"morelikethis":"./bin/morelikethis.js"},"dist":{"shasum":"1df5856d0a50174e0342624d2f5997829a29d5a8","tarball":"https://registry.npmjs.org/morelikethis/-/morelikethis-0.1.1.tgz","integrity":"sha512-g7d46Lj0h0ZKcY2AdnqN73AQWRQ8ySuXm6uigNAC/MHEc6vQjfE4bDMxr247Q7pUHczUx9CJJOKgx6NA/8E9SQ==","signatures":[{"sig":"MEUCICfgIYtwV/V4x5j8cAyyeQF9MDHmx6Z+wBlxdOfEu2C1AiEAhTedPxzdjfI+InCES84AmIqyTDwstfHtm6l33c7IijU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_shasum":"1df5856d0a50174e0342624d2f5997829a29d5a8","gitHead":"b5d25872c250266e190f59adbfb0863eccd1e980","scripts":{"ci":"npm run check && npm test","fmt":"mongodb-js-fmt","test":"mocha","check":"mongodb-js-precommit"},"_npmUser":{"name":"rueckstiess","email":"thomas@rueckstiess.net"},"precommit":["check"],"repository":{"url":"git://github.com/mongodb-js/morelikethis.git","type":"git"},"_npmVersion":"3.6.0","description":"Create more data that has the same shape as existing data.","directories":{},"_nodeVersion":"5.7.0","dependencies":{"yargs":"^4.7.0","lodash":"^4.12.0","event-stream":"^3.3.2","mongodb-extended-json":"^1.6.3"},"devDependencies":{"debug":"^2.2.0","mocha":"^2.3.4","pre-commit":"^1.1.2","mongodb-js-fmt":"^0.0.3","mongodb-js-precommit":"^0.2.8","eslint-config-mongodb-js":"^1.0.6"},"_npmOperationalInternal":{"tmp":"tmp/morelikethis-0.1.1.tgz_1464523255117_0.46846432611346245","host":"packages-12-west.internal.npmjs.com"}},"0.1.2":{"name":"morelikethis","version":"0.1.2","license":"Apache-2.0","_id":"morelikethis@0.1.2","maintainers":[{"name":"matt_d_rat","email":"matt@mattfairbrass.com"},{"name":"satyasinha","email":"satyendra.n.sinha@gmail.com"},{"name":"jlord","email":"to.jlord@gmail.com"},{"name":"terakilobyte","email":"terakilobyte@gmail.com"},{"name":"jimol","email":"jim.oleary@gmail.com"},{"name":"hswolff","email":"hello@hswolff.com"},{"name":"mpobrien","email":"mpobrien005@gmail.com"},{"name":"christkv","email":"christkv@gmail.com"},{"name":"mbroadst","email":"mbroadst@gmail.com"},{"name":"fredtruman","email":"fred.truman@mongodb.com"},{"name":"keyboardtsundoku","email":"satyendra.n.sinha@gmail.com"},{"name":"pzrq","email":"peter@peterjs.com"},{"name":"justinjmoses","email":"justinjmoses@gmail.com"},{"name":"aherlihy","email":"anna@mongodb.com"},{"name":"redondos","email":"aolivera@gmail.com"},{"name":"dpercy","email":"davetp425@gmail.com"},{"name":"cilix","email":"matthewlevenstein@gmail.com"},{"name":"kay-kim","email":"kay@mongodb.com"},{"name":"glowe","email":"graham.lowe@gmail.com"},{"name":"micheal.parks","email":"michealparks1989@gmail.com"},{"name":"schwartzrw","email":"schwartzrw@gmail.com"},{"name":"durran","email":"durran@gmail.com"},{"name":"rueckstiess","email":"thomas@rueckstiess.net"},{"name":"imlucas","email":"hrabovsky.lucas@gmail.com"},{"name":"mongodb-js-user","email":"dana.groff+mongodb-js@mongodb.com"}],"homepage":"http://github.com/mongodb-js/morelikethis","bugs":{"url":"https://github.com/mongodb-js/morelikethis/issues"},"bin":{"morelikethis":"./bin/morelikethis.js"},"dist":{"shasum":"0fffd4f9cfbde9228054e1c134df2744809b8f98","tarball":"https://registry.npmjs.org/morelikethis/-/morelikethis-0.1.2.tgz","integrity":"sha512-gJSR3l1uO/T41/OPX01WXV0TlYK8ygLYfvDzrD6RlpodXyJG2/7RNUQjOD7L1jJttkYTPk645k8O/yKRkTp6Fg==","signatures":[{"sig":"MEQCIHHhruYJYkOwyxJE0CE9lwr3FVwZeEVY/F7WuiuMushBAiAUqJcom4r3XbptPxhoZXnyNhHE/teEVaLWphrnJMMH+w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_shasum":"0fffd4f9cfbde9228054e1c134df2744809b8f98","gitHead":"b29c05ca565ea427f30ac5019aa812d3d3fff7ce","scripts":{"ci":"npm run check && npm test","fmt":"mongodb-js-fmt","test":"mocha","check":"mongodb-js-precommit"},"_npmUser":{"name":"rueckstiess","email":"thomas@rueckstiess.net"},"precommit":["check"],"repository":{"url":"git://github.com/mongodb-js/morelikethis.git","type":"git"},"_npmVersion":"4.0.5","description":"Create more data that has the same shape as existing data.","directories":{},"_nodeVersion":"7.4.0","dependencies":{"yargs":"^8.0.2","lodash":"^4.17.4","event-stream":"^3.3.4","mongodb-extended-json":"^1.9.0"},"devDependencies":{"debug":"^2.6.8","mocha":"^3.4.2","pre-commit":"^1.2.2","mongodb-js-fmt":"^0.0.3","mongodb-js-precommit":"^0.3.0","eslint-config-mongodb-js":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/morelikethis-0.1.2.tgz_1499130258569_0.8924572258256376","host":"s3://npm-registry-packages"}},"0.1.3":{"name":"morelikethis","version":"0.1.3","license":"Apache-2.0","_id":"morelikethis@0.1.3","maintainers":[{"name":"aherlihy","email":"anna@mongodb.com"},{"name":"alena.khineika","email":"alena.khineika@gmail.com"},{"name":"chuck.kalmanek","email":"chuck.kalmanek@10gen.com"},{"name":"cilix","email":"matthewlevenstein@gmail.com"},{"name":"daprahamian","email":"dan.aprahamian@gmail.com"},{"name":"deepshah","email":"deepcshah@gmail.com"},{"name":"dpercy","email":"davetp425@gmail.com"},{"name":"durran","email":"durran@gmail.com"},{"name":"fredtruman","email":"fred.truman@mongodb.com"},{"name":"glowe","email":"graham.lowe@gmail.com"},{"name":"gregg.b","email":"gregg.brewster@mongodb.com"},{"name":"hswolff","email":"hello@hswolff.com"},{"name":"imlucas","email":"hrabovsky.lucas@gmail.com"},{"name":"jeff-allen-mongo","email":"jeffrey.allen@10gen.com"},{"name":"jimol","email":"jim.oleary@gmail.com"},{"name":"jon.franco","email":"jon.franco@mongodb.com"},{"name":"jonathan.balsano","email":"jonathan.balsano@mongodb.com"},{"name":"kay-kim","email":"kay@mongodb.com"},{"name":"lrlna","email":"shestak.irina@gmail.com"},{"name":"matt_d_rat","email":"matt@mattfairbrass.com"},{"name":"mbroadst","email":"mbroadst@gmail.com"},{"name":"micheal.parks","email":"michealparks1989@gmail.com"},{"name":"mmarcon","email":"me@marcon.me"},{"name":"mongodb-build","email":"build-accounts@10gen.com"},{"name":"mongodb-js-user","email":"dana.groff+mongodb-js@mongodb.com"},{"name":"mpobrien","email":"mpobrien005@gmail.com"},{"name":"redondos","email":"aolivera@gmail.com"},{"name":"rhysm","email":"rhys.howell@10gen.com"},{"name":"rueckstiess","email":"thomas@rueckstiess.net"},{"name":"sampoonachot","email":"joy.sampoonachot@10gen.com"},{"name":"satyasinha","email":"satyendra.n.sinha@gmail.com"},{"name":"schwartzrw","email":"schwartzrw@gmail.com"},{"name":"terakilobyte","email":"terakilobyte@gmail.com"},{"name":"tomhollander","email":"tomhollander@hotmail.com"}],"homepage":"http://github.com/mongodb-js/morelikethis","bugs":{"url":"https://github.com/mongodb-js/morelikethis/issues"},"bin":{"morelikethis":"./bin/morelikethis.js"},"dist":{"shasum":"cda56ff9c204c3fc470e7bd9ad827c21dd5bdd8c","tarball":"https://registry.npmjs.org/morelikethis/-/morelikethis-0.1.3.tgz","fileCount":7,"integrity":"sha512-8jk2zpC6fKhSEjAvGRzyRxC4Y4N43BhwfxMuxqxAlB1lg9HYw9P7HNzPIgzbUIbBkHuyTIfUza2nOQdEfZkOAA==","signatures":[{"sig":"MEUCIBzb0kOx/RhP1uXc/TtNTnMdya8x6wUMnAwzl6e8j6+zAiEA1hkr3pqI5048CiLRAf02MCTeYMc6dgV4tIJrgm0E+qs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18805,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcCLOVCRA9TVsSAnZWagAAaxkP/2cgkLbBYOM3DLxnKXBd\nw1Jw60GM2oUzsakBhmc1tN+GncUcTVB0LJFZKAyv0LwLgRr3ZfeJEQGuHe/I\nnOEVYNFbtAXQUClVhBxZAsnTG2Jun/P/vQ6xGyXzvOWkrXAXADLW4dNXtiXh\nfsSMbKoD01I3XYqbz5WY+MCTK2kQyeIQpeTt70CA+m/exVkvwuPy30Riqnxw\nCYyxgvc5Jfbq0UOFd/DWi3CKsVPWeWpC2cGntjWmLl+IdpkU+0Btg/AMbfKf\nXXUOCg/wkBdqOiW8bR/17JkDuzF7oi6Gqic6/b8RbNoYkon7aVEuBamd/SrK\n/hYru7feMToZfbAtPA0DTdC27M3btvaFh/4uxTEv4g5ZDV4NdUx+WbwgCKfl\nf5PBxhLd76j+eQYHvMV0Pl9lO5PPxyXsMPbqj/xHaz/KmSaTrEJ/8+YsN0J3\nLWiEKLi+kYhCW7aaGQndCBTl1xzM21moMfMmasXyVLzlSTxOjCBonKw4BzsN\n6yuw5XxKP2dcsk2OHFPRITs28NPs3O8QmdeaQdcgeVl/DWVrCn+6etjnNZy3\nIANuHo0plfyIShUZOIaEIxG0d6zhAyiQhKJ1ZhcM43yE4a4UdV1Jx0c+aJ0L\nWVeIOlMuZcz5xyElte05xPiOKENSW75VUJnPLP0VIRWb8eQji6Gdu+fnni31\nL8/e\r\n=mVof\r\n-----END PGP SIGNATURE-----\r\n"},"gitHead":"ab2c050d932c243aea9f21ba88975a3fd62c6eb4","scripts":{"ci":"npm run check && npm test","fmt":"mongodb-js-fmt","test":"mocha","check":"mongodb-js-precommit"},"_npmUser":{"name":"rueckstiess","email":"thomas@rueckstiess.net"},"precommit":["check"],"repository":{"url":"git://github.com/mongodb-js/morelikethis.git","type":"git"},"_npmVersion":"6.4.1","description":"Create more data that has the same shape as existing data.","directories":{},"_nodeVersion":"8.11.3","dependencies":{"yargs":"^8.0.2","lodash":"^4.17.4","event-stream":"3.3.4","mongodb-extended-json":"^1.9.0"},"_hasShrinkwrap":false,"devDependencies":{"debug":"^2.6.8","mocha":"^3.4.2","pre-commit":"^1.2.2","mongodb-js-fmt":"^0.0.3","mongodb-js-precommit":"^0.3.0","eslint-config-mongodb-js":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/morelikethis_0.1.3_1544074132513_0.7603727793933726","host":"s3://npm-registry-packages"}}},"time":{"created":"2016-05-29T11:57:10.435Z","modified":"2026-07-15T15:36:27.012Z","0.1.0":"2016-05-29T11:57:10.435Z","0.1.1":"2016-05-29T12:00:55.631Z","0.1.2":"2017-07-04T01:04:18.661Z","0.1.3":"2018-12-06T05:28:52.663Z"},"bugs":{"url":"https://github.com/mongodb-js/morelikethis/issues"},"license":"Apache-2.0","homepage":"http://github.com/mongodb-js/morelikethis","repository":{"url":"git://github.com/mongodb-js/morelikethis.git","type":"git"},"description":"Create more data that has the same shape as existing data.","maintainers":[{"email":"satya@mongodb.com","name":"satyasinha"},{"email":"kristina.stefanova@mongodb.com","name":"kristina.stefano"},{"email":"nathan.smyth@10gen.com","name":"jarjee"},{"email":"iteng@mongodb.com","name":"devtoolsbot"},{"email":"james.wang@mongodb.com","name":"mongo-j"},{"email":"neal.beeken@mongodb.com","name":"nbbeeken"},{"email":"dbx-node@mongodb.com","name":"dbx-node"},{"email":"devtools-npm-user@mongodb.com","name":"devtools-npm-user"},{"email":"me@tomr.au","name":"rueckstiess"}],"readme":"# morelikethis [![travis][travis_img]][travis_url] [![npm][npm_img]][npm_url]\n\nCreate more data that has the same shape as existing data.\n\nTo be used with [mongodb-schema][mongodb-schema] to infer a schema from your\noriginal data in a MongoDB collection, and [mgeneratejs][mgeneratejs] to\ngenerate more data.\n\nThe `morelikethis` script acts as a bridge between the two, converting a\nschema to a data generation template.\n\n#### Example\n\nInstall [morelikethis][morelikethis], [mongodb-schema][mongodb-schema],\nand [mgeneratejs][mgeneratejs]:\n\n```\nnpm install -g morelikethis mongodb-schema mgeneratejs\n```\n\nMake sure you have a MongoDB instance running on localhost, standard port 27017\n(or adjust example below accordingly).\n\nAssuming a database `products` and a collection `catalog`, run:\n\n```\nmongodb-schema localhost:27017 products.catalog | morelikethis | mgeneratejs -n 1000\n```\n\nThis would generate 1000 more documents like the ones in the `products.catalog`\ncollection and output them to stdout, one per line.\n\nIf you have [mongoimport][mongoimport] installed, you can write them to a\nnew collection `test.mycatalog` right away:\n\n\n```\nmongodb-schema localhost:27017 products.catalog | morelikethis | mgeneratejs -n 1000 | mongoimport -d test -c mycatalog\n```\n\n## License\n\nApache 2.0\n\n[mongoimport]: https://docs.mongodb.com/manual/reference/program/mongoimport/\n[mgenerate-mtools]: https://github.com/rueckstiess/mtools/wiki/mgenerate\n[mgeneratejs]: https://www.npmjs.com/package/mgeneratejs\n[morelikethis]: http://github.com/mongodb-js/morelikethis\n[mongodb-schema]: https://www.npmjs.com/package/mongodb-schema\n[travis_img]: https://img.shields.io/travis/mongodb-js/morelikethis.svg\n[travis_url]: https://travis-ci.org/mongodb-js/morelikethis\n[npm_img]: https://img.shields.io/npm/v/morelikethis.svg\n[npm_url]: https://npmjs.org/package/morelikethis\n","readmeFilename":"README.md"}