{"_id":"mongoose-validation-error-transform","_rev":"9-256f2042bcc0861ae7b30325fce31d6f","name":"mongoose-validation-error-transform","time":{"modified":"2022-05-09T19:12:27.337Z","created":"2017-08-08T01:00:52.435Z","0.0.1":"2017-08-08T01:00:52.435Z","0.0.2":"2017-08-08T01:05:24.958Z","0.0.3":"2019-09-05T09:33:26.059Z","0.0.4":"2019-09-05T12:40:42.533Z","0.0.5":"2019-09-09T06:47:57.652Z","0.0.6":"2020-07-10T14:54:39.114Z"},"maintainers":[{"email":"niftylettuce@gmail.com","name":"niftylettuce"},{"email":"npm@titanism.com","name":"titanism"}],"dist-tags":{"latest":"0.0.6"},"description":"Automatically transform Mongoose validation error message(s) to a humanized and readable format","readme":"# mongoose-validation-error-transform\n\n[![Slack Status][slack-image]][slack-url]\n[![NPM version][npm-image]][npm-url]\n[![Standard JS Style][standard-image]][standard-url]\n[![MIT License][license-image]][license-url]\n\n> Automatically transform [Mongoose][mongoose] validation error message(s) to a humanized and readable format, built for [CrocodileJS][crocodile-url].\n\n\n## Index\n\n* [Install](#install)\n* [Usage](#usage)\n* [License](#license)\n\n\n## Install\n\n```bash\nnpm install --save mongoose-validation-error-transform\n```\n\n> You may also want to use [mongoose-beautiful-unique-validation][mongoose-beautiful-unique-validation] too (see [this comment][comment])!\n\n\n## Usage\n\n```js\nconst mongooseValidationErrorTransform = require('mongoose-validation-error-transform');\n\nmongoose.plugin(mongooseValidationErrorTransform, {\n\n  //\n  // these are the default options you can override\n  // (you don't need to specify this object otherwise)\n  //\n\n  // should we capitalize the first letter of the message?\n  capitalize: true,\n\n  // should we convert `full_name` => `Full name`?\n  humanize: true,\n\n  // how should we join together multiple validation errors?\n  transform: function(messages) {\n    return messages.join(', ');\n  }\n\n});\n```\n\nIf you have a Mongoose schema defined with a required String field `full_name`,\nand if there is an error with a missing `full_name` on a document - then it will\nautomatically rewrite the message of `full_name is required` to\n`Full name is required`.\n\nIf there are multiple validation error messages, such as:\n\n* `full_name is required`\n* `age is not at least (18)`\n\nThen it will rewrite the error message to `Full name is required, Age is not at least (18)`.\n\nOf course - by modifying the options mentioned above, you can transform the messages however you'd like.\n\nFor example, if you'd like to output a `<ul>` HTML tag with `<li>` for each error (but only of course if there's more than one error):\n\n```js\nmongoose.plugin(mongooseValidationErrorTransform, {\n  transform: function(messages) {\n    if (messages.length === 1) return messages[0];\n    return `<ul><li>${messages.join('</li><li>')}</li></ul>`;\n  }\n});\n```\n\nThis would output the following for the previous example:\n\n```html\n<ul><li>Full name is required</li><li>Age is not at least (18)</li></ul>\n```\n\n\n## License\n\n[MIT](LICENSE) © Nick Baugh\n\n\n## \n\n[license-image]: http://img.shields.io/badge/license-MIT-blue.svg\n\n[license-url]: LICENSE\n\n[npm-image]: https://img.shields.io/npm/v/mongoose-validation-error-transform.svg\n\n[npm-url]: https://npmjs.org/package/mongoose-validation-error-transform\n\n[crocodile-url]: https://crocodilejs.com\n\n[standard-image]: https://img.shields.io/badge/code%20style-standard%2Bes7-brightgreen.svg\n\n[standard-url]: https://github.com/crocodilejs/eslint-config-crocodile\n\n[slack-image]: https://img.shields.io/badge/chat-join%20slack-brightgreen\n\n[slack-url]: https://join.slack.com/t/ladjs/shared_invite/zt-fqei6z11-Bq2trhwHQxVc5x~ifiZG0g\n\n[mongoose]: https://github.com/Automattic/mongoose\n\n[comment]: https://github.com/Automattic/mongoose/issues/2284#issuecomment-320810641\n\n[mongoose-beautiful-unique-validation]: https://github.com/matteodelabre/mongoose-beautiful-unique-validation\n","versions":{"0.0.2":{"name":"mongoose-validation-error-transform","description":"Automatically transform Mongoose validation error message(s) to a humanized and readable format","version":"0.0.2","author":{"name":"Nick Baugh","email":"niftylettuce@gmail.com"},"bugs":{"url":"https://github.com/niftylettuce/mongoose-validation-error-transform/issues"},"devDependencies":{"babel-cli":"^6.11.4","babel-plugin-add-module-exports":"^0.2.1","babel-preset-crocodile":"^1.0.0","eslint-config-crocodile":"^1.0.0"},"engines":{"node":">= 6.x"},"homepage":"https://github.com/niftylettuce/mongoose-validation-error-transform","keywords":["mongoose","validation","error","transform","messages","unique","beautiful","errors","err","handler","handling","pretty","print","alert","mongodb","mongo","custom","parse","parser","parsing"],"license":"MIT","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/niftylettuce/mongoose-validation-error-transform.git"},"scripts":{"compile":"rm -rf lib/ && babel -d lib src","lint":"eslint .","prepublish":"npm run test","test":"npm run lint"},"dependencies":{"lodash":"^4.17.4","underscore.string":"^3.3.4"},"gitHead":"2326fb68dfdbc5057220aa36a927e04f0861bf55","_id":"mongoose-validation-error-transform@0.0.2","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"niftylettuce","email":"niftylettuce@gmail.com"},"maintainers":[{"name":"niftylettuce","email":"niftylettuce@gmail.com"}],"dist":{"integrity":"sha512-DDuld4geAcEfOs79LgYelhEEbgS+4PTnxrXQ7bmeisPqui3iLtzQ4gjqfaoMEdpZ5apxB2WkXqlNSEzcTL8Pcg==","shasum":"918dbb0be5032ddfcf597067ab5a332069cd4989","tarball":"https://registry.npmjs.org/mongoose-validation-error-transform/-/mongoose-validation-error-transform-0.0.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMCTPH8AG0GZuKrZT/nuTlgPaVpU87D6Xx8ePqt3P2fQIhAP39zxmZvY/FKP7NAqQYe/+uAH93r1s7j3L++DlrVweT"}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mongoose-validation-error-transform-0.0.2.tgz_1502154323852_0.5404850388877094"},"directories":{}},"0.0.4":{"name":"mongoose-validation-error-transform","description":"Automatically transform Mongoose validation error message(s) to a humanized and readable format","version":"0.0.4","author":{"name":"Nick Baugh","email":"niftylettuce@gmail.com"},"bugs":{"url":"https://github.com/niftylettuce/mongoose-validation-error-transform/issues"},"commitlint":{"extends":["@commitlint/config-conventional"]},"contributors":[{"name":"Nick Baugh","email":"niftylettuce@gmail.com"}],"dependencies":{"capitalize":"^2.0.0","humanize-string":"^2.1.0","lodash":"^4.17.15"},"devDependencies":{"@babel/cli":"^7.5.5","@babel/core":"^7.5.5","@babel/preset-env":"^7.5.5","@commitlint/cli":"^8.1.0","@commitlint/config-conventional":"^8.1.0","eslint":"^6.3.0","eslint-config-xo-lass":"^1.0.3","eslint-plugin-node":"^10.0.0","fixpack":"^2.3.1","husky":"^3.0.5","lint-staged":"^9.2.5","remark-cli":"^7.0.0","remark-preset-github":"^0.0.16","rimraf":"^3.0.0","xo":"^0.24.0"},"engines":{"node":">= 6.x"},"homepage":"https://github.com/niftylettuce/mongoose-validation-error-transform","husky":{"hooks":{"pre-commit":"lint-staged && npm test","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"keywords":["alert","beautiful","custom","err","error","errors","handler","handling","messages","mongo","mongodb","mongoose","parse","parser","parsing","pretty","print","transform","unique","validation"],"license":"MIT","lint-staged":{"*.js":["xo --fix","git add"],"*.md":["remark . -qfo","git add"],"package.json":["fixpack","git add"]},"main":"lib/index.js","prettier":{"singleQuote":true,"bracketSpacing":true,"trailingComma":"none"},"remarkConfig":{"plugins":["preset-github"]},"repository":{"type":"git","url":"https://github.com/niftylettuce/mongoose-validation-error-transform.git"},"scripts":{"compile":"rimraf lib && babel src --out-dir lib && eslint --no-inline-config -c .lib.eslintrc lib","lint":"xo && remark . -qfo","test":"npm run lint && npm run compile"},"xo":{"prettier":true,"space":true,"extends":["xo-lass"]},"licenseText":"The MIT License\n\nCopyright (c) 2017- Nick Baugh <niftylettuce@gmail.com>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"mongoose-validation-error-transform@0.0.4","dist":{"shasum":"efd2ed14e5a93682d66129212b762c7cfb7aece1","integrity":"sha512-teX0C5OSfO7xQX7OCKk33jkldtflehgcOIPz10U3FQcIUf87g5QTNN5z2z6vrbTLvZAJrquVb1HP2wLJvXOVTA==","tarball":"https://registry.npmjs.org/mongoose-validation-error-transform/-/mongoose-validation-error-transform-0.0.4.tgz","fileCount":6,"unpackedSize":7917,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdcQJLCRA9TVsSAnZWagAAzsoQAJMxRsG4AQhDHGqYhlrG\nOZxDFtj4l5oOB7wlfA6fl24xovU4ipWtC0y/K6w++MSuXBXfVnYf4i7Eixiq\nUASrK6ZbNCdVnZnkKlFg2TjsymamP7cj64peevXSFY6wbaFbcVONvSQNap9n\novvwGsVyD+m/ybpT/OIx5k66TE/DT4MAZVtPaHUm0cMZsl9YpNbwDYEwM9Dz\npqOfDjskG1c0V+8pwmc2dYv+7fnJGpqPEZ1G0olGaK2XrlXpsEJmzE8w8Olw\nCpG0LzCvqEktPfaq8qtWT+s7kgUIOeDidaDIJ0lSW3Q9KQR74W8jgeb/JeQ3\n72c+L4xPvgPoUQ/b9PQAJGHVeeNxvpf4EUcPDFQXsv+8iVrm0R5TVN0Uhvyl\nOuFVRBLWW8iKbPKq4SFoOyKmUK7+5iIban5KSbJQnjJM6Y+AA+dsbI7LMC5X\nfZ27N/RTVzLeXoIAkhGMFlQFRuz4/YTsLYNmGnzTCsSeAAuDyDTs8pRxdNbf\n7hGHE+GOjulRFeWMXN6IrcqeR6HUezilAnctMXetET4SGgX+7SzpOnmB4xnm\nUS9Vggtzbt/x9wYBvYFNOuGxreLs/USRS8HITkR/M5fcANpYintav0OG72Ce\nioXDvNFLMbJo1AO37DT3KOtZszxIBEJ9tbtwLFnO7I14gmDkPu5/7hxJUOJc\nqLg5\r\n=RsHO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6lz3CXiJddIC25dgVfn8c9x+yKvswPuUflNLUarOwrQIhAPCJfKUhlOLNG4CmneJoDLUjEA7orUPDJbiNU4ItifT1"}]},"maintainers":[{"name":"niftylettuce","email":"niftylettuce@gmail.com"}],"_npmUser":{"name":"niftylettuce","email":"niftylettuce@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mongoose-validation-error-transform_0.0.4_1567687242375_0.5464712871677968"},"_hasShrinkwrap":false},"0.0.5":{"name":"mongoose-validation-error-transform","description":"Automatically transform Mongoose validation error message(s) to a humanized and readable format","version":"0.0.5","author":{"name":"Nick Baugh","email":"niftylettuce@gmail.com"},"bugs":{"url":"https://github.com/niftylettuce/mongoose-validation-error-transform/issues"},"commitlint":{"extends":["@commitlint/config-conventional"]},"contributors":[{"name":"Nick Baugh","email":"niftylettuce@gmail.com"}],"dependencies":{"capitalize":"^2.0.0","humanize-string":"^2.1.0","lodash":"^4.17.15"},"devDependencies":{"@babel/cli":"^7.5.5","@babel/core":"^7.5.5","@babel/preset-env":"^7.5.5","@commitlint/cli":"^8.1.0","@commitlint/config-conventional":"^8.1.0","eslint":"^6.3.0","eslint-config-xo-lass":"^1.0.3","eslint-plugin-node":"^10.0.0","fixpack":"^2.3.1","husky":"^3.0.5","lint-staged":"^9.2.5","remark-cli":"^7.0.0","remark-preset-github":"^0.0.16","rimraf":"^3.0.0","xo":"^0.24.0"},"engines":{"node":">= 6.x"},"homepage":"https://github.com/niftylettuce/mongoose-validation-error-transform","husky":{"hooks":{"pre-commit":"lint-staged && npm test","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"keywords":["alert","beautiful","custom","err","error","errors","handler","handling","messages","mongo","mongodb","mongoose","parse","parser","parsing","pretty","print","transform","unique","validation"],"license":"MIT","lint-staged":{"*.js":["xo --fix","git add"],"*.md":["remark . -qfo","git add"],"package.json":["fixpack","git add"]},"main":"lib/index.js","prettier":{"singleQuote":true,"bracketSpacing":true,"trailingComma":"none"},"remarkConfig":{"plugins":["preset-github"]},"repository":{"type":"git","url":"https://github.com/niftylettuce/mongoose-validation-error-transform.git"},"scripts":{"compile":"rimraf lib && babel src --out-dir lib && eslint --no-inline-config -c .lib.eslintrc lib","lint":"xo && remark . -qfo","test":"npm run lint && npm run compile"},"xo":{"prettier":true,"space":true,"extends":["xo-lass"]},"licenseText":"The MIT License\n\nCopyright (c) 2017- Nick Baugh <niftylettuce@gmail.com>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"mongoose-validation-error-transform@0.0.5","dist":{"shasum":"26e0cfbf83b2880fd17ec52b3233843729d61663","integrity":"sha512-DFCIJ+zDgx9EpjFoRbOIfDPTAQO0f144YsTWjPuyon7I7zUTBeJ/poBKd8q5diIeRc5Sk/nTFC35LBHOd3QmfQ==","tarball":"https://registry.npmjs.org/mongoose-validation-error-transform/-/mongoose-validation-error-transform-0.0.5.tgz","fileCount":6,"unpackedSize":7919,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddfWeCRA9TVsSAnZWagAAw6MP/05whKZ+8q4vJnoQ4d9u\nJVBku0sxObXNrPakkPZCGfRxD8AAYXBH88BGX9hrMXanTC3StElms5xwqX9E\nAObjfBxrmjIkLu6Kr9m5xgRI/Rqfjt72IGu1M/KfjySgLcTaxHYjffj2TAzD\n+YQ5RglQUl4itnWxGXmUHsexCVasU/nSAG5urR9aKkzfztvDOX+FGgGv3P3O\nF1sGv6GOSmCAFh2lSAB9PHAtD6qtyTBaF3PwqGd/EV8HdWD9uwkRSUEj+iAZ\nHWOrNM+VPHSHyRwPHy20SWLvIIGrra/IimD5GxYUwm7ZtDx8ZTK6afEHunsN\nulcX+WQuBvGFE/sLgqtuWkUkG4EwjEWrg4jgg+JsXVcuA3QtnX9PNYEnQg88\nozc1FaTI2bxk6LxL2gZ26r4qDwwZ/joEeB1iKX70DBPc04NHp1drnIzUptXd\nzcM0kyWgD2eOwr/KpSYFiSwoAQI3lti/ozW7QgYLDltn2842zNvZErvX7jfu\nhF1/nRr6SHdhopEDYoy+j0p8/7tocNiX6UZ+47Z++8ou8BUiOPc70cgIDFKT\nf83OnMad6preC9o1phGfE2yp6mYkNlp2e4son7kgAvWD14RcdgZvzGYMfcYL\n4Kc1BkYgj8WM2YuaqWoRsCTI8bnTlWX2Yzkwd9KV+5jR56fzHAGl3L9cDdo9\nYOvI\r\n=i8Xd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAfUt7jQJeRi9kcgLjr+/O4z7vZRvhbhutWVqZnpNyzSAiEA2pB9sJo8WT03HQHYM/VC1WRWBI11yQbqbZYeEh2qyks="}]},"maintainers":[{"name":"niftylettuce","email":"niftylettuce@gmail.com"}],"_npmUser":{"name":"niftylettuce","email":"niftylettuce@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mongoose-validation-error-transform_0.0.5_1568011677550_0.3869077788426998"},"_hasShrinkwrap":false},"0.0.6":{"name":"mongoose-validation-error-transform","description":"Automatically transform Mongoose validation error message(s) to a humanized and readable format","version":"0.0.6","author":{"name":"Nick Baugh","email":"niftylettuce@gmail.com"},"bugs":{"url":"https://github.com/niftylettuce/mongoose-validation-error-transform/issues"},"commitlint":{"extends":["@commitlint/config-conventional"]},"contributors":[{"name":"Nick Baugh","email":"niftylettuce@gmail.com"}],"dependencies":{"capitalize":"^2.0.0","humanize-string":"^2.1.0","lodash":"^4.17.15"},"devDependencies":{"@babel/cli":"^7.5.5","@babel/core":"^7.5.5","@babel/preset-env":"^7.5.5","@commitlint/cli":"^8.1.0","@commitlint/config-conventional":"^8.1.0","eslint":"^6.3.0","eslint-config-xo-lass":"^1.0.3","eslint-plugin-node":"^10.0.0","fixpack":"^2.3.1","husky":"^3.0.5","lint-staged":"^9.2.5","remark-cli":"^7.0.0","remark-preset-github":"^0.0.16","rimraf":"^3.0.0","xo":"^0.24.0"},"engines":{"node":">= 6.x"},"homepage":"https://github.com/niftylettuce/mongoose-validation-error-transform","husky":{"hooks":{"pre-commit":"lint-staged && npm test","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"keywords":["alert","beautiful","custom","err","error","errors","handler","handling","messages","mongo","mongodb","mongoose","parse","parser","parsing","pretty","print","transform","unique","validation"],"license":"MIT","lint-staged":{"*.js":["xo --fix","git add"],"*.md":["remark . -qfo","git add"],"package.json":["fixpack","git add"]},"main":"lib/index.js","prettier":{"singleQuote":true,"bracketSpacing":true,"trailingComma":"none"},"remarkConfig":{"plugins":["preset-github"]},"repository":{"type":"git","url":"https://github.com/niftylettuce/mongoose-validation-error-transform.git"},"scripts":{"compile":"rimraf lib && babel src --out-dir lib && eslint --no-inline-config -c .lib.eslintrc lib","lint":"xo && remark . -qfo","test":"npm run lint && npm run compile"},"xo":{"prettier":true,"space":true,"extends":["xo-lass"]},"licenseText":"The MIT License\n\nCopyright (c) 2017- Nick Baugh <niftylettuce@gmail.com>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"mongoose-validation-error-transform@0.0.6","dist":{"shasum":"7e7341260278e9369df34b8109627fc91d870f36","integrity":"sha512-qhfezZmS0AIM9K3mGJXpcLtUjYDnCV0zuBc4Sr6CfMqUzddtJzDaooNONLrGShNNQ6oVfyZ8ZqWUR1P5z/gyGQ==","tarball":"https://registry.npmjs.org/mongoose-validation-error-transform/-/mongoose-validation-error-transform-0.0.6.tgz","fileCount":6,"unpackedSize":7988,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfCIEvCRA9TVsSAnZWagAAg4YQAJwSS7+Y93oCuYdmzEP+\nFAhrT6C6jlArkYJLoH9471GTOo37b/GECZUarSw3omxyPoODv5dx3LdlWimY\n9F4OC2IO7B31s61nPOxp9u+PLL3fRhM/I5KXS5dDQYjPW5AyIpfhqT6KkSt2\n57FmUA3Vji9iTCy6QOpDAJY9MUL9ezI7bCT4hSsk18tlQHSDNSKjLpN1yO1U\n9Tbn7J8Av11P+n5zF54FqGhQwZ+wMd8OxbuoEw+nbTCYasAFAWHcIozr+hbA\nK1oG0fOa6UNo4OH6/scfl0Nzno2n0dMOz1q+e1C/TQtlxqPdL+nWzHQOB42+\nqv1AXwIcgcYxVuXnpyOdnR1KWHGbKat4MNZGRtSG60w+KEzasUoIK+5L2yjB\nE25iEOcqP7qskGwcpSLrAL9Z3NMeiIVAxLJY/BFo6spTVHmQ5vsURqOrAhHb\nImX0ZWz1EmXvP1jL6RUhsiStB+hE0MtVYUddY9zEHisWgwiFpkgBXxrqCkjc\nh240hfPWevJHbdvG2i/nYBW0hQIG1y1SJ6CWQBRJU5Zbzq0brCNqZ3o29zVm\nM5amlpX3pYgZvCd0d479XoXIKYr1yZnqfZx9PQOzvqQbne9t9laawNxpW6SA\ntL9PtZPS8r9eGnf2MpY1bahtgZgDBOeO36a8uzLXKhocbvHpby0pV7QaVgH7\neD7E\r\n=69w6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICAbZDRP49iKOPxA9bSYMH9vmMnQEUSTfqehnz/gDtUZAiBKQAgxOQOKx98bD1WmWPk2lZO1oFEx6EVlkGlEUnMAeQ=="}]},"maintainers":[{"name":"niftylettuce","email":"niftylettuce@gmail.com"}],"_npmUser":{"name":"niftylettuce","email":"niftylettuce@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mongoose-validation-error-transform_0.0.6_1594392878940_0.12887165701458203"},"_hasShrinkwrap":false}},"homepage":"https://github.com/niftylettuce/mongoose-validation-error-transform","keywords":["alert","beautiful","custom","err","error","errors","handler","handling","messages","mongo","mongodb","mongoose","parse","parser","parsing","pretty","print","transform","unique","validation"],"repository":{"type":"git","url":"https://github.com/niftylettuce/mongoose-validation-error-transform.git"},"author":{"name":"Nick Baugh","email":"niftylettuce@gmail.com"},"bugs":{"url":"https://github.com/niftylettuce/mongoose-validation-error-transform/issues"},"license":"MIT","readmeFilename":"README.md","contributors":[{"name":"Nick Baugh","email":"niftylettuce@gmail.com"}]}