{"_id":"spdx-simplify","_rev":"86-e320b98a869fdff9da208521a74a6da2","name":"spdx-simplify","dist-tags":{"latest":"3.0.0"},"versions":{"0.1.0":{"name":"spdx-simplify","version":"0.1.0","keywords":["spdx","license"],"author":{"name":"William Bartholomew","email":"willbar@microsoft.com"},"license":"MIT","_id":"spdx-simplify@0.1.0","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/Microsoft/spdx-simplify","bugs":{"url":"https://github.com/Microsoft/spdx-simplify/issues"},"dist":{"shasum":"11922d1c7f668753c3f410e43c14b74e775798c9","tarball":"https://registry.npmjs.org/spdx-simplify/-/spdx-simplify-0.1.0.tgz","integrity":"sha512-yKJA9dbR/wejo2YsfcYaxyDWIWmuPu5KkwbEfKqzxVWgM7dRhkIg/zqe/BmPp6T/a/HGRgKgP2tHRa68gQA5dA==","signatures":[{"sig":"MEUCIQCHYLMk0Amz/JfiT6kMRUBflL7GPmDGCxZ00wymP29NfwIgM9XSLcB0hf8QOJTZ/WHeynNGEzMjarXhG15D/QqPDAw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["lib/index.js"],"_shasum":"11922d1c7f668753c3f410e43c14b74e775798c9","gitHead":"ae126aa30b517465cfb625f4daebfb4f6bc536d4","scripts":{"test":"mocha test/index.js"},"_npmUser":{"name":"microsoft","email":"npmjs@microsoft.com"},"repository":{"url":"git+https://github.com/Microsoft/spdx-simplify.git","type":"git"},"_npmVersion":"3.8.9","description":"Simplifies a SPDX expression to a list of licenses that can be chosen.","directories":{},"_nodeVersion":"4.2.2","dependencies":{"spdx":"0.5.1"},"devDependencies":{"chai":"3.5.0","mocha":"2.5.2"},"_npmOperationalInternal":{"tmp":"tmp/spdx-simplify-0.1.0.tgz_1464192691525_0.919489735038951","host":"packages-16-east.internal.npmjs.com"}},"3.0.0":{"name":"spdx-simplify","version":"3.0.0","keywords":["spdx","license"],"author":{"name":"William Bartholomew","email":"willbar@microsoft.com"},"license":"MIT","_id":"spdx-simplify@3.0.0","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/Microsoft/spdx-simplify","bugs":{"url":"https://github.com/Microsoft/spdx-simplify/issues"},"dist":{"shasum":"749e62d7c95c7225dd6cc4fac731b86b8d5fa90c","tarball":"https://registry.npmjs.org/spdx-simplify/-/spdx-simplify-3.0.0.tgz","fileCount":4,"integrity":"sha512-oz7QtlfSHzbMQtyCuOhH2Pxe49u3/bxWnLwKfQG3AZsBfuyXrUdyQF61Qr7JDLbVm5kFmC0Znnx/h8DtabDrQQ==","signatures":[{"sig":"MEUCIQDqNRhCuA3frG+I/s61Gr1ond3ytllqsi31AX9Q7Pz91AIgMybg84s3Gz1ECXJDtScpDSkZX4pUr1DG0V+k0zLW9yk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3892,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGDzZCRA9TVsSAnZWagAAh5MQAIFWLal6Peaetc6oV/wr\n8GNAYJcQHs7b+1SJbFMd3YuA5r5zOBqk9PRCSQS6NdAwfTnPEEeHg0VMck7R\nh0ZcBmTaSly5powDi9NtFAY0nChsxRo1RLRyktilLDoDmLlBBEG8CXiS5SCA\nnf7vPyPE2/RfgN6Gk3gG2SJ8mHNaYJZbJoKL5wq+HO/iyTnSUsTd6qMM3L4j\nZXw3DTob/7kMS1/T23M6bgaM2p6HuELEFifS76eJvLxfszhQkVsByhnJacn+\n018c8OuXi26XqG7THfplwON4HCVhryrT8zVQyM4GKUcXxAASr+VrxzEyOyh9\nzCDXr+z/drmMaLe03RvV3XQJff8rjvp2NSVlA9ZjzwMNsxnbU03Smcf8GoHZ\nei0R2ujc14W4xmtb+AvzJRJHRARjLbSewXgRWEWcY9zglf/ryaHeYxQuQshu\nGUFXCWO7mpxvtF9WZH9GCeBYjMvdva+Z/xZKTx9fDh3faAKzx4ZRBITHh4Gr\ne5jCGOcRgzJYQjDD/Cp5Igux3VQd70ni/wtfs//X2kP0Q5Z3TxiiE4foIC/y\nKGLuyI06SMbP2r+He8HrX2SIsjEz0+TLtp7qZpPiN6z8/XEZ+dNa4IwEKQBs\nMsvDtnqrA9b/vDM6U5yxmDdSFMzmjFcCNdkHN8uZUqi4IO/m4esk/n26mwhF\nX+w7\r\n=xInC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","gitHead":"28db869403ac95cefc8e4ff412cbecd1933a43b2","scripts":{"test":"mocha test/index.js"},"_npmUser":{"name":"microsoft","email":"npmjs@microsoft.com"},"repository":{"url":"git+https://github.com/Microsoft/spdx-simplify.git","type":"git"},"_npmVersion":"6.4.1","description":"Simplifies a SPDX expression to a list of licenses that can be chosen.","directories":{},"_nodeVersion":"10.11.0","dependencies":{"spdx-expression-parse":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"chai":"3.5.0","mocha":"2.5.2"},"_npmOperationalInternal":{"tmp":"tmp/spdx-simplify_3.0.0_1545092312990_0.4477483133686544","host":"s3://npm-registry-packages"}}},"time":{"created":"2016-05-25T16:11:34.338Z","modified":"2026-07-16T15:49:50.543Z","0.1.0":"2016-05-25T16:11:34.338Z","3.0.0":"2018-12-18T00:18:33.106Z"},"bugs":{"url":"https://github.com/Microsoft/spdx-simplify/issues"},"author":{"name":"William Bartholomew","email":"willbar@microsoft.com"},"license":"MIT","homepage":"https://github.com/Microsoft/spdx-simplify","keywords":["spdx","license"],"repository":{"url":"git+https://github.com/Microsoft/spdx-simplify.git","type":"git"},"description":"Simplifies a SPDX expression to a list of licenses that can be chosen.","maintainers":[{"email":"npmjs@microsoft.com","name":"microsoft1es"},{"email":"microsoft-oss-publishing@microsoft.com","name":"microsoft-oss-releases"}],"readme":"![Version](https://img.shields.io/npm/v/spdx-simplify.svg)\n![License](https://img.shields.io/github/license/Microsoft/spdx-simplify.svg)\n![Downloads](https://img.shields.io/npm/dt/spdx-simplify.svg)\n\n# spdx-simplify\nSimplifies a SPDX expression (including ones with sub-expressions) down to a list of license choices. Licenses that are OR'd together will be returned as-is and licenses that are AND'd together will be returned as `MultipleLicenses`.\n\n# Usage\n```\nvar simplify = require('spdx-simplify');\nvar licenses = simplify('MIT OR BSD-2-Clause'); // Returns: ['MIT', 'BSD-2-Clause']\n```\n\n# Contributing\nPull requests will gladly be considered!\n\nThis project has adopted the [Microsoft Open Source Code of\nConduct](https://opensource.microsoft.com/codeofconduct/).\nFor more information see the [Code of Conduct\nFAQ](https://opensource.microsoft.com/codeofconduct/faq/) or\ncontact [opencode@microsoft.com](mailto:opencode@microsoft.com)\nwith any additional questions or comments.\n","readmeFilename":"README.md"}