{"name":"sails-generate-model","version":"0.10.10","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"},"gitHead":"a27d1a792cfc34360986691b96248ae2da791cbb","_id":"sails-generate-model@0.10.10","_shasum":"cffba3676198f0c8467827caab600e682d2232ad","_from":".","_npmVersion":"2.10.0","_nodeVersion":"0.10.28","_npmUser":{"name":"sgress454","email":"scott@balderdash.co"},"maintainers":[{"name":"balderdashy","email":"mike@balderdash.co"},{"name":"sgress454","email":"scott@balderdash.co"}],"dist":{"shasum":"cffba3676198f0c8467827caab600e682d2232ad","tarball":"http://registry-npm.ywwl.com/sails-generate-model/download/sails-generate-model-0.10.10.tgz","integrity":"sha512-V56G6sdxVHP2qAGYcqkUqBBYLW0tdTXnd0M1uVEFb+H9k+XiBYZ85BVG85Ca+G830WIZQkKmQcuK2m3tDPNX4A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHtwwPJoExCxsUrmMHCv2V7Dvi2nZO7RVAoCsOgkd4AmAiEA5yrdKPB5f9lgxfuC0CKXf8oO9EGkYh4XHb4OrsKBBjQ="}],"size":6518,"noattachment":false,"key":"/sails-generate-model/-/sails-generate-model-0.10.10.tgz"},"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":1431984605190,"_cnpm_publish_time":1431984605190,"dist-tags":{"latest":"0.10.12"}}