{"name":"anchor","version":"0.10.2","description":"Recursive validation library with support for objects and lists","homepage":"http://sailsjs.org","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":"echo Running tests... && mocha --globals testRule"},"repository":{"type":"git","url":"git://github.com/balderdashy/anchor.git"},"author":{"name":"Mike McNeil"},"license":"MIT","dependencies":{"validator":"~3.22.0","lodash":"~2.4.1"},"devDependencies":{"async":"~0.2.10","mocha":"1.9.x"},"gitHead":"6c0c1edc1c88af857336b014a4508d93a8b33bf5","bugs":{"url":"https://github.com/balderdashy/anchor/issues"},"_id":"anchor@0.10.2","_shasum":"a763d263ece7ed549d611357b4539d189c9187e1","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"particlebanana","email":"particlebanana@gmail.com"},"maintainers":[{"name":"balderdashy","email":"mike@balderdashdesign.com"},{"name":"particlebanana","email":"particlebanana@gmail.com"},{"name":"sgress454","email":"scott@balderdash.co"}],"dist":{"shasum":"a763d263ece7ed549d611357b4539d189c9187e1","tarball":"http://registry-npm.ywwl.com/anchor/download/anchor-0.10.2.tgz","integrity":"sha512-87R+3WoXwOoTB76DpBphWbI6sKraXNNNTahoU3YrUFaqdWETONymgAN9zqFW1a5yS38BVruVVgGwP2dpKs59xA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICxTprW0keg/fejWEn0sUhlsq2aR32x7BrH0m2XL63MLAiBivs4sxcQI5DW5NnH20w7YWCTEjZrEZ6IhabrXU42olA=="}],"size":10878,"noattachment":false,"key":"/anchor/-/anchor-0.10.2.tgz"},"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":1416604880646,"_cnpm_publish_time":1416604880646,"dist-tags":{"latest":"1.4.2"}}