{"name":"anchor","version":"1.4.1","description":"High-level validation library for Node.js (used in Waterline)","homepage":"https://sailsjs.com","keywords":["validation","recursive-validator","nested","validator","strict-types","web-framework","type-coercion","waterline","validate-parameters","sails.js","sails"],"main":"index.js","directories":{"test":"test"},"scripts":{"test":"npm run lint && npm run custom-tests","custom-tests":"node ./node_modules/mocha/bin/mocha -R dot test","lint":"node ./node_modules/eslint/bin/eslint . --max-warnings=0 --ignore-pattern 'test/' && echo '✔  Your code looks good.'"},"repository":{"type":"git","url":"git://github.com/sailsjs/anchor.git"},"author":{"name":"Mike McNeil"},"license":"MIT","dependencies":{"@sailshq/lodash":"^3.10.2","validator":"13.7.0"},"devDependencies":{"eslint":"4.11.0","mocha":"3.0.2"},"gitHead":"f24a4fede44089981a6b0de955869e031851092d","bugs":{"url":"https://github.com/sailsjs/anchor/issues"},"_id":"anchor@1.4.1","_nodeVersion":"14.20.0","_npmVersion":"6.14.17","dist":{"integrity":"sha512-T4rWOGuI+pjf0KgrnLMWrHBIsLCxf6HQ2OgXboMs4QAf7ogvbqIYwCLR7k7BBeTBvrmyDv1M6mZDSUl2pKLMkw==","shasum":"2f678afeaf34959e04a5be98e3144debf2a78d07","tarball":"http://registry-npm.ywwl.com/anchor/download/anchor-1.4.1.tgz","fileCount":14,"unpackedSize":41763,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCPtlJUy56cFk2eeNbmKOHeMpm7kcTM/G9oq3nHQxKErwIgYtcQ8bW+pBvSbkSWQJebcSBZUxQDfJboM7eKMVHHUOU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjA9jwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrnZg/+Nl0O9TwL/Q+d+9uAmCHMbEpAhxe5YfF4wKj4NvzAiQH8Wltd\r\nty7vYcj2NBXWj49DFzw13/Lllvjp9nbfRq45sLaP/EOsw7mxBqbT+gREV1Bf\r\nRli3EC2rm/rOa/TaUeVb9vA21nvVdnxNejQa/EA1nNcUi/2ZnONi393dbMAb\r\nwpjIAmrMlI6wXr7jEE7QoQvc7+NbrV0QxeXSQS6nudmfH4Ai7qpjd3HnOq02\r\nPoMjD7ILM94H7BrYe1Hr3XhGHMPYhdAntS+67/eck4c0sjFfJX0XlUQTQhfi\r\nHLrYOFA0kZe60U5fa937gzM2EZ0FyUa1loTQQijerMb3mbNEUhlKHJcfK6XH\r\nVxxAs+4KHfilVP41YHFIOJFb29A6tvg72Q4U55PLuvbZNHbaSCqD0fMXSzBF\r\nw8us4oZfEMnsArPELo85i3IMm3C0Ao63GcHzEeFW01AWodB2VXMCRam5+kSM\r\njbwz2OzvBo+W6Vb+k9vpllXe0sjajwza50kKWG3wvTWjT5FNKaCCpPTH65gU\r\nvadawsV9n2okpUpbn6RYRBtIXcXHGSNDtvVC2ZekKylYrzRB0QMQJgwp9hnP\r\nivbd0w/fXJ/ahv6REuKN2GdPdzMlWitbeOTbY4C66Fgu6sPlQQYwEp4G5XZX\r\nNREeUS9PSK/jReyMfMF9RwwQzV1T4hy7quo=\r\n=1+/+\r\n-----END PGP SIGNATURE-----\r\n","size":11537,"noattachment":false,"key":"/anchor/-/anchor-1.4.1.tgz"},"_npmUser":{"name":"eashaw","email":"eashaw@sailsjs.com"},"maintainers":[{"name":"particlebanana","email":"particlebanana@gmail.com"},{"name":"sgress454","email":"scottmgress@gmail.com"},{"name":"balderdashy","email":"mike@balderdash.co"},{"name":"mikermcneil","email":"npm@sailsjs.com"},{"name":"eashaw","email":"eashaw@sailsjs.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/anchor_1.4.1_1661196527889_0.7107261628752333"},"_hasShrinkwrap":false,"readme":"# anchor\n\nAnchor is a JavaScript library that lets you enforce [high-level validation rules](https://sailsjs.com/documentation/concepts/models-and-orm/validations).  It is used in [Waterline and Sails](https://sailsjs.com/features) to complement the type safety imposed by [rttc](https://npmjs.com/package/rttc).\n\n(Built on top of the great work with https://www.npmjs.com/package/validator)\n\n## Usage\n\n\n#### Documentation\n\nThe up-to-date documentation for high-level anchor validation rules is maintained on the [Sails framework website](http://sailsjs.com).\n\nYou can find a detailed reference of all validation rules under [Concepts > Models & ORM > Validations](http://sailsjs.com/documentation/concepts/models-and-orm/validations).\n\n> For more details on standalone usage, see the source code in this repo.\n\n<!--\n  #### Standalone usage\n\n  For the browser:\n\n  ```html\n  <script type='text/javscript' src=\"/js/anchor.js\"></script>\n  ```\n\n  For Node.js:\n\n  ```bash\n  npm install anchor\n  ```\n\n  ```javascript\n  var anchor = require('anchor');\n  ```\n-->\n\n## Help\n\nCheck out the recommended [community support options](http://sailsjs.com/support) for tutorials and other resources.  If you have a specific question, or just need to clarify how something works, [ask for help](https://gitter.im/balderdashy/sails) or reach out to the core team [directly](http://sailsjs.com/flagship).\n\nYou can keep up to date with security patches, the Sails/Waterline release schedule, new database adapters, and events in your area by following us [@sailsjs](https://twitter.com/sailsjs) and [@waterlineorm](https://twitter.com/waterlineorm) on Twitter.\n\n## Bugs &nbsp; [![NPM version](https://badge.fury.io/js/anchor.svg)](http://npmjs.com/package/anchor)\nTo report a bug, [click here](http://sailsjs.com/bugs).\n\n## Contribute &nbsp; [![Build Status](https://travis-ci.org/sailshq/anchor.png?branch=master)](https://travis-ci.org/sailshq/anchor)\nPlease observe the guidelines and conventions laid out in our [contribution guide](http://sailsjs.com/documentation/contributing) when opening issues or submitting pull requests.\n\n#### Tests\nAll tests are written with [mocha](https://mochajs.org/) and should be run with [npm](https://www.npmjs.com/):\n\n``` bash\n  $ npm test\n```\n\n\n## License\n\nCopyright 2012-present, [Mike McNeil](https://twitter.com/mikermcneil)\n\nThis core package, like the rest of the [Sails framework](http://sailsjs.com), is free and open-source under the [MIT License](http://sailsjs.com/license).\n\n[![image_squidhome@2x.png](http://sailsjs.com/images/bkgd_squiddy.png)](http://sailsjs.com/about)\n","publish_time":1661196528045,"_cnpm_publish_time":1661196528045,"dist-tags":{"latest":"1.4.2"}}