{
  "name": "spdx-expression-parse",
  "description": "parse SPDX license expressions",
  "version": "1.0.0",
  "author": {
    "name": "Kyle E. Mitchell",
    "email": "kyle@kemitchell.com",
    "url": "http://kemitchell.com"
  },
  "dependencies": {
    "spdx-exceptions": "^1.0.0",
    "spdx-license-ids": "^1.0.0"
  },
  "devDependencies": {
    "defence-cli": "^1.0.1",
    "jison": "^0.4.15"
  },
  "keywords": [
    "SPDX",
    "law",
    "legal",
    "license",
    "metadata",
    "package",
    "package.json",
    "standards"
  ],
  "license": "(MIT AND CC-BY-3.0)",
  "repository": {
    "type": "git",
    "url": "kemitchell/spdx-expression-parse.js"
  },
  "scripts": {
    "generate": "node generate-parser.js > parser.generated.js",
    "prepublish": "npm run generate",
    "pretest": "npm run generate",
    "test": "defence -i javascript README.md | node"
  },
  "readme": "```javascript\nvar parse = require('./')\nvar assert = require('assert')\n\nvar firstAST = {\n  left: { license: 'LGPL-2.1' },\n  conjunction: 'or',\n  right: {\n    left: { license: 'BSD-3-Clause' },\n    conjunction: 'and',\n    right: { license: 'MIT' } } }\n\nassert.deepEqual(\n  parse('(LGPL-2.1 OR BSD-3-Clause AND MIT)'),\n  firstAST)\n\nvar secondAST = {\n  left: { license: 'MIT' },\n  conjunction: 'and',\n  right: {\n    left: {\n\t  license: 'LGPL-2.1',\n\t  plus: true },\n    conjunction: 'and',\n    right: { license: 'BSD-3-Clause' } } }\n\nassert.deepEqual(\n  parse('(MIT AND (LGPL-2.1+ AND BSD-3-Clause))'),\n  secondAST)\n```\n\n---\n\n[The Software Package Data Exchange (SPDX) specification](http://spdx.org) is the work of the [Linux Foundation](http://www.linuxfoundation.org) and its contributors, and is licensed under the terms of [the Creative Commons Attribution License 3.0 Unported (SPDX: \"CC-BY-3.0\")](http://spdx.org/licenses/CC-BY-3.0). \"SPDX\" is a United States federally registered trademark of the Linux Foundation.\n",
  "readmeFilename": "README.md",
  "_id": "spdx-expression-parse@1.0.0",
  "dist": {
    "shasum": "460080cc052c803235a26a0c9f8fa93738e7f7cc"
  },
  "_from": "spdx-expression-parse@~1.0.0",
  "_resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-1.0.0.tgz"
}
