{
  "_args": [
    [
      {
        "raw": "istextorbinary@2.1.0",
        "scope": null,
        "escapedName": "istextorbinary",
        "name": "istextorbinary",
        "rawSpec": "2.1.0",
        "spec": "2.1.0",
        "type": "version"
      },
      "/home/travis/build/lukesargeant/ember-sparkline/node_modules/async-disk-cache"
    ]
  ],
  "_from": "istextorbinary@2.1.0",
  "_id": "istextorbinary@2.1.0",
  "_inCache": true,
  "_location": "/istextorbinary",
  "_nodeVersion": "6.0.0",
  "_npmOperationalInternal": {
    "host": "packages-16-east.internal.npmjs.com",
    "tmp": "tmp/istextorbinary-2.1.0.tgz_1462855297560_0.00024023698642849922"
  },
  "_npmUser": {
    "name": "balupton",
    "email": "b@lupton.cc"
  },
  "_npmVersion": "3.8.7",
  "_phantomChildren": {},
  "_requested": {
    "raw": "istextorbinary@2.1.0",
    "scope": null,
    "escapedName": "istextorbinary",
    "name": "istextorbinary",
    "rawSpec": "2.1.0",
    "spec": "2.1.0",
    "type": "version"
  },
  "_requiredBy": [
    "/async-disk-cache"
  ],
  "_resolved": "https://registry.npmjs.org/istextorbinary/-/istextorbinary-2.1.0.tgz",
  "_shasum": "dbed2a6f51be2f7475b68f89465811141b758874",
  "_shrinkwrap": null,
  "_spec": "istextorbinary@2.1.0",
  "_where": "/home/travis/build/lukesargeant/ember-sparkline/node_modules/async-disk-cache",
  "author": {
    "name": "2012+ Bevry Pty Ltd",
    "email": "us@bevry.me",
    "url": "http://bevry.me"
  },
  "badges": {
    "list": [
      "travisci",
      "npmversion",
      "npmdownloads",
      "daviddm",
      "daviddmdev",
      "---",
      "slackin",
      "patreon",
      "gratipay",
      "flattr",
      "paypal",
      "bitcoin",
      "wishlist"
    ],
    "config": {
      "patreonUsername": "bevry",
      "gratipayUsername": "bevry",
      "flattrUsername": "balupton",
      "paypalURL": "https://bevry.me/paypal",
      "bitcoinURL": "https://bevry.me/bitcoin",
      "wishlistURL": "https://bevry.me/wishlist",
      "slackinURL": "https://slack.bevry.me"
    }
  },
  "browser": "es2015/index.js",
  "bugs": {
    "url": "https://github.com/bevry/istextorbinary/issues"
  },
  "contributors": [
    {
      "name": "Benjamin Lupton",
      "email": "b@lupton.cc",
      "url": "https://balupton.com"
    },
    {
      "name": "shinnn",
      "email": "snnskwtnb@gmail.com",
      "url": "https://shinnn.github.io"
    },
    {
      "name": "Ian Sibner",
      "email": "sibnerian@gmail.com",
      "url": "https://github.com/sibnerian"
    }
  ],
  "dependencies": {
    "binaryextensions": "1 || 2",
    "editions": "^1.1.1",
    "textextensions": "1 || 2"
  },
  "description": "Determines if a buffer is comprised of text or binary",
  "devDependencies": {
    "assert-helpers": "^4.2.0",
    "babel-cli": "^6.8.0",
    "babel-preset-es2015": "^6.6.0",
    "documentation": "^4.0.0-beta2",
    "eslint": "^2.9.0",
    "eslint-plugin-babel": "^3.2.0",
    "joe": "^1.6.0",
    "joe-reporter-console": "^1.2.1",
    "projectz": "^1.1.5"
  },
  "directories": {},
  "dist": {
    "shasum": "dbed2a6f51be2f7475b68f89465811141b758874",
    "tarball": "https://registry.npmjs.org/istextorbinary/-/istextorbinary-2.1.0.tgz"
  },
  "editions": [
    {
      "description": "Source + ESNext + Require",
      "entry": "source/index.js",
      "directory": "source",
      "syntaxes": [
        "javascript",
        "esnext",
        "require",
        "const",
        "let",
        "forof",
        "destructuring",
        "defaults"
      ]
    },
    {
      "description": "Babel Compiled + ES2015 + Require",
      "entry": "es2015/index.js",
      "directory": "es2015",
      "syntaxes": [
        "javascript",
        "es2015",
        "require"
      ]
    }
  ],
  "engines": {
    "node": ">=0.12"
  },
  "gitHead": "c51e4dfcafa01895636ce821d080e1ce7bcc9452",
  "homepage": "https://github.com/bevry/istextorbinary",
  "keywords": [
    "text",
    "binary",
    "encoding"
  ],
  "license": "MIT",
  "main": "index.js",
  "maintainers": [
    {
      "name": "Benjamin Lupton",
      "email": "b@lupton.cc",
      "url": "https://balupton.com"
    },
    {
      "name": "Rob Loach",
      "email": "robloach@gmail.com",
      "url": "https://github.com/robloach"
    },
    {
      "name": "Michael Mooring",
      "email": "mike@mdm.cc",
      "url": "https://github.com/mikeumus"
    }
  ],
  "name": "istextorbinary",
  "optionalDependencies": {},
  "readme": "<!-- TITLE/ -->\n\n<h1>Is Text or Binary?</h1>\n\n<!-- /TITLE -->\n\n\n<!-- BADGES/ -->\n\n<span class=\"badge-travisci\"><a href=\"http://travis-ci.org/bevry/istextorbinary\" title=\"Check this project's build status on TravisCI\"><img src=\"https://img.shields.io/travis/bevry/istextorbinary/master.svg\" alt=\"Travis CI Build Status\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/istextorbinary\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/istextorbinary.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/istextorbinary\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/istextorbinary.svg\" alt=\"NPM downloads\" /></a></span>\n<span class=\"badge-daviddm\"><a href=\"https://david-dm.org/bevry/istextorbinary\" title=\"View the status of this project's dependencies on DavidDM\"><img src=\"https://img.shields.io/david/bevry/istextorbinary.svg\" alt=\"Dependency Status\" /></a></span>\n<span class=\"badge-daviddmdev\"><a href=\"https://david-dm.org/bevry/istextorbinary#info=devDependencies\" title=\"View the status of this project's development dependencies on DavidDM\"><img src=\"https://img.shields.io/david/dev/bevry/istextorbinary.svg\" alt=\"Dev Dependency Status\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-slackin\"><a href=\"https://slack.bevry.me\" title=\"Join this project's slack community\"><img src=\"https://slack.bevry.me/badge.svg\" alt=\"Slack community badge\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"http://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-gratipay\"><a href=\"https://www.gratipay.com/bevry\" title=\"Donate weekly to this project using Gratipay\"><img src=\"https://img.shields.io/badge/gratipay-donate-yellow.svg\" alt=\"Gratipay donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-bitcoin\"><a href=\"https://bevry.me/bitcoin\" title=\"Donate once-off to this project using Bitcoin\"><img src=\"https://img.shields.io/badge/bitcoin-donate-yellow.svg\" alt=\"Bitcoin donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<!-- /BADGES -->\n\n\n<!-- DESCRIPTION/ -->\n\nDetermines if a buffer is comprised of text or binary\n\n<!-- /DESCRIPTION -->\n\n\n<!-- INSTALL/ -->\n\n<h2>Install</h2>\n\n<a href=\"https://npmjs.com\" title=\"npm is a package manager for javascript\"><h3>NPM</h3></a><ul>\n<li>Install: <code>npm install --save istextorbinary</code></li>\n<li>Module: <code>require('istextorbinary')</code></li></ul>\n\n<a href=\"http://browserify.org\" title=\"Browserify lets you require('modules') in the browser by bundling up all of your dependencies\"><h3>Browserify</h3></a><ul>\n<li>Install: <code>npm install --save istextorbinary</code></li>\n<li>Module: <code>require('istextorbinary')</code></li>\n<li>CDN URL: <code>//wzrd.in/bundle/istextorbinary@2.1.0</code></li></ul>\n\n<a href=\"http://enderjs.com\" title=\"Ender is a full featured package manager for your browser\"><h3>Ender</h3></a><ul>\n<li>Install: <code>ender add istextorbinary</code></li>\n<li>Module: <code>require('istextorbinary')</code></li></ul>\n\n<h3><a href=\"https://github.com/bevry/editions\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a></h3>\n\n<p>This package is published with the following editions:</p>\n\n<ul><li><code>istextorbinary</code> aliases <code>istextorbinary/index.js</code> which uses <a href=\"https://github.com/bevry/editions\" title=\"Editions are the best way to produce and consume packages you care about.\">Editions</a> to automatically select the correct edition for the consumers environment</li>\n<li><code>istextorbinary/source/index.js</code> is Source + <a href=\"https://babeljs.io/docs/learn-es2015/\" title=\"ECMAScript Next\">ESNext</a> + <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a></li>\n<li><code>istextorbinary/es2015/index.js</code> is <a href=\"https://babeljs.io\" title=\"The compiler for writing next generation JavaScript\">Babel</a> Compiled + <a href=\"http://babeljs.io/docs/plugins/preset-es2015/\" title=\"ECMAScript 2015\">ES2015</a> + <a href=\"https://nodejs.org/dist/latest-v5.x/docs/api/modules.html\" title=\"Node/CJS Modules\">Require</a></li></ul>\n\n<p>Older environments may need <a href=\"https://babeljs.io/docs/usage/polyfill/\" title=\"A polyfill that emulates missing ECMAScript environment features\">Babel's Polyfill</a> or something similar.</p>\n\n<!-- /INSTALL -->\n\n\n## Usage\n\n``` javascript\n// Synchronous API\nvar result = require('istextorbinary').isTextSync(filename, buffer)\n\n// Asynchronous API\nrequire('istextorbinary').isText(filename, buffer, function(err, result){\n  // ...\n})\n\n// You can supply text or buffer, or both text and buffer, the more provided, the more accurate the result\n```\n\n[API Documentation.](http://rawgit.com/bevry/istextorbinary/master/docs/index.html)\n\n\n<!-- HISTORY/ -->\n\n<h2>History</h2>\n\n<a href=\"https://github.com/bevry/istextorbinary/blob/master/HISTORY.md#files\">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>\n\n<!-- /HISTORY -->\n\n\n<!-- CONTRIBUTE/ -->\n\n<h2>Contribute</h2>\n\n<a href=\"https://github.com/bevry/istextorbinary/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /CONTRIBUTE -->\n\n\n<!-- BACKERS/ -->\n\n<h2>Backers</h2>\n\n<h3>Maintainers</h3>\n\nThese amazing people are maintaining this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/istextorbinary/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/istextorbinary\">view contributions</a></li>\n<li><a href=\"https://github.com/robloach\">Rob Loach</a> — <a href=\"https://github.com/bevry/istextorbinary/commits?author=robloach\" title=\"View the GitHub contributions of Rob Loach on repository bevry/istextorbinary\">view contributions</a></li>\n<li><a href=\"https://github.com/mikeumus\">Michael Mooring</a> — <a href=\"https://github.com/bevry/istextorbinary/commits?author=mikeumus\" title=\"View the GitHub contributions of Michael Mooring on repository bevry/istextorbinary\">view contributions</a></li></ul>\n\n<h3>Sponsors</h3>\n\nNo sponsors yet! Will you be the first?\n\n<span class=\"badge-patreon\"><a href=\"http://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-gratipay\"><a href=\"https://www.gratipay.com/bevry\" title=\"Donate weekly to this project using Gratipay\"><img src=\"https://img.shields.io/badge/gratipay-donate-yellow.svg\" alt=\"Gratipay donate button\" /></a></span>\n<span class=\"badge-flattr\"><a href=\"https://flattr.com/profile/balupton\" title=\"Donate to this project using Flattr\"><img src=\"https://img.shields.io/badge/flattr-donate-yellow.svg\" alt=\"Flattr donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<span class=\"badge-bitcoin\"><a href=\"https://bevry.me/bitcoin\" title=\"Donate once-off to this project using Bitcoin\"><img src=\"https://img.shields.io/badge/bitcoin-donate-yellow.svg\" alt=\"Bitcoin donate button\" /></a></span>\n<span class=\"badge-wishlist\"><a href=\"https://bevry.me/wishlist\" title=\"Buy an item on our wishlist for us\"><img src=\"https://img.shields.io/badge/wishlist-donate-yellow.svg\" alt=\"Wishlist browse button\" /></a></span>\n\n<h3>Contributors</h3>\n\nThese amazing people have contributed code to this project:\n\n<ul><li><a href=\"https://balupton.com\">Benjamin Lupton</a> — <a href=\"https://github.com/bevry/istextorbinary/commits?author=balupton\" title=\"View the GitHub contributions of Benjamin Lupton on repository bevry/istextorbinary\">view contributions</a></li>\n<li><a href=\"https://shinnn.github.io\">shinnn</a> — <a href=\"https://github.com/bevry/istextorbinary/commits?author=shinnn\" title=\"View the GitHub contributions of shinnn on repository bevry/istextorbinary\">view contributions</a></li>\n<li><a href=\"https://github.com/sibnerian\">Ian Sibner</a> — <a href=\"https://github.com/bevry/istextorbinary/commits?author=sibnerian\" title=\"View the GitHub contributions of Ian Sibner on repository bevry/istextorbinary\">view contributions</a></li></ul>\n\n<a href=\"https://github.com/bevry/istextorbinary/blob/master/CONTRIBUTING.md#files\">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>\n\n<!-- /BACKERS -->\n\n\n<!-- LICENSE/ -->\n\n<h2>License</h2>\n\nUnless stated otherwise all works are:\n\n<ul><li>Copyright &copy; 2012+ <a href=\"http://bevry.me\">Bevry Pty Ltd</a></li>\n<li>Copyright &copy; 2011 <a href=\"https://balupton.com\">Benjamin Lupton</a></li></ul>\n\nand licensed under:\n\n<ul><li><a href=\"http://spdx.org/licenses/MIT.html\">MIT License</a></li></ul>\n\n<!-- /LICENSE -->\n",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git+ssh://git@github.com/bevry/istextorbinary.git"
  },
  "scripts": {
    "clean": "rm -Rf ./docs ./es2015",
    "compile": "npm run compile:es2015",
    "compile:es2015": "babel ./source --out-dir ./es2015 --presets es2015",
    "meta": "npm run meta:docs && npm run meta:projectz",
    "meta:docs": "documentation build -f html -g --shallow ./source/**.js -o ./docs",
    "meta:projectz": "projectz compile",
    "prepare": "npm run compile && npm run test && npm run meta",
    "pretest": "npm run test:eslint",
    "release": "npm run prepare && npm run release:publish && npm run release:tag && npm run release:push",
    "release:publish": "npm publish",
    "release:push": "git push origin master && git push origin --tags",
    "release:tag": "git tag v$npm_package_version -a",
    "setup": "npm install",
    "test": "node --harmony -e \"require('editions').requirePackage(process.cwd(), require, 'test.js')\"",
    "test:eslint": "eslint ./source"
  },
  "title": "Is Text or Binary?",
  "version": "2.1.0"
}
