{
  "_args": [
    [
      {
        "raw": "sri-toolbox@^0.2.0",
        "scope": null,
        "escapedName": "sri-toolbox",
        "name": "sri-toolbox",
        "rawSpec": "^0.2.0",
        "spec": ">=0.2.0 <0.3.0",
        "type": "range"
      },
      "/home/travis/build/lukesargeant/ember-sparkline/node_modules/broccoli-sri-hash"
    ]
  ],
  "_from": "sri-toolbox@>=0.2.0 <0.3.0",
  "_id": "sri-toolbox@0.2.0",
  "_inCache": true,
  "_location": "/sri-toolbox",
  "_nodeVersion": "0.10.39",
  "_npmUser": {
    "name": "neftaly",
    "email": "neftaly.hernandez@gmail.com"
  },
  "_npmVersion": "2.13.0",
  "_phantomChildren": {},
  "_requested": {
    "raw": "sri-toolbox@^0.2.0",
    "scope": null,
    "escapedName": "sri-toolbox",
    "name": "sri-toolbox",
    "rawSpec": "^0.2.0",
    "spec": ">=0.2.0 <0.3.0",
    "type": "range"
  },
  "_requiredBy": [
    "/broccoli-sri-hash"
  ],
  "_resolved": "https://registry.npmjs.org/sri-toolbox/-/sri-toolbox-0.2.0.tgz",
  "_shasum": "a7fea5c3fde55e675cf1c8c06f3ebb5c2935835e",
  "_shrinkwrap": null,
  "_spec": "sri-toolbox@^0.2.0",
  "_where": "/home/travis/build/lukesargeant/ember-sparkline/node_modules/broccoli-sri-hash",
  "author": {
    "name": "Neftaly Hernandez",
    "email": "neftaly.hernandez@gmail.com"
  },
  "bugs": {
    "url": "https://github.com/neftaly/npm-sri-toolbox/issues"
  },
  "dependencies": {},
  "description": "Subresource Integrity tools",
  "devDependencies": {
    "coveralls": "^2.11.2",
    "istanbul": "^0.3.6",
    "mocha": "^2.1.0"
  },
  "directories": {},
  "dist": {
    "shasum": "a7fea5c3fde55e675cf1c8c06f3ebb5c2935835e",
    "tarball": "https://registry.npmjs.org/sri-toolbox/-/sri-toolbox-0.2.0.tgz"
  },
  "engines": {
    "node": ">= 0.10.4"
  },
  "gitHead": "aaa89ac18127d0119f6e2bff86cf9e49099f9049",
  "homepage": "https://github.com/neftaly/npm-sri-toolbox#readme",
  "keywords": [
    "sri-toolbox",
    "SRI",
    "Subresource Integrity",
    "integrity",
    "security"
  ],
  "license": "MIT",
  "main": "main",
  "maintainers": [
    {
      "name": "neftaly",
      "email": "neftaly.hernandez@gmail.com"
    }
  ],
  "name": "sri-toolbox",
  "optionalDependencies": {},
  "readme": "# sri-toolbox [![Build Status](https://travis-ci.org/neftaly/npm-sri-toolbox.svg?branch=master)](https://travis-ci.org/neftaly/npm-sri-toolbox) [![Coverage Status](https://coveralls.io/repos/neftaly/npm-sri-toolbox/badge.svg?branch=master)](https://coveralls.io/r/neftaly/npm-sri-toolbox?branch=master)\n\n[Subresource Integrity](http://www.w3.org/TR/SRI/) tools.\n\n**SemVer note:** As the SRI spec has not yet been finalized, minor releases < 1.0.0 will contain breaking changes.\n\nInstall\n-------\n```shell\nnpm install sri-toolbox\n```\n\nUsage\n-----\n```js\nvar sriToolbox = require(\"sri-toolbox\");\n\nvar jquerySourceCode = file(\"jquery-1.10.2.min.js\");\n\nvar integrity = sriToolbox.generate({\n    algorithms: [\"sha256\"]\n}, jquerySourceCode);\n//=> \"sha256-C6CB9UYIS9UJeqinPHWTHVqh/E1uhG5Twh+Y5qFQmYg=\"\n```\n\nYou may also access the data used to build the integrity attribute, using the option \"full\":\n```js\nvar integrityObject = sriToolbox.generate({\n    full: true\n}, jquerySourceCode);\n//=> object\n```\n```json\n{\n    \"hashes\": {\n        \"sha256\": \"C6CB9UYIS9UJeqinPHWTHVqh/E1uhG5Twh+Y5qFQmYg=\"\n    },\n    \"integrity\": \"sha256-C6CB9UYIS9UJeqinPHWTHVqh/E1uhG5Twh+Y5qFQmYg=\"\n}\n```\n\nAPI\n-------\n\n### generate\n\nGenerate creates a Sub-resource Integrity attribute from a data string.\n\n#### Options\n\nKey: type **name** *= default*  \n\n* array **algorithms** *= [\"sha256\"]*  \n    List of hashing algorithms\n\n* string **delimiter** *= \" \"*  \n    Integrity attribute delimiter\n\n* boolean **full** *= false*  \n    Return a string if false, object if true. See example.\n",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/neftaly/npm-sri-toolbox.git"
  },
  "scripts": {
    "test": "mocha"
  },
  "version": "0.2.0"
}
