{"_id":"mongodb-js-fmt","_rev":"127-360a341faadf23a1b119b2291c140cb5","name":"mongodb-js-fmt","dist-tags":{"latest":"1.0.0"},"versions":{"0.0.1":{"name":"mongodb-js-fmt","version":"0.0.1","license":"Apache 2","_id":"mongodb-js-fmt@0.0.1","maintainers":[{"name":"imlucas","email":"hrabovsky.lucas@gmail.com"}],"homepage":"http://mongodb-js.github.io/mongodb-js-fmt","bugs":{"url":"https://github.com/mongodb-js/mongodb-js-fmt/issues"},"bin":{"mongodb-js-fmt":"bin/mongodb-js-fmt.js"},"dist":{"shasum":"5d5e12165d81ff0640a0c4db8e7cfcc285a687c0","tarball":"https://registry.npmjs.org/mongodb-js-fmt/-/mongodb-js-fmt-0.0.1.tgz","integrity":"sha512-afBkhbDXM6GWVX7DadV/CqQC5bQWOLWjV6s0jNApdhFTAAPVgA1yiNaaL9KaXw0J7rlFVugFbPlBrZFBwBrTxQ==","signatures":[{"sig":"MEUCIHWcEJrJLa8r7eOTC3DW3BmwTSg+a5WiwhzSnx7qm4DpAiEA6Fhb/y/DqgqLTm3sE9a+vTSB6Gx3VHt/bmedDLhkAUk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_shasum":"5d5e12165d81ff0640a0c4db8e7cfcc285a687c0","gitHead":"96772d08838b4f2c1059ccf593e5609311daf45d","scripts":{"ci":"npm run check && npm test","fmt":"node bin/mongodb-js-fmt.js --dry","test":"mocha","check":"mongodb-js-precommit"},"_npmUser":{"name":"imlucas","email":"hrabovsky.lucas@gmail.com"},"precommit":"check","repository":{"url":"git://github.com/mongodb-js/mongodb-js-fmt.git","type":"git"},"_npmVersion":"3.3.2","description":"Automatically rewrites our code to a shared spec because style is for tailors.","directories":{},"_nodeVersion":"0.12.7","dependencies":{"glob":"^5.0.14","async":"^1.4.2","chalk":"^1.1.1","debug":"^2.2.0","jsfmt":"^0.5.0","figures":"^1.4.0","minimist":"^1.2.0","lodash.uniq":"^3.2.2","lodash.defaults":"^3.1.2","esformatter-braces":"^1.2.1","esformatter-quotes":"^1.0.3","esformatter-eol-last":"^1.0.0","esformatter-parseint":"^1.0.3","esformatter-var-each":"^2.1.0","esformatter-semicolons":"^1.1.1","esformatter-quote-props":"^1.0.2","esformatter-dot-notation":"^1.3.1","esformatter-spaced-lined-comment":"^2.0.1","esformatter-remove-trailing-commas":"^1.0.1"},"devDependencies":{"mocha":"^2.3.2","pre-commit":"^1.1.1","eslint-config-mongodb-js":"^0.1.5"},"dependency-check":{"ignore":["esformatter-braces","esformatter-dot-notation","esformatter-eol-last","esformatter-parseint","esformatter-quote-props","esformatter-quotes","esformatter-remove-trailing-commas","esformatter-semicolons","esformatter-spaced-lined-comment","esformatter-var-each"]}},"0.0.2":{"name":"mongodb-js-fmt","version":"0.0.2","license":"Apache 2","_id":"mongodb-js-fmt@0.0.2","maintainers":[{"name":"imlucas","email":"hrabovsky.lucas@gmail.com"}],"homepage":"http://mongodb-js.github.io/mongodb-js-fmt","bugs":{"url":"https://github.com/mongodb-js/mongodb-js-fmt/issues"},"bin":{"mongodb-js-fmt":"bin/mongodb-js-fmt.js"},"dist":{"shasum":"57a647d68393ce30c86604a7d494411b1e53a69e","tarball":"https://registry.npmjs.org/mongodb-js-fmt/-/mongodb-js-fmt-0.0.2.tgz","integrity":"sha512-Bl6L2aGXEIWoMWgKb4dVhd41Yc6rdeyzegHd+6fffBO4THFAfA+OzoIP7bVf92cmk5xhRCyiQwZnNuI8MaPeSQ==","signatures":[{"sig":"MEUCIQCwPplQimO3dANEo06/vxEzhLuMtLU9JXOzYxReuyfw3wIgGqR46oEOGbzoqa5wTUbLqf3gmvHCqcO/4YtBUoo91Aw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_shasum":"57a647d68393ce30c86604a7d494411b1e53a69e","gitHead":"8108dab5aef8c36e9089ee7444d611043fcfad2f","scripts":{"ci":"npm run check && npm test","fmt":"node bin/mongodb-js-fmt.js --dry","test":"mocha","check":"mongodb-js-precommit"},"_npmUser":{"name":"imlucas","email":"hrabovsky.lucas@gmail.com"},"precommit":"check","repository":{"url":"git://github.com/mongodb-js/mongodb-js-fmt.git","type":"git"},"_npmVersion":"3.3.2","description":"Automatically rewrites our code to a shared spec because style is for tailors.","directories":{},"_nodeVersion":"0.12.7","dependencies":{"glob":"^5.0.14","async":"^1.4.2","chalk":"^1.1.1","debug":"^2.2.0","jsfmt":"^0.5.0","figures":"^1.4.0","minimist":"^1.2.0","lodash.uniq":"^3.2.2","lodash.defaults":"^3.1.2","esformatter-braces":"^1.2.1","esformatter-quotes":"^1.0.3","esformatter-eol-last":"^1.0.0","esformatter-parseint":"^1.0.3","esformatter-var-each":"^2.1.0","esformatter-semicolons":"^1.1.1","esformatter-quote-props":"^1.0.2","esformatter-dot-notation":"^1.3.1","esformatter-spaced-lined-comment":"^2.0.1","esformatter-remove-trailing-commas":"^1.0.1"},"devDependencies":{"mocha":"^2.3.3","pre-commit":"^1.1.1","eslint-config-mongodb-js":"^0.1.5"},"dependency-check":{"ignore":["esformatter-braces","esformatter-dot-notation","esformatter-eol-last","esformatter-parseint","esformatter-quote-props","esformatter-quotes","esformatter-remove-trailing-commas","esformatter-semicolons","esformatter-spaced-lined-comment","esformatter-var-each"]}},"0.0.3":{"name":"mongodb-js-fmt","version":"0.0.3","license":"Apache 2","_id":"mongodb-js-fmt@0.0.3","maintainers":[{"name":"imlucas","email":"hrabovsky.lucas@gmail.com"}],"homepage":"http://mongodb-js.github.io/mongodb-js-fmt","bugs":{"url":"https://github.com/mongodb-js/mongodb-js-fmt/issues"},"bin":{"mongodb-js-fmt":"bin/mongodb-js-fmt.js"},"dist":{"shasum":"f1ff59bd72daa2b1bb1464e62363ec08a68553bd","tarball":"https://registry.npmjs.org/mongodb-js-fmt/-/mongodb-js-fmt-0.0.3.tgz","integrity":"sha512-E5WNK6LlfTULXgya3jbYFGjtzqd1MNMQHtuMS+WhRTEcrwRdYqipn2nqQqjzlvwttXCyCszzWWZoLUuzvTnlCQ==","signatures":[{"sig":"MEUCIQC7Lhj9MHBXI+mv5tbyDOloAHhEaux8joDfXOVkv0Oo4gIgOoiOkuSOBFi2n0SPa2FEhWEMaksDDLTlj11zt6SdLsQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","_shasum":"f1ff59bd72daa2b1bb1464e62363ec08a68553bd","gitHead":"dd44e3ddd6a287d81301a3a9099159bd4c836a92","scripts":{"ci":"npm run check && npm test","fmt":"node bin/mongodb-js-fmt.js --dry","test":"mocha","check":"mongodb-js-precommit"},"_npmUser":{"name":"imlucas","email":"hrabovsky.lucas@gmail.com"},"precommit":"check","deprecated":"mongodb-js-fmt has been sunset and is now a noop! Please see https://github.com/mongodb-js/fmt for details","repository":{"url":"git://github.com/mongodb-js/mongodb-js-fmt.git","type":"git"},"_npmVersion":"3.3.2","description":"Automatically rewrites our code to a shared spec because style is for tailors.","directories":{},"_nodeVersion":"0.12.7","dependencies":{"glob":"^5.0.14","async":"^1.4.2","chalk":"^1.1.1","debug":"^2.2.0","jsfmt":"^0.5.0","figures":"^1.4.0","minimist":"^1.2.0","lodash.uniq":"^3.2.2","lodash.defaults":"^3.1.2","esformatter-braces":"^1.2.1","esformatter-quotes":"^1.0.3","esformatter-eol-last":"^1.0.0","esformatter-parseint":"^1.0.3","esformatter-var-each":"^2.1.0","esformatter-semicolons":"^1.1.1","esformatter-quote-props":"^1.0.2","esformatter-dot-notation":"^1.3.1","esformatter-spaced-lined-comment":"^2.0.1","esformatter-remove-trailing-commas":"^1.0.1"},"devDependencies":{"mocha":"^2.3.3","pre-commit":"^1.1.1","eslint-config-mongodb-js":"^0.1.6"},"dependency-check":{"ignore":["esformatter-braces","esformatter-dot-notation","esformatter-eol-last","esformatter-parseint","esformatter-quote-props","esformatter-quotes","esformatter-remove-trailing-commas","esformatter-semicolons","esformatter-spaced-lined-comment","esformatter-var-each"]}},"0.0.4":{"name":"mongodb-js-fmt","version":"0.0.4","license":"Apache 2","_id":"mongodb-js-fmt@0.0.4","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":"deafgoat","email":"deafgoat@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":"jack.weir","email":"johnjackweir@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":"https://github.com/mongodb-js/fmt","bugs":{"url":"https://github.com/mongodb-js/fmt/issues"},"bin":{"mongodb-js-fmt":"bin/mongodb-js-fmt.js"},"dist":{"shasum":"e88a364e7e731d512e10ce48cb1c5acef653e886","tarball":"https://registry.npmjs.org/mongodb-js-fmt/-/mongodb-js-fmt-0.0.4.tgz","fileCount":6,"integrity":"sha512-cToVkSjoXRbmxKzuy9wDvELyuh5jIbz71on5iMn9NmUj2EE6EARiG1eV8CFAkXxg3S6ITJINgZEwRC3qcH1jBg==","signatures":[{"sig":"MEYCIQCR5NZeq2YL0P88jyn3S99tCXspIiF8PpiH3hGjflxijAIhALeNCjhOGZ9i9o5+Ct1qmB2poysN84dHiXgDq/9W1B8B","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17204,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcPkShCRA9TVsSAnZWagAAlm8P/0tbaG/bshU7fmEzeN2d\nMfea0w7e9ZEtO53D6fAOUVwcTxKDERCT7awxUF35og6SCEiDPqnCuJ8zUTOu\nCeFuHINQP6FpdRohVkWs3oVY02zHSfBXyDLBBGo4JaqNnHS3UmYXtMCAx/oQ\n2AE3zT4ih3OTxRm8Z4eW3qRS6jsxLz7P95CoEfnE9XT3BkJ/DVBRL2O3X5SC\nPPUqDY11KEc9eWikIBXFYsc6ZqpIkZLRxdNqQv7xlAFxVWpyRg+VjyAcxB8q\nbUVmufCVhW6D9Nh903lGsyytY9K4qV8cPFZmu63Dlz4anqGCskuQP3i40P93\nn7bddbXICLb+asI8yn41LC5VKMWAfPMbUkDj8GjlUaDWnbpyajOOc2BX1r1J\nFp63lBKLO4hk99adelDnllYSSIAn2KvLod+iWRaTtlR8Vuj/TYp/Mr2JbvnY\nhexQ6vrcrlXc9fNb5aalThmDeZmNUTVS3TdwBlrnA8IGhmi9LGAuMprHueSb\n7IKQgA/2uMBaHcOOg54VNaNiBYrEFpaglURffXmA4mckb6NJLe0dTS8B+PzH\nMckdEF2sum6qRRLEMBVBcnEN27EIbNRitUs8x3TbCuuWAvlVvcrZSpqFVs/0\njWJd+7WztJTWJ8A66inyRNE/k4gCWcFveBj8LG8eHa+IJ++KTNQoP58lSBQZ\n62J8\r\n=tYaX\r\n-----END PGP SIGNATURE-----\r\n"},"gitHead":"c6eb1124758e0b35ba7a3fe8b63ef943b61f46b1","_npmUser":{"name":"imlucas","email":"hrabovsky.lucas@gmail.com"},"repository":{"url":"git://github.com/mongodb-js/fmt.git","type":"git"},"_npmVersion":"6.5.0","description":"Automatically rewrites our code to a shared spec because style is for tailors.","directories":{},"_nodeVersion":"10.4.0","dependencies":{},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mongodb-js-fmt_0.0.4_1547584672070_0.7685194431991706","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"mongodb-js-fmt","version":"1.0.0","license":"Apache 2","_id":"mongodb-js-fmt@1.0.0","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":"deafgoat","email":"deafgoat@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":"jack.weir","email":"johnjackweir@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":"https://github.com/mongodb-js/fmt","bugs":{"url":"https://github.com/mongodb-js/fmt/issues"},"bin":{"mongodb-js-fmt":"bin/mongodb-js-fmt.js"},"dist":{"shasum":"53d94516179cd24bce09384af117769cf90a677b","tarball":"https://registry.npmjs.org/mongodb-js-fmt/-/mongodb-js-fmt-1.0.0.tgz","fileCount":6,"integrity":"sha512-4yxf8W4fzG9PTp1uro8mizbjiP7hJYtFjeU/P3qXEr9ztu2J6a364dhUpMsb/WvpTRtIrgUexkPKKsl7o6KzOw==","signatures":[{"sig":"MEUCIQD8RehQ+NfOCGLmtMmLbTWQHyEFcoByzMWMwj9UmtLHAgIgXQOISmMjAD5fP7YkD7vbatq+0zgs0708jjbwIl/vj4I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17204,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcPkSyCRA9TVsSAnZWagAAfTQP/jOM9ScxqnAIqgt7buPP\ndyBc7lxtW68AhCPyRFav97vuLKJf4gJLhMu1nRY2wqKKb6TVDTB7thl95ACQ\n91mSVOLiRBdwRXbIC/b1GNMIpim0GbCWMc+O6dMbLyhm/G3JCouCaP52HwD1\n+ibv/+B/JPGdNahBdBpIpcvMv8ElhdOHaRcIa/GAFbwsHz7GKnSiWmsYEfGk\nCJ341OfmAezfoXkbNZ5OqP7hw7kmJnkIzlBoAdytrPz2BceTCsF3A51eKUYD\nlcvrkw7Q/Mc/KwzGFaO+l0wz25xLfonESJdT5CC99xJjpcISTgbK1QQSeuhJ\nzjvdoDsXYZTU0olrBdbYnBs5gwEpXdrv8F29lwwxbsqHQ8DYIwxSgY2LmEkC\nkM//SlB9SUrxciZPJeL+l2P3L/mrB/LT65FTFdM99tBMMHQsDX/hCgo5+Ojw\nh+eqhYyPuwL5LSctd32/vHQsOr9JlnpIMRWyZI2UaYfEfOtC+HFpEG0PkiiF\nwRkh7rBhwFDdXEz3X08T/UHTw3F4h6ZJKp9cUST1lO7Bi8My0fZTe1elSe1K\nRnWS+RtVbsNB2PYCvRHC+t8MsRafyEhf94kSXOvQBBkzmWNM9Vdfs3ZtKJ2d\nPAJXO1i9AHwMAl826blF6TUvx1uJhEGCZNiKEQj5TSeJLZ3CAt/5JWISiAUn\npklE\r\n=2C1Q\r\n-----END PGP SIGNATURE-----\r\n"},"gitHead":"b3923f5e3deb70b2b11a21fac7308fe6e17c605e","_npmUser":{"name":"imlucas","email":"hrabovsky.lucas@gmail.com"},"repository":{"url":"git://github.com/mongodb-js/fmt.git","type":"git"},"_npmVersion":"6.5.0","description":"Automatically rewrites our code to a shared spec because style is for tailors.","directories":{},"_nodeVersion":"10.4.0","dependencies":{},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mongodb-js-fmt_1.0.0_1547584689734_0.4437187140337828","host":"s3://npm-registry-packages"}}},"time":{"created":"2015-09-22T19:56:53.648Z","modified":"2026-07-15T15:36:11.028Z","0.0.1":"2015-09-22T19:56:53.648Z","0.0.2":"2015-09-22T20:19:08.889Z","0.0.3":"2015-09-22T20:24:26.892Z","0.0.4":"2019-01-15T20:37:52.194Z","1.0.0":"2019-01-15T20:38:09.867Z"},"bugs":{"url":"https://github.com/mongodb-js/fmt/issues"},"license":"Apache 2","homepage":"https://github.com/mongodb-js/fmt","repository":{"url":"git://github.com/mongodb-js/fmt.git","type":"git"},"description":"Automatically rewrites our code to a shared spec because style is for tailors.","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":"hrabovsky.lucas@gmail.com","name":"imlucas"},{"email":"dana.groff+mongodb-js@mongodb.com","name":"mongodb-js-user"}],"readme":"# :wave: Sunset\n\nIf you're seeing this message, it's because your module is still using `mongodb-js-fmt` which has been sunset. This project has been hanging around for far too long... `jsfmt` has long been replaced by `prettier` and editor's are now completely different. It no longer is, it was. :)\n\n`mongodb-js-fmt` never even made it to a minor release, but it snuck into lots of project templates so I'm including this message to help cleanup.\n\n\nHere's how to make this go away:\n\n1. Remove `\"fmt\": \"mongodb-js-fmt\"` from `\"scripts\"` in your package.json\n2. `npm uninstall --save-dev mongodb-js-fmt`\n3. Install [prettier for the IDE/Editor of your choice](https://prettier.io/docs/en/editors.html)\n4. If you see `\"mongodb-js-fmt\": \"0.0.3\"` in a friend's `package.json`, send them a PR or this link https://github.com/mongodb-js/fmt\n\n## Why?\n\nThis project has been hanging around for far too long... `jsfmt` has long been replaced by `prettier` and editor's are now completely different.\n\nInstall [prettier for the IDE/Editor of your choice](https://prettier.io/docs/en/editors.html).\n\nThe README below is preserved for future travelers.\n\n---\n\n\n# mongodb-js-fmt [![travis][travis_img]][travis_url] [![npm][npm_img]][npm_url]\n\n> Automatically rewrites [our code][mongodb-js] to [a shared spec][styleguide] because style is for tailors.\n\n## Usage\n\n```bash\nnpm install --save-dev mongodb-js-fmt\n```\n\nAdd a new `fmt` script to your `package.json`:\n\n```json\n{\n  \"name\": \"<your-module-name>\",\n  \"scripts\": {\n    \"fmt\": \"mongodb-js-fmt ./*.js lib/{**/*.js,*.js}\"\n  }\n}\n```\n\nNow run it to have your files rewritten:\n\n```bash\nnpm run fmt\n```\n\n## How It Works\n\n`mongodb-js-fmt` is merely a thin wrapper around a code\nrewriter and canonical configuration file that defines the\nrules the rewriter should apply so all of our\n[code looks the same][styleguide] and we never have to\nwaste time on style in code reviews or arguing about\nwhich rewriter tool is best.\n\nCurrently, we use [`jsfmt` from the Rdio team][jsfmt]\nas the rewriter.  It's been an essential part of our daily\nworkflow since mid-2014 and literally saves us each hours\nof work per month.\n\n> @todo: why does this module exist?  package everything\n> up in one box, strict control of upstreams, swap out\n> the rewriter seamlessly when something better comes along\n> e.g. want to ditch jsfmt for `eslint --autofix` +\n> fb's amazing http://npm.im/jscodeshift\n\n## Todo\n\n```\n--dry          Display diffs instead of rewriting files  [Default: `false`].\n--changed      Populate `<file>...` based on local changes via `git status` [Default: `false`].\n```\n\n### `--changed`\n\nUse [`git ls-files`](http://git-scm.com/docs/git-ls-files) to populate `opts.files`\n\n### `--dry`\n\nDisplay diffs only and don't overwrite files.\n\n## Atom Package\n\nJust need to publish to apm? Just want one source of truth and to be able\nto delete the 100's of duplicate `.jsfmtrc` files across our projects.\n\n### [esformatter-collapse-objects](https://github.com/wbinnssmith/esformatter-collapse-objects)\n\nIt's really nice, but needs a little time to tweak configs a\nbit to aggree w/ eslint rules.  This allows for:\n\n\n```javascript\nvar res = {formatted: [], unchanged: []};\n```\n\ninstead of always forcing:\n\n```javascript\nvar res = {\n  formatted: [],\n  unchanged: []\n};\n```\n\n## License\n\nApache 2\n\n[travis_img]: https://img.shields.io/travis/mongodb-js/fmt.svg\n[travis_url]: https://travis-ci.org/mongodb-js/fmt\n[npm_img]: https://img.shields.io/npm/v/mongodb-js-fmt.svg\n[npm_url]: https://npmjs.org/package/mongodb-js-fmt\n[mongodb-js]: http://mongodb-js.github.io/\n[jsfmt]: https://github.com/rdio/jsfmt\n[eslint]: http://eslint.org\n[eslint-config-mongodb-js]: https://github.com/mongodb-js/eslint-config\n[gofmt]: https://golang.org/cmd/gofmt/\n[styleguide]: https://github.com/mongodb-js/javascript\n","readmeFilename":"README.md"}