{"name":"sails-generate-model","version":"0.10.8","description":"Generate a model for a Sails app.","main":"lib/index.js","scripts":{"test":"mocha"},"keywords":["model","generator","sails","generate","plugin"],"author":{"name":"balderdashy"},"license":"MIT","dependencies":{"lodash":">=2.4.x","merge-defaults":">=0.1.0","underscore.string":"~2.3.3"},"devDependencies":{"sails-generate":"*","reportback":"*","fs-extra":"*"},"sailsGenerator":{"type":"model","behavior":"overrides `sails generate model`","sailsVersion":"~0.10.0"},"_id":"sails-generate-model@0.10.8","dist":{"shasum":"7ec5143616a2d0a16dd47bff446e8dfb725574b8","tarball":"http://registry-npm.ywwl.com/sails-generate-model/download/sails-generate-model-0.10.8.tgz","integrity":"sha512-1uXpiH2HOv8HZ91CegnZwYNbzDNl0vi1e5Z5uBjkQrgjQi4jE6CaXug5ZygspdfE1Vq0+J1kEy8nrqxrGgKVDQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCjSjxJn/7mAC+vkznh5yd5xAgHsWuKQ57mTuEIRBhaNQIhAJGF9cIReERNkpz/aLZMm1tu/piosCwehBJSKdwh7Yx6"}],"size":6436,"noattachment":false,"key":"/sails-generate-model/-/sails-generate-model-0.10.8.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"balderdashy","email":"mike@balderdash.co"},"maintainers":[{"name":"balderdashy","email":"mike@balderdash.co"},{"name":"sgress454","email":"scott@balderdash.co"}],"directories":{},"readme":"![image_squidhome@2x.png](http://i.imgur.com/RIvu9.png)\n\n# sails-generate-model\n\n\nA `model` generator for use with the Sails command-line interface.\n\n\n### Installation\n\nCertain generators are installed by default in Sails, but they can be overridden.  Check the [Sails docs](http://sailsjs.org/#!documentation) for information on installing generator overrides / custom generators.\n\n<!--\n```sh\n$ npm install sails-generate-model\n```\n-->\n\n\n### Production Usage\n\n##### On the command line\n\n```sh\n$ sails generate model \n```\n\n##### In a node script\n\n```javascript\nvar path = require('path');\nvar sailsgen = require('sails-generate');\nvar scope = {\n\trootPath: path.resolve(__dirname)\n};\nsailsgen(require('sails-generate-model'), scope, function (err) {\n\tif (err) throw err;\n\n\t// It worked.\n});\n```\n\n\n### Development\n\nTo get started quickly and see this generator in action, run the `bin/index.js` script:\n\n```sh\n$ git clone YOUR_FORK_OF_THIS_REPO sails-generate-model-fork\n$ cd sails-generate-model-fork\n$ npm install\n$ node ./bin\n```\n\n`bin/index.js` is a simple script, bundled only for convenience, that runs the generator with hard-coded scope variables.  Please feel free to modify that file however you like!  Also see `CONTRIBUTING.md` for more information on overriding/enhancing generators.\n\n\n\n### Questions?\n\nSee `FAQ.md`.\n\n\n\n### More Resources\n\n- [Stackoverflow](http://stackoverflow.com/questions/tagged/sails.js)\n- [#sailsjs on Freenode](http://webchat.freenode.net/) (IRC channel)\n- [Twitter](https://twitter.com/sailsjs)\n- [Professional/enterprise](https://github.com/balderdashy/sails-docs/blob/master/FAQ.md#are-there-professional-support-options)\n- [Tutorials](https://github.com/balderdashy/sails-docs/blob/master/FAQ.md#where-do-i-get-help)\n- <a href=\"http://sailsjs.org\" target=\"_blank\" title=\"Node.js framework for building realtime APIs.\"><img src=\"https://github-camo.global.ssl.fastly.net/9e49073459ed4e0e2687b80eaf515d87b0da4a6b/687474703a2f2f62616c64657264617368792e6769746875622e696f2f7361696c732f696d616765732f6c6f676f2e706e67\" width=60 alt=\"Sails.js logo (small)\"/></a>\n\n\n### License\n\n**[MIT](./LICENSE)**\n&copy; 2014 [balderdashy](http://github.com/balderdashy) & [contributors]\n[Mike McNeil](http://michaelmcneil.com), [Balderdash](http://balderdash.co) & contributors\n\n[Sails](http://sailsjs.org) is free and open-source under the [MIT License](http://sails.mit-license.org/).\n\n","publish_time":1393216679048,"_cnpm_publish_time":1393216679048,"dist-tags":{"latest":"0.10.12"}}