{"_id":"postcss-calc-ast-parser","_rev":"6-53612ba4a63fb6aa530da86f1f70c1e6","name":"postcss-calc-ast-parser","dist-tags":{"latest":"0.1.4"},"versions":{"0.0.1":{"name":"postcss-calc-ast-parser","version":"0.0.1","description":"Parses calc of css and converts it to AST.","repository":{"type":"git","url":"git+https://github.com/ota-meshi/postcss-calc-ast-parser.git"},"keywords":["postcss","css","calc","parser","math","ast"],"author":{"name":"Yosuke Ota"},"license":"MIT","bugs":{"url":"https://github.com/ota-meshi/postcss-calc-ast-parser/issues"},"homepage":"https://github.com/ota-meshi/postcss-calc-ast-parser#readme","engines":{"node":">=6.5"},"main":"dist/index.js","scripts":{"build":"tsc --project .","test":"nyc npm run _mocha","lint":"eslint src test --ext .js,.ts","update-fixtures":"node scripts/update-fixtures-ast.js","create-fixtures":"node scripts/create-fixtures-ast.js","watch:tsc":"tsc --watch","test:cov":"npm test && npm run coverage","_mocha":"_mocha \"test/*.js\" --reporter dot --timeout 10000","clean":"rimraf .nyc_output dist coverage","coverage":"nyc report --reporter lcov && opener ./coverage/lcov-report/index.html","prebuild":"npm run -s clean","pretest":"npm run -s build && npm run lint","preupdate-fixtures":"npm run -s build"},"devDependencies":{"@mysticatea/eslint-plugin":"^8.0.1","@types/debug":"0.0.31","@types/node":"^10.12.18","eslint":"^5.12.1","mocha":"^5.2.0","npm-run-all":"^4.1.5","nyc":"^13.1.0","opener":"^1.5.1","postcss":"^7.0.13","postcss-scss":"^2.0.0","typescript":"^3.2.4","wait-on":"^3.2.0"},"dependencies":{"postcss-value-parser":"^3.3.1"},"gitHead":"5abec90c30177dda71f134d852898e34f0f7f2e5","_id":"postcss-calc-ast-parser@0.0.1","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"ota-meshi","email":"otameshiyo23@gmail.com"},"dist":{"integrity":"sha512-TeBf+kLmLODSUT64/9A3mByV8I3Wo1cWdHmko/f/l8HiJR347i//pYC9D8vWs6cyJVPFi7cCLlFibpOUoC58rQ==","shasum":"429abaeebc21e211ba6cccc7854dc93aa92d9148","tarball":"https://registry.npmjs.org/postcss-calc-ast-parser/-/postcss-calc-ast-parser-0.0.1.tgz","fileCount":39,"unpackedSize":74809,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcTFwcCRA9TVsSAnZWagAAVRoP/04pRLtzCuHSKvTVPh/I\n30DYxOVIK50a5uhae8DMGiFzjeGH6ZIOd1+yFuiaOSmC7u8R/SoZ6d9MHsYy\nF5zLSARodKshT3EAZjWVeukjp4xhR0qZ7N4okJL/gF/GG1pIWQEd+TMNpj/e\nkTt6esCX6al1Ksj5Q17T6ba6pR2Cz7WjXjO9LYJtLWAWiTdFGcTeX7eRV/Kq\nHO0jC7QDoY5eGTbk0bGJI/MvO0Gc8xs93zhSiirabg1Ig0hNrtlhBFFHglD7\neL1Hkx0N1dzETcZXO85cgm5rISa6/TyNaTeIS4VGlOs21GojJMCD8Rf9AiuP\nBP/9wViKgPxFrv+w9LtJsf2DJZFjbyL6kl+jRhPZ5Y77DGdXRZnRdnX72hMB\nWyrZUjISGW6CQdlXE1Jar2AB/gvY+hcxDKyoD0J2wE8cxaP8NAJWyBPcBg+l\nhtQcqILfA/jVwKs6C+UfttZqIQJAhN+pYsNJsiPRv7fM82OAWAUc1YZE8GvM\nKHsnwyH8uRchAEJGL9VdxEnsKcnJ/4LnQllqNwDejxVoCPhr+aSUO9zd/+o3\nEMRzmVzNROaO+gI22Eq+APOhq5PnR8w3RlRV1hZkvejXUoXuZINB6Fz9/LB8\nXUfkNwedGw2qB2U3a/JtuyNdMGlK3MW5HXb1yO9eCwJo01JwVyMNu3ijr9wf\nXs/W\r\n=6yHL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICZNtZTHrFgDlrVQmWEI/tc6DgGhjbbN6JqiNXYD1p+XAiBURrSHlutc+dDDMtqZkryYZ0hRYULuu7j0Enx1ZW5y2g=="}]},"maintainers":[{"name":"ota-meshi","email":"otameshiyo23@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-calc-ast-parser_0.0.1_1548508187384_0.6716210044741171"},"_hasShrinkwrap":false},"0.1.0":{"name":"postcss-calc-ast-parser","version":"0.1.0","description":"Parses calc of css and converts it to AST.","repository":{"type":"git","url":"git+https://github.com/ota-meshi/postcss-calc-ast-parser.git"},"keywords":["postcss","css","calc","parser","math","ast"],"author":{"name":"Yosuke Ota"},"license":"MIT","bugs":{"url":"https://github.com/ota-meshi/postcss-calc-ast-parser/issues"},"homepage":"https://github.com/ota-meshi/postcss-calc-ast-parser#readme","engines":{"node":">=6.5"},"main":"dist/index.js","scripts":{"build":"tsc --project .","test":"nyc npm run _mocha && npm run coverage","lint":"eslint src test --ext .js,.ts","update-fixtures":"node scripts/update-fixtures-ast.js","create-fixtures":"node scripts/create-fixtures-ast.js","watch:tsc":"tsc --watch","test:cov":"npm test && npm run coverage-open","_mocha":"_mocha \"test/**/*.js\" --reporter dot --timeout 10000","clean":"rimraf .nyc_output dist coverage","coverage":"nyc report --reporter lcov","coverage-open":"opener ./coverage/lcov-report/index.html","prebuild":"npm run -s clean","pretest":"npm run -s build && npm run lint","preupdate-fixtures":"npm run -s build"},"devDependencies":{"@mysticatea/eslint-plugin":"^8.0.1","@types/debug":"0.0.31","@types/node":"^10.12.18","eslint":"^5.12.1","mocha":"^5.2.0","npm-run-all":"^4.1.5","nyc":"^13.1.0","opener":"^1.5.1","postcss":"^7.0.13","postcss-scss":"^2.0.0","typescript":"^3.2.4","wait-on":"^3.2.0"},"dependencies":{"postcss-value-parser":"^3.3.1"},"gitHead":"a539389713fa7d1d8e34f6b9bfc63b1af27c9d37","_id":"postcss-calc-ast-parser@0.1.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"ota-meshi","email":"otameshiyo23@gmail.com"},"dist":{"integrity":"sha512-om1kyp3AEV07C+vYMpciN3VDS79nLsXsxqwZ9tDwMkQopcH3ewP0rtmsGMALNpqJ+YRcBJUy3KW6TaoeZa7e1w==","shasum":"a5faadbb3e9641bc9fe3a4b277c2ffd11e711449","tarball":"https://registry.npmjs.org/postcss-calc-ast-parser/-/postcss-calc-ast-parser-0.1.0.tgz","fileCount":39,"unpackedSize":77623,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcTSTBCRA9TVsSAnZWagAAypYP/3rxdaGeZ7+7WZxl2yRs\nPMUSpFfQGA4PoHtPuBTiFh5P4wqAO6EftT4p2AuosUxhdOgJxJg6fbIizWj2\nA+nXZ1ZVa/M21Waftr2OkYgk0OsKgLUTRarJiRiAjux7aCd8b4ECursg8f+8\nUo+4oA6R1VIu5GlRFPDTSdrATciwMpkM6YO5T67QjKjXFXi6oRmBX3IZehni\n2c+e/JAh6/ps00JbZpFyF/k9DXpwv26/Y+x7Da/wDN8kDcT4TBwFDyIj57JC\n6xkhW/PYngXTVX2eMnLDh92GFM3AV7rSUP6K9fhA1YxMHH8Jwe2DxSbmJSnd\n0C8ytONlQKc/9tT8jG99/8HAaoP91WRFDn5CwEEvizUfKsRd/FkfKoW75HN9\n38RTDSDGEeWgagLxQ8WvOh57buBBBd4t+ZB5v5VTbUDBwdDsAJ4VeNbKbePa\nzJosGCHL7vWYIt8Fvmz7VCDOyQgheOaGqHzMme9Y+UEkOnFPypoErdZgI60X\nefOU3gmc8NQgR2EUdTvBNw07YTn803uI8qi+1vlE1L234J6YQmKN+okVjcVV\nZqRQsh/i0z1DDIz48xcxosfBIPjoHb3qXOe3f5kIT746Y6Z5D/u3zHBfmPid\n3Tvnq3hlKgq3BDXb+s0nRU+bHyWOEE/uJBQHz6DlE8M+a1pjBLd++2hkHm4u\nZ2/9\r\n=hQxN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDlTlsTPNvduEChsG5550pNCLkFZx1b3jyLTyeyGx3eFAiBGzH1YKN6gWKmivyyWLQryPsV/16Kxw/xHJhi43MpjwQ=="}]},"maintainers":[{"name":"ota-meshi","email":"otameshiyo23@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-calc-ast-parser_0.1.0_1548559553211_0.7410697475092081"},"_hasShrinkwrap":false},"0.1.1":{"name":"postcss-calc-ast-parser","version":"0.1.1","description":"Parses calc of css and converts it to AST.","repository":{"type":"git","url":"git+https://github.com/ota-meshi/postcss-calc-ast-parser.git"},"keywords":["postcss","css","calc","parser","math","ast"],"author":{"name":"Yosuke Ota"},"license":"MIT","bugs":{"url":"https://github.com/ota-meshi/postcss-calc-ast-parser/issues"},"homepage":"https://github.com/ota-meshi/postcss-calc-ast-parser#readme","engines":{"node":">=6.5"},"main":"dist/index.js","scripts":{"build":"tsc --project .","test":"nyc npm run _mocha && npm run coverage","lint":"eslint src test --ext .js,.ts","update-fixtures":"node scripts/update-fixtures-ast.js","create-fixtures":"node scripts/create-fixtures-ast.js","watch:tsc":"tsc --watch","test:cov":"npm test && npm run coverage-open","_mocha":"_mocha \"test/**/*.js\" --reporter dot --timeout 10000","clean":"rimraf .nyc_output dist coverage","coverage":"nyc report --reporter lcov","coverage-open":"opener ./coverage/lcov-report/index.html","prebuild":"npm run -s clean","pretest":"npm run -s build && npm run lint","preupdate-fixtures":"npm run -s build"},"devDependencies":{"@mysticatea/eslint-plugin":"^8.0.1","@types/debug":"0.0.31","@types/node":"^10.12.18","eslint":"^5.12.1","mocha":"^5.2.0","npm-run-all":"^4.1.5","nyc":"^13.1.0","opener":"^1.5.1","postcss":"^7.0.13","postcss-scss":"^2.0.0","typescript":"^3.2.4","wait-on":"^3.2.0"},"dependencies":{"postcss-value-parser":"^3.3.1"},"gitHead":"e40d851b3ec1f32c2e45a354d9fd10018560c926","_id":"postcss-calc-ast-parser@0.1.1","_npmVersion":"6.5.0","_nodeVersion":"11.8.0","_npmUser":{"name":"ota-meshi","email":"otameshiyo23@gmail.com"},"dist":{"integrity":"sha512-SgTnsKVTi0J2eAFXx6fOvutRPWVw0Azng4WhvAdrUBL/XncS1kpn+EUiiWwvyc7xxow1SzNvvy95IJYAsxZoEw==","shasum":"f2168ed260f3c717f3ad051d7408ef0a8b185873","tarball":"https://registry.npmjs.org/postcss-calc-ast-parser/-/postcss-calc-ast-parser-0.1.1.tgz","fileCount":39,"unpackedSize":77668,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcTY5pCRA9TVsSAnZWagAAHBQP/3fcBTyswFcAwfZSwgZ+\nHzsPrNqMdJ9GVf4m6sHwL/aYbWmO34ufCHt4oZtRb4zr1IKRz9u31OZBW7ns\nRZQknwU5twoVUQQrtucRft/rEZc2nraSJi+QVw+jOHMsUK5Xov8OJLk1dK7p\nXGah7/vohhVSV9pB4F217aVDVofrwt3mcYFhX/Jh6kK0ZXSwKVre+dE8iDFP\nzypLySA0nDU6rCTWuBtvIM+zVb6cC1O9Ovj1YEqDyFjyIDmZW7fkIzUAqcV8\n+r7fZfKaaQ0/st+Qwm2tohV4lxWZJFQ1Us8yc1kfMk9vlUcYtIfEgAJ4BCl8\n9/+OGLVKbwx1GMkTzncQS0PYsQnsSc31W1kjGB06963ulZViAsWyvojLOy16\nwr0KU2uQ/k46wMBAufHsqDdxIk2l+vF0LzOeF6v1y5f0Hz5yeD+cBSEDOL3j\nKfICKp1Ls1YAygI5gs5UYK1KGg/CFuszWQrw8Tmvo/EWrm9/YicepDGVn3bt\nmGKn3lE+QDg3PIGvsqI0xXNyA4y/wCZ+bL5xM4Syn0Nu94WxN+Cv6VWogn6N\nQASiRiF0xXOiU/W1td316SlrPpoAaPp/3IZtexIWOLbNBimX5NDSZ0eufskN\njpHknHp1MYFvT7EpsKI2z+V0iHjh1s4+i9S3uJtz24ZDhWAwnVDeDLWl4+qO\nU6YW\r\n=9gP7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICED8+HugVcG1MizcJwh9j9zVOVhAhfO5uQO4IAeyvDmAiBYpHd6NngOlFyh0+xzIzx5tAOyfw4Lg2DGHmH/xBgl8A=="}]},"maintainers":[{"name":"ota-meshi","email":"otameshiyo23@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-calc-ast-parser_0.1.1_1548586600965_0.5874965444702156"},"_hasShrinkwrap":false},"0.1.2":{"name":"postcss-calc-ast-parser","version":"0.1.2","description":"Parses calc of css and converts it to AST.","repository":{"type":"git","url":"git+https://github.com/ota-meshi/postcss-calc-ast-parser.git"},"keywords":["postcss","css","calc","parser","math","ast"],"author":{"name":"Yosuke Ota"},"license":"MIT","bugs":{"url":"https://github.com/ota-meshi/postcss-calc-ast-parser/issues"},"homepage":"https://github.com/ota-meshi/postcss-calc-ast-parser#readme","engines":{"node":">=6.5"},"main":"dist/index.js","scripts":{"build":"tsc --project .","test":"nyc npm run _mocha && npm run coverage","lint":"eslint src test --ext .js,.ts","update-fixtures":"node scripts/update-fixtures-ast.js","create-fixtures":"node scripts/create-fixtures-ast.js","watch:tsc":"tsc --watch","test:cov":"npm test && npm run coverage-open","_mocha":"_mocha \"test/**/*.js\" --reporter dot --timeout 10000","clean":"rimraf .nyc_output dist coverage","coverage":"nyc report --reporter lcov","coverage-open":"opener ./coverage/lcov-report/index.html","prebuild":"npm run -s clean","pretest":"npm run -s build && npm run lint","preupdate-fixtures":"npm run -s build"},"devDependencies":{"@mysticatea/eslint-plugin":"^8.0.1","@types/debug":"0.0.31","@types/node":"^10.12.18","eslint":"^5.12.1","mocha":"^5.2.0","npm-run-all":"^4.1.5","nyc":"^13.1.0","opener":"^1.5.1","postcss":"^7.0.13","postcss-scss":"^2.0.0","typescript":"^3.2.4","wait-on":"^3.2.0"},"dependencies":{"postcss-value-parser":"^3.3.1"},"gitHead":"c27e13696e18b2dcb9020f5d4bd7894609846ca6","_id":"postcss-calc-ast-parser@0.1.2","_npmVersion":"6.5.0","_nodeVersion":"11.8.0","_npmUser":{"name":"ota-meshi","email":"otameshiyo23@gmail.com"},"dist":{"integrity":"sha512-Db4j4l7zbDXN3it4eZsqQhQWgq1xml4kZXEBvE40tsmZldza3o79kpJFlkPlFPJ3ktVUBCBLYarxKdOxmViyjg==","shasum":"1379021b2a628ccf7164dbb93b0159dad09326a8","tarball":"https://registry.npmjs.org/postcss-calc-ast-parser/-/postcss-calc-ast-parser-0.1.2.tgz","fileCount":39,"unpackedSize":78101,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcTZHUCRA9TVsSAnZWagAA/BYP/1BnfY60n3bHe1cox5i3\nKH5Gv8+2HvFcfvusQ+cWQOjyHljA6NbYAq73NH10psiaecwoXbD4NkAlvQLt\nKKROAZzP+5OXHMqy0vp54eEMJk+YaOWdR7rx0DucIpTn/KTP4B/HfsY50nnM\nzxAx5NLSFrEYX1Wb+mf8NR5/0tY9/r4xcoi+psZJvCZQg0y6iOevbyGgmENW\nI37usY1iaBb2grZHh6KiEEaJ9TXdTqx7+PFDj0M6SKYTHZFWkhHFBmNukYtm\n6UnaQRQQrccBQiXBWD9yippLuzLVqfG2JlS0Kff0gDj+f6YgSnqli473+xNB\nBGMHU1Rajs720nWpkWi/4i9+J2M0Ej2yGSqxYtpGO3Uwp0Z7nYa+JkPBHbit\nelgZ0dVIWoGfN89xrmNRvEgxJ+uBDqANPO0WoIo2qpoeksAN3eG2lDU+RB9c\n/J07+SQJsXNGZP1E2tV5GKlH0Cbz5qN+gsyFmxMHHLPCmNJNRsgRHxiPD8GZ\nNxt+Q3nBxLQMtZk5M72x07UZFfGZ7cHPYnJ8YLl2xsgtKItvF8gNzv6jknU8\nq37BlGnb9YXYyK5xDPy5SVH85imDP1+kpELeyGeC8pb2671iW9nU864Vy4sN\nK0dBCKH+LI17Nsbu/3KfG2c5Zh+cQXFp+5C30rLZoHliW5xJvmmAwL4SyX9H\nKxk1\r\n=luV/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZLlXjhS//+6Ol0eyS/lBoQn5wzvf6OQtgfFEBW95v/QIgKsG04uboacWimm+UHb8IBD+sT7oRQ9FxHh5mO48nac0="}]},"maintainers":[{"name":"ota-meshi","email":"otameshiyo23@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-calc-ast-parser_0.1.2_1548587476103_0.3795494453165851"},"_hasShrinkwrap":false},"0.1.3":{"name":"postcss-calc-ast-parser","version":"0.1.3","description":"Parses calc of css and converts it to AST.","repository":{"type":"git","url":"git+https://github.com/ota-meshi/postcss-calc-ast-parser.git"},"keywords":["postcss","css","calc","parser","math","ast"],"author":{"name":"Yosuke Ota"},"license":"MIT","bugs":{"url":"https://github.com/ota-meshi/postcss-calc-ast-parser/issues"},"homepage":"https://github.com/ota-meshi/postcss-calc-ast-parser#readme","engines":{"node":">=6.5"},"main":"dist/index.js","scripts":{"build":"tsc --project .","test":"nyc npm run _mocha && npm run coverage","lint":"eslint src test --ext .js,.ts","update-fixtures":"node scripts/update-fixtures-ast.js","create-fixtures":"node scripts/create-fixtures-ast.js","watch:tsc":"tsc --watch","test:cov":"npm test && npm run coverage-open","_mocha":"_mocha \"test/**/*.js\" --reporter dot --timeout 10000","clean":"rimraf .nyc_output dist coverage","coverage":"nyc report --reporter lcov","coverage-open":"opener ./coverage/lcov-report/index.html","prebuild":"npm run -s clean","pretest":"npm run -s build && npm run lint","preupdate-fixtures":"npm run -s build"},"devDependencies":{"@mysticatea/eslint-plugin":"^8.0.1","@types/debug":"0.0.31","@types/node":"^10.12.18","eslint":"^5.12.1","mocha":"^5.2.0","npm-run-all":"^4.1.5","nyc":"^13.1.0","opener":"^1.5.1","postcss":"^7.0.13","postcss-scss":"^2.0.0","typescript":"^3.2.4","wait-on":"^3.2.0"},"dependencies":{"postcss-value-parser":"^3.3.1"},"gitHead":"ecb38b6fb74711c1d2fa8333bee480cdf7974086","_id":"postcss-calc-ast-parser@0.1.3","_npmVersion":"6.5.0","_nodeVersion":"11.8.0","_npmUser":{"name":"ota-meshi","email":"otameshiyo23@gmail.com"},"dist":{"integrity":"sha512-oyJpE6qVsp1paB/DxqnGWLsBCBzL4Aj2lHbjIYSzUg5YUZF6ejAtsBKKlLZxnryVdieYH8O32TOimKpQQvSxOQ==","shasum":"1a13cdb111343c8994f990f84f56561373fe0e4d","tarball":"https://registry.npmjs.org/postcss-calc-ast-parser/-/postcss-calc-ast-parser-0.1.3.tgz","fileCount":39,"unpackedSize":78694,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcTa2ECRA9TVsSAnZWagAA7N4QAIvUtAB97RECcz6b++47\nAKcS3zEMWFJKhZba4kD7pfmP/V8jKHm1LEVEBD6662I9F9SibC+bxRd+vOBk\noyHorWUyBluf6vBPleqpxDVcAB0FairsZdauWEdWZe4pKfTmBt4C3iGfqml8\ne3oDZGp3U8rZOvcqAxSe9KEL9okOsFsQfDb9LcUX6H/A1DaaJ3t0W3mAV4V3\nxAbMFKP9rocDIUG+u58p2rl4eF6YT8iEj/Xl4OfsRjKESHQrd55QBegud6/f\nQUPyGmvc6vRZKDRCTi2MSd6KZDhwTtEnrmjGWRTOytQvWf+l/wZhkSQCCKuK\np0lPg3KAdmVqjRzkXUS79XOn3A7YmFuiRYEJdLVRwkjCQ+LKcRa9mTTnHxU0\nqZWRqrYba2jiefZlW8yK1nvKylQVSZo8l4C8WdtC9CXtXsvzxmgpSqhwpge4\ntI4UFrohrO5bMxNB5sagAXPWoTxOfbL+c6N63XGoHeXcIZrs4zos0CpF7CVF\nUf2Y+a2qi7RjYg+SovOP5W4vZbCbnS3CwmiqG2t3wo2RPPAUea6TCt2frUQP\nFo+e/2oJAT2VF0EZe6g7P0O9fqF7Qsnlk1Xnv1dPRjOjGBpLrXAgL/aWVL8P\nZjKxGreC8AVrujjYD194j/j5oI5aOxbEWq9+atpcfL94EeNjT7ZxHPVt6pb7\n1Ai9\r\n=EF72\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE6KIWSt8I50CV2YrtVWjEhvs0iqONgrk4yW/uRGky9eAiEAzAc4KPKs/qRTHuQU/Sepi2GypHbCMjD3L2O5YQGFGZg="}]},"maintainers":[{"name":"ota-meshi","email":"otameshiyo23@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-calc-ast-parser_0.1.3_1548594564246_0.147955897189733"},"_hasShrinkwrap":false},"0.1.4":{"name":"postcss-calc-ast-parser","version":"0.1.4","description":"Parses calc of css and converts it to AST.","repository":{"type":"git","url":"git+https://github.com/ota-meshi/postcss-calc-ast-parser.git"},"keywords":["postcss","css","calc","parser","math","ast"],"author":{"name":"Yosuke Ota"},"license":"MIT","bugs":{"url":"https://github.com/ota-meshi/postcss-calc-ast-parser/issues"},"homepage":"https://github.com/ota-meshi/postcss-calc-ast-parser#readme","engines":{"node":">=6.5"},"main":"dist/index.js","scripts":{"build":"tsc --project .","test":"nyc npm run _mocha && npm run coverage","lint":"eslint src test --ext .js,.ts","update-fixtures":"node scripts/update-fixtures-ast.js","create-fixtures":"node scripts/create-fixtures-ast.js","watch:tsc":"tsc --watch","test:cov":"npm test && npm run coverage-open","_mocha":"_mocha \"test/**/*.js\" --reporter dot --timeout 10000","clean":"rimraf .nyc_output dist coverage","coverage":"nyc report --reporter lcov","coverage-open":"opener ./coverage/lcov-report/index.html","prebuild":"npm run -s clean","pretest":"npm run -s build && npm run lint","preupdate-fixtures":"npm run -s build"},"devDependencies":{"@mysticatea/eslint-plugin":"^8.0.1","@types/debug":"0.0.31","@types/node":"^10.12.18","eslint":"^5.12.1","mocha":"^5.2.0","npm-run-all":"^4.1.5","nyc":"^13.1.0","opener":"^1.5.1","postcss":"^7.0.13","postcss-scss":"^2.0.0","typescript":"^3.2.4","wait-on":"^3.2.0"},"dependencies":{"postcss-value-parser":"^3.3.1"},"gitHead":"9ae4e012cd9f00c96ffd5f1b8bc47850b6af1a7c","_id":"postcss-calc-ast-parser@0.1.4","_npmVersion":"6.5.0","_nodeVersion":"11.8.0","_npmUser":{"name":"ota-meshi","email":"otameshiyo23@gmail.com"},"dist":{"integrity":"sha512-CebpbHc96zgFjGgdQ6BqBy6XIUgRx1xXWCAAk6oke02RZ5nxwo9KQejTg8y7uYEeI9kv8jKQPYjoe6REsY23vw==","shasum":"9aeee3650a91c0b2902789689bc044c9f83bc447","tarball":"https://registry.npmjs.org/postcss-calc-ast-parser/-/postcss-calc-ast-parser-0.1.4.tgz","fileCount":39,"unpackedSize":75657,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUGz3CRA9TVsSAnZWagAArIEP/iDmPPHYEBgjUO73MXVv\nrJuJtUOmgxakGalQzh1qVHbHXQLQCBrLz7678v+yLNDkZFm4xrhJp+u5vIcO\nrmKw9DiOmnZpgLJyBrUpihVS7rp9kx/B4/k3IHYAkB5DQV3twx7buX1oH4BM\nqL2i5wBiU4EZC3I4FPjisKQ2TYH+4mRerRA/FPWuayYw7bDJkTYddiRaA4h5\n+bEBzYPXl8mIiN3mv0sKmjoWjFC8yKtVUTGgR7os3b6jTUBAqaoGpZ48AFEJ\nZX3Ske5JCbAdKtYa0TGP+z5aVCFjvjKBipJqksfAgT0ifGxSw4hID59bAd04\nqipDxQMWqG4luMJZprQ1SNMlNFetOnBaUgTEst23SsDK+N3FlW7kl/TvaX3J\n8xrMDlMuwxxOZZfQcpNeLUSpuogD39iMM8KlNkgKY8H3NQT4icPRY+Gl1cLw\nta6X11ooA1cozbD9xdSg41EDBrmbItpSpgrnP3agdkzMTf3ir+kb0p6X6Oke\nkXfnyPCZS5WgI5RMVwyYdC8pULFvfrGNv3NIOSLHI/2qBgDYX1tYK64kpdON\n/BXir8QQ66smIq6s8U96WfN/LKT1gbCQ27Y/V7c49QuaXFZuO636UVycDJMR\nkhz+aP1iMzmqXqwKNMukFTZEaeN5zirWHAy8fcfGE6XBzgAB7hc774ZrHa4i\nOpsg\r\n=/Zdn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAFKZIz6buw5B8lwdClqhaK3Lh3JHDc84/POBSLCj8iqAiEA8/O3vF085lM5S9LdF8y/t6k8WM2V6EHadnkpMWZhJ3w="}]},"maintainers":[{"name":"ota-meshi","email":"otameshiyo23@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-calc-ast-parser_0.1.4_1548774647150_0.9904109767363478"},"_hasShrinkwrap":false}},"time":{"created":"2019-01-26T13:09:47.383Z","0.0.1":"2019-01-26T13:09:47.542Z","modified":"2022-05-13T06:06:35.714Z","0.1.0":"2019-01-27T03:25:53.343Z","0.1.1":"2019-01-27T10:56:41.080Z","0.1.2":"2019-01-27T11:11:16.256Z","0.1.3":"2019-01-27T13:09:24.415Z","0.1.4":"2019-01-29T15:10:47.251Z"},"maintainers":[{"name":"ota-meshi","email":"otameshiyo23@gmail.com"}],"description":"Parses calc of css and converts it to AST.","homepage":"https://github.com/ota-meshi/postcss-calc-ast-parser#readme","keywords":["postcss","css","calc","parser","math","ast"],"repository":{"type":"git","url":"git+https://github.com/ota-meshi/postcss-calc-ast-parser.git"},"author":{"name":"Yosuke Ota"},"bugs":{"url":"https://github.com/ota-meshi/postcss-calc-ast-parser/issues"},"license":"MIT","readme":"# postcss-calc-ast-parser\n\n[![NPM license](https://img.shields.io/npm/l/postcss-calc-ast-parser.svg)](https://www.npmjs.com/package/postcss-calc-ast-parser)\n[![NPM version](https://img.shields.io/npm/v/postcss-calc-ast-parser.svg)](https://www.npmjs.com/package/postcss-calc-ast-parser)\n[![NPM downloads](https://img.shields.io/npm/dw/postcss-calc-ast-parser.svg)](http://www.npmtrends.com/postcss-calc-ast-parser)\n[![NPM downloads](https://img.shields.io/npm/dm/postcss-calc-ast-parser.svg)](http://www.npmtrends.com/postcss-calc-ast-parser)\n[![NPM downloads](https://img.shields.io/npm/dy/postcss-calc-ast-parser.svg)](http://www.npmtrends.com/postcss-calc-ast-parser)\n[![NPM downloads](https://img.shields.io/npm/dt/postcss-calc-ast-parser.svg)](http://www.npmtrends.com/postcss-calc-ast-parser)\n[![Build Status](https://travis-ci.org/ota-meshi/postcss-calc-ast-parser.svg?branch=master)](https://travis-ci.org/ota-meshi/postcss-calc-ast-parser)\n[![Coverage Status](https://coveralls.io/repos/github/ota-meshi/postcss-calc-ast-parser/badge.svg?branch=master)](https://coveralls.io/github/ota-meshi/postcss-calc-ast-parser?branch=master)\n\nParse the `calc()` function defined in CSS and convert it to AST.\n\n## Why?\n\nThere are already various parsers of CSS and values ​​defined in CSS.\nHowever, these parser do not have the information of calc function AST. Also, it may not be possible to use it combination with SCSS or Less.\n`postcss-calc-ast-parser` is a parser specialized for the `calc()` (`max`, `min` and `clamp`) functions.\nWe are aiming to work even when used in combination with SCSS or Less.\n\n\n## :cd: Installation\n\n```bash\nnpm install --save-dev postcss-calc-ast-parser\n```\n\n## :book: Usage\n\n```js\nconst calcAstParser = require(\"postcss-calc-ast-parser\")\n\nconst parsed = calcAstParser.parse(\"calc(100%/3 - 2*1em - 2*1px)\")\n```\n\nFor example, parsing the value `calc(100%/3 - 2*1em - 2*1px)` will return the following:\n\n```json\n{\n    \"type\": \"Root\",\n    \"nodes\": [\n        {\n            \"type\": \"Function\",\n            \"name\": \"calc\",\n            \"nodes\": [\n                {\n                    \"type\": \"MathExpression\",\n                    \"left\": {\n                        \"type\": \"MathExpression\",\n                        \"left\": {\n                            \"type\": \"Percentage\",\n                            \"value\": 100,\n                            \"unit\": \"%\"\n                        },\n                        \"operator\": \"/\",\n                        \"right\": {\n                            \"type\": \"Number\",\n                            \"value\": 3\n                        }\n                    },\n                    \"operator\": \"-\",\n                    \"right\": {\n                        \"type\": \"MathExpression\",\n                        \"left\": {\n                            \"type\": \"MathExpression\",\n                            \"left\": {\n                                \"type\": \"Number\",\n                                \"value\": 2\n                            },\n                            \"operator\": \"*\",\n                            \"right\": {\n                                \"type\": \"Length\",\n                                \"value\": 1,\n                                \"unit\": \"em\"\n                            }\n                        },\n                        \"operator\": \"-\",\n                        \"right\": {\n                            \"type\": \"MathExpression\",\n                            \"left\": {\n                                \"type\": \"Number\",\n                                \"value\": 2\n                            },\n                            \"operator\": \"*\",\n                            \"right\": {\n                                \"type\": \"Length\",\n                                \"value\": 1,\n                                \"unit\": \"px\"\n                            }\n                        }\n                    }\n                }\n            ]\n        }\n    ]\n}\n```\n\nTo know more about certain nodes in produced AST, please go [AST docs](./docs/ast.md).\n\n## API\n\n```js\nconst calcAstParser = require(\"postcss-calc-ast-parser\")\n\nconst parsed = calcAstParser.parse(\"calc(100% - 20px)\")\n```\n\n### calcAstParser.parse(code, options)\n\nParse the given source code.\n\n```ts\ncalcAstParser.parse(\n    code: string,\n    options?: {\n        /**\n         * Allow inline comments. default `true`\n         */\n        allowInlineCommnets: boolean\n    }\n): AST.Root\n```\n\n### calcAstParser.stringify(node)\n\nStringifies the given node.\n\n```ts\ncalcAstParser.stringify(node: AST.Node): string\n```\n\n### calcAstParser.getResolvedType(expr)\n\nGet the resolved type of the given math expression.\n> https://www.w3.org/TR/css3-values/#calc-type-checking\n\n```ts\ncalcAstParser.getResolvedType(expr: AST.MathExpression):\n    | \"Number\" | \"Length\" | \"Angle\" | \"Time\" | \"Frequency\" | \"Resolution\" | \"Percentage\" | \"Flex\"\n    | \"Unknown\" // Is includes unknown values and SCSS interpolation etc.\n    | \"invalid\" // Type can not be resolved.\n```\n\n### calcAstParser.reduceExpression(expr)\n\nReturns the calculated value of `MathExpression`. Returns `null` if it can not be resolved.\n\n```ts\n\ncalcAstParser.reduceExpression(expr:\n    | AST.MathExpression\n    | AST.Root\n    | AST.FunctionNode\n    | AST.NumberValue\n    | AST.LengthValue\n    | AST.AngleValue\n    | AST.TimeValue\n    | AST.FrequencyValue\n    | AST.ResolutionValue\n    | AST.PercentageValue\n    | AST.FlexValue\n):\n    | {\n        value: number,\n        type: \"Number\" | \"Length\" | \"Angle\" | \"Time\" | \"Frequency\" | \"Resolution\" | \"Percentage\" | \"Flex\",\n        unit?: string\n    }\n    | null\n```\n\n### parsed.walk(type, callback)\n\nWalks each node of the given type inside parsed.nodes.\n\n```ts\nparsed.walk(type: string | RegExp, callback: (node) => boolean | void): boolean | void\n```\n","readmeFilename":"README.md"}