{
  "_args": [
    [
      {
        "raw": "array-to-sentence@^1.1.0",
        "scope": null,
        "escapedName": "array-to-sentence",
        "name": "array-to-sentence",
        "rawSpec": "^1.1.0",
        "spec": ">=1.1.0 <2.0.0",
        "type": "range"
      },
      "/home/travis/build/lukesargeant/ember-sparkline/node_modules/array-to-error"
    ]
  ],
  "_from": "array-to-sentence@>=1.1.0 <2.0.0",
  "_id": "array-to-sentence@1.1.0",
  "_inCache": true,
  "_location": "/array-to-sentence",
  "_nodeVersion": "5.9.1",
  "_npmOperationalInternal": {
    "host": "packages-12-west.internal.npmjs.com",
    "tmp": "tmp/array-to-sentence-1.1.0.tgz_1465974431563_0.26641089422628284"
  },
  "_npmUser": {
    "name": "shinnn",
    "email": "snnskwtnb@gmail.com"
  },
  "_npmVersion": "3.9.3",
  "_phantomChildren": {},
  "_requested": {
    "raw": "array-to-sentence@^1.1.0",
    "scope": null,
    "escapedName": "array-to-sentence",
    "name": "array-to-sentence",
    "rawSpec": "^1.1.0",
    "spec": ">=1.1.0 <2.0.0",
    "type": "range"
  },
  "_requiredBy": [
    "/array-to-error"
  ],
  "_resolved": "https://registry.npmjs.org/array-to-sentence/-/array-to-sentence-1.1.0.tgz",
  "_shasum": "c804956dafa53232495b205a9452753a258d39fc",
  "_shrinkwrap": null,
  "_spec": "array-to-sentence@^1.1.0",
  "_where": "/home/travis/build/lukesargeant/ember-sparkline/node_modules/array-to-error",
  "bugs": {
    "url": "https://github.com/shinnn/array-to-sentence/issues"
  },
  "dependencies": {},
  "description": "Join all elements of an array and create a human-readable string",
  "devDependencies": {
    "@shinnn/eslint-config": "^2.3.0",
    "eslint": "^2.12.0",
    "istanbul": "^0.4.3",
    "require-from-string": "^1.2.0",
    "rollup": "^0.31.2",
    "tape": "^4.5.1"
  },
  "directories": {},
  "dist": {
    "shasum": "c804956dafa53232495b205a9452753a258d39fc",
    "tarball": "https://registry.npmjs.org/array-to-sentence/-/array-to-sentence-1.1.0.tgz"
  },
  "files": [
    "index.js",
    "index.jsnext.js"
  ],
  "gitHead": "4c817797d1dfdf7de662a53d8616dfdf2025f60f",
  "homepage": "https://github.com/shinnn/array-to-sentence#readme",
  "jsnext:main": "index.jsnext.js",
  "keywords": [
    "to-sentence",
    "sentence",
    "array",
    "join",
    "human",
    "readable",
    "string",
    "separator",
    "comma",
    "and",
    "browser",
    "client-side"
  ],
  "license": "MIT",
  "maintainers": [
    {
      "name": "shinnn",
      "email": "snnskwtnb@gmail.com"
    }
  ],
  "name": "array-to-sentence",
  "optionalDependencies": {},
  "readme": "# array-to-sentence\n\n[![NPM version](https://img.shields.io/npm/v/array-to-sentence.svg)](https://www.npmjs.com/package/array-to-sentence)\n[![Bower version](https://img.shields.io/bower/v/array-to-sentence.svg)](https://github.com/shinnn/array-to-sentence/releases)\n[![Build Status](https://travis-ci.org/shinnn/array-to-sentence.svg?branch=master)](https://travis-ci.org/shinnn/array-to-sentence)\n[![Coverage Status](https://img.shields.io/coveralls/shinnn/array-to-sentence.svg)](https://coveralls.io/github/shinnn/array-to-sentence)\n[![devDependency Status](https://david-dm.org/shinnn/array-to-sentence/dev-status.svg)](https://david-dm.org/shinnn/array-to-sentence#info=devDependencies)\n\nJoin all elements of an array and create a human-readable string\n\n```javascript\narrayToSentence(['foo', 'bar', 'baz', 'qux']); //=> 'foo, bar, baz and qux'\n```\n\n## Installation\n\n### Package managers\n\n#### [npm](https://www.npmjs.com/)\n\n```\nnpm install array-to-sentence\n```\n\n#### [bower](http://bower.io/)\n\n```\nbower install array-to-sentence\n```\n\n### Standalone\n\n[Download the script file directly.](https://raw.githubusercontent.com/shinnn/array-to-sentence/master/browser.js)\n\n## API\n\n### arrayToSentence(*array* [, *options*])\n\n*array*: `Array` of any values  \n*options*: `Object`  \nReturn: `String`\n\nIt joins all elements of an array, and returns a string in the form `A, B, ... and X`.\n\n```javascript\narrayToSentence(['one', 'two', 3]); //=> 'one, two and 3'\narrayToSentence(['one', 'two']); //=> 'one and two'\narrayToSentence(['one']); //=> 'one'\n```\n\nIt returns an empty string if the array is empty.\n\n```javascript\narrayToSentence([]); //=> ''\n```\n\n### options.separator\n\nType: `String`  \nDefault: `', '`\n\nSet the separator string of each word.\n\n### options.lastSeparator\n\nType: `String`  \nDefault: `' and '`\n\nSet the separator string before the last word.\n\n```javascript\narrayToSentence(['A', 'B', 'C'], {\n  separator: '-',\n  lastSeparator: '-'\n}); //=> 'A-B-C'\n\narrayToSentence(['Earth', 'Wind', 'Fire'], {\n  lastSeparator: ' & '\n}); //=> 'Earth, Wind & Fire'\n```\n\n## Acknowledgement\n\nFor designing API, I used `.toSentence()` method of [underscore.string](https://github.com/epeli/underscore.string) as reference. Thanks, [Esa-Matti Suuronen](https://github.com/epeli) and [the contributors](https://github.com/epeli/underscore.string/graphs/contributors).\n\n## License\n\nCopyright (c) 2014 - 2015 [Shinnosuke Watanabe](https://github.com/shinnn)\n\nLicensed under [the MIT License](./LICENSE).\n",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/shinnn/array-to-sentence.git"
  },
  "scripts": {
    "coverage": "node --strong_mode node_modules/.bin/istanbul cover test.js",
    "pretest": "eslint --fix --config @shinnn --ignore-path .gitignore .",
    "test": "node --strong_mode --throw-deprecation --track-heap-objects test.js"
  },
  "version": "1.1.0"
}
