{"name":"compound-subject","version":"0.0.0","description":"A tiny JavaScript library for converting arrays of strings to compound subjects","main":"compound-subject.js","dependencies":{},"devDependencies":{"expresso":"~0.9.2","grunt":"~0.4.5","grunt-contrib-uglify":"~0.5.1"},"scripts":{"test":"expresso test/*"},"repository":{"type":"git","url":"https://github.com/adamshaylor/compound-subject.git"},"keywords":["array","English","grammar","compound","subject","list","and","or","comma","semicolon"],"author":{"name":"Adam Shaylor","email":"business@adamshaylor.com"},"license":"MIT","bugs":{"url":"https://github.com/adamshaylor/compound-subject/issues"},"homepage":"https://github.com/adamshaylor/compound-subject","gitHead":"68aa28b3af6f170c4b34dcdbee4217cb58538b13","_id":"compound-subject@0.0.0","_shasum":"37c7fdf30746495f1456c4d80c2617ac5e71d998","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"adamshaylor","email":"business@adamshaylor.com"},"maintainers":[{"name":"adamshaylor","email":"business@adamshaylor.com"}],"dist":{"shasum":"37c7fdf30746495f1456c4d80c2617ac5e71d998","tarball":"http://registry-npm.ywwl.com/compound-subject/download/compound-subject-0.0.0.tgz","integrity":"sha512-caG7+96Z1FsCmO5BoSR4qoPMbVGpOYs/Mbk3DOTZRV2tZuOe5LAH22M4jNbUvVR0hTNjCE1COnK+twjiT9XSSA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWkeCnac+sYrr0+SunSsvf5GCaJPBz3wOPIpJ1TP5nSAIgcTXIKFqi+NaItIlXJvFf60D+KGBV07R3dFIS01fNe1Y="}],"size":3016,"noattachment":false,"key":"/compound-subject/-/compound-subject-0.0.0.tgz"},"directories":{},"readme":"compound-subject\n================\n\nA tiny JavaScript library for converting arrays of strings to compound subjects\n\n## Installation\n\n### Node\n\nIn your project directory:\n\n```shell\nnpm install --save compound-subject\n```\n\nAt the top of your module:\n\n```javascript\nvar compoundSubject = require('compound-subject');\n```\n\n### Bower\n\nIn your project directory:\n\n```shell\nbower install --save compound-subject\n```\n\nIn your HTML:\n\n```html\n<script src=\"bower_components/compound-subject/compound-subject.min.js\"></script>\n```\n\nOr if you want the dev version:\n\n```html\n<script src=\"bower_components/compound-subject/compound-subject.js\"></script>\n```\n\n`compoundSubject` will be defined in the global scope (i.e. `window`).\n\n## Usage\n\n```javascript\ncompoundSubject(['apple', 'banana', 'cherry']).make();\n\n// 'apple, banana and cherry'\n\n\ncompoundSubject(['apple', 'banana', 'cherry'])\n\t.endWith('or')\n\t.make();\n\n// 'apple, banana or cherry'\n\n\ncompoundSubject(['apple', 'banana', 'cherry'])\n\t.delimitAll()\n\t.endWith('and maybe')\n\t.make();\n\n// 'apple, banana, and maybe cherry'\n\n\ncompoundSubject([\n\t'a very crunchy Honeycrisp apple',\n\t'bananas at the pinnacle of ripeness',\n\t'delectable halved Rainier cherries'\n]).delimitWith(';')\n\t.delimitAll()\n\t.make();\n\n// 'a very crunchy Honeycrisp apple; bananas at the pinnacle of ripeness; and delectable halved Rainier cherries'\n```\n","publish_time":1406939887565,"_cnpm_publish_time":1406939887565,"dist-tags":{"latest":"0.0.2"}}