{"_id":"@alu0101051420/constant-folding","_rev":"5-04f03df7e8107280a332f6a55d8c59c6","name":"@alu0101051420/constant-folding","dist-tags":{"latest":"1.3.0"},"versions":{"1.0.0":{"name":"@alu0101051420/constant-folding","author":{"name":"alu0101051420","email":"alu0101051420@ull.edu.es"},"description":"Constant Folding javascript code","scripts":{"test":"mocha","prod-test":"cd ../constant-folding-production-test-nicolas-cabrera-dominguez-alu0101051420 && npm test","cov":"nyc npm run test","full-cov":"npm run clean && npm i && npm run cov","clean":"rm -rf node_modules package-lock.json","doc":"blah blah"},"repository":{"type":"git","url":"git+https://github.com/ULL-ESIT-PL-2021/constant-folding-module-nicolas-cabrera-dominguez-alu0101051420.git"},"keywords":["ULL","constant-folding","javascript"],"license":"Unlicense","dependencies":{"commander":"^7.1.0","escodegen":"^1.14.3","espree":"^9.3.1"},"version":"1.0.0","main":"src/constant-folding.js","bin":{"cf":"src/constant-folding-cli.js"},"devDependencies":{"chai":"latest","jison":"latest","mocha":"latest","nyc":"latest"},"gitHead":"2e979be666d7ff8dacd67dee18604bbca99dd010","bugs":{"url":"https://github.com/ULL-ESIT-PL-2021/constant-folding-module-nicolas-cabrera-dominguez-alu0101051420/issues"},"homepage":"https://github.com/ULL-ESIT-PL-2021/constant-folding-module-nicolas-cabrera-dominguez-alu0101051420#readme","_id":"@alu0101051420/constant-folding@1.0.0","_nodeVersion":"17.3.1","_npmVersion":"8.3.1","dist":{"integrity":"sha512-dyaWK/1Z7upoFvS9BKZv1RtoYKMM3ObKtkcVxvZQRqzALvy24kve1MUd9qUNstvS5b4tqjp0j/9YDOAw/h0XJQ==","shasum":"82a61a7049ebad4d6eb06f3a706a07a4d9a5510d","tarball":"https://registry.npmjs.org/@alu0101051420/constant-folding/-/constant-folding-1.0.0.tgz","fileCount":38,"unpackedSize":1033608,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiKeOZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoBIhAAkKLZdUvbZrnhqaDdxK69Drox8pfWNutSOk84GXFWNNJdiXLB\r\nWLbui1gTIId/VAlqFLuke4Mgd5YfdC26T/cAiHh+zMioJW+WUpnoa1R/wobo\r\n7Onpv/STlq+9TqLK7+80J8uzdIYfNGVawswf5fAGY6GbIRGfj/667oNcH51Z\r\n05Tiot+QPy3TSPvvLVbPMaecpp3AbhUaH/bCtS1o2qF/4o9LpyyyYddieBUk\r\nmOTLZnDw5ynKqJsHdrgXvCse4HzHrBOmZtOGLQy4YR9Sc/J0BHicwVEMkeoN\r\nUg5CJE/rWab7T9R3UO3l4TvLwRm3LDt88pRGUi1npPUIvQlw39OT1IA/krbk\r\nICNEz3gvJZTxO/AT8bCmJGkgocc08xuiObAL4OVWGAEfKHsj0XKsxS749erB\r\n/8Bihxy1mnEdJwTvTc9FPAOY8mvN0nmv2hz90uakZ/2l6e0bZPuFpy1OUVrw\r\njTMOFdVqtliYt0JF/RQULXNUjo54fh2Mu98Om51zsi1aYHNIWjAMKCJW6B34\r\n5AG8Dhy5H3KLLI3qp5yDQPLnN23qmQtROnEPHgzTdTEcEkbEz9K/YwXoIY4K\r\nAAGSBZbQgKCGimXROEy159vp7YKbxR/A6dvFJ+BT65jt2ivhKfm5KmeQpxgT\r\nBRQw0u2PWI5CIA18d2LjXDakRePYNjjBj+g=\r\n=OkV1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDme8KIOfiYCrhpgj21XCL+NaqjHnRfRvacCKbTSxd6JwIgGY/f/ATR2cE31xgQn0GVV2rtc68Vc7PWXhUu9Vd1OWU="}]},"_npmUser":{"name":"alu0101051420","email":"nicolas.cabrera.14@ull.edu.es"},"directories":{},"maintainers":[{"name":"alu0101051420","email":"nicolas.cabrera.14@ull.edu.es"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/constant-folding_1.0.0_1646912409425_0.33655127825707676"},"_hasShrinkwrap":false},"1.1.0":{"name":"@alu0101051420/constant-folding","author":{"name":"alu0101051420","email":"alu0101051420@ull.edu.es"},"description":"Constant Folding javascript code","bin":{"cf":"bin/constant-folding-cli.js"},"scripts":{"test":"mocha","prod-test":"cd ../constant-folding-production-test-nicolas-cabrera-dominguez-alu0101051420 && npm test","cov":"nyc npm run test","full-cov":"npm run clean && npm i && npm run cov","clean":"rm -rf node_modules package-lock.json","doc":"blah blah"},"repository":{"type":"git","url":"git+https://github.com/ULL-ESIT-PL-2021/constant-folding-module-nicolas-cabrera-dominguez-alu0101051420.git"},"keywords":["ULL","constant-folding","javascript"],"license":"Unlicense","dependencies":{"commander":"^7.1.0","escodegen":"^1.14.3","espree":"^9.3.1"},"version":"1.1.0","main":"src/constant-folding.js","devDependencies":{"chai":"latest","jison":"latest","mocha":"latest","nyc":"latest"},"gitHead":"eb80366dfcec75f64d68fc44e65897e4c3263612","bugs":{"url":"https://github.com/ULL-ESIT-PL-2021/constant-folding-module-nicolas-cabrera-dominguez-alu0101051420/issues"},"homepage":"https://github.com/ULL-ESIT-PL-2021/constant-folding-module-nicolas-cabrera-dominguez-alu0101051420#readme","_id":"@alu0101051420/constant-folding@1.1.0","_nodeVersion":"17.3.1","_npmVersion":"8.3.1","dist":{"integrity":"sha512-/QIJ8vH6UMVhgLt9ABU8JS9TcNKNJwvMmykT2PsrIheF+vAhcoJY7lsJ8WoxPfau9QAtpVUlhMFQJy61iMyBvg==","shasum":"75c96247b89a6734590d73debe1edd0b48fd918a","tarball":"https://registry.npmjs.org/@alu0101051420/constant-folding/-/constant-folding-1.1.0.tgz","fileCount":40,"unpackedSize":1034052,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiKeh5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrI2A//awQwfpXU1FnmUKabnaUCl6bw4SN+sJyeUK2mHb+/z3szDnBD\r\n095XgcvhHEFyRKILEJr1rTTPjkWEwhItVcKgYtneIyd2PVfR8/iBAENukGgU\r\nPsV9uHAL89IxMm9nZ9kTB+7mt6izHaB/14yOM7ZdkAO1xFxXvCgEoe1X84b1\r\nN69C+AL8Ki2GsEw/ntlZ2q6xtgI42jtgsRVpABBYcd5KLtPZqcfJyreoGvq5\r\n6dB+9UsvLw5fmFp3mHoalz7U0OheloQCHZsVMIJlhapcbnrt1KK1FSRtkh3F\r\n4XcNevnHobvwq+v4OOjmPX9gAUMIvDIrXmirkJ4E7XzuRoO8CKHeMshgk5HS\r\ng/ta1ATibNBlHq9cC34daniQLm+kkDYLzcRSocwFjCH607NibUmzPdDM05+6\r\n4WYwqb8iTkQqiIPqSGp6URO8Jcgy3u2f14OrIB6MMdBjuJWyUAhT410c2JHW\r\nakMR55BhE9eCYdOOv6LThc1UiiqSZWcLzI81ZulAuPjRBrYEZSkorawWGeJt\r\ntWIAmazkU59stlRkRhvDkKv+uKn98VAD9SKqz6gE3izG/9Nk9mcs4hqRKKrL\r\nkJ/IJQ4WL+mO8FL6uZgTvUC5ZwIzwHI+ZezZ3y7voCK52w1jmW5ikpfmXA1f\r\nnPVNmiugNSUwT/Ry8S4FM6t7e34gHiZOrmM=\r\n=7Rg1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFHvvJKQojk0/WBS5nP1QiLms24IMvam+NZTWPobnqN0AiEAuIVoGWGlNTSouHBSZokylcf1mXTPnmwkHsDTnaBmNlI="}]},"_npmUser":{"name":"alu0101051420","email":"nicolas.cabrera.14@ull.edu.es"},"directories":{},"maintainers":[{"name":"alu0101051420","email":"nicolas.cabrera.14@ull.edu.es"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/constant-folding_1.1.0_1646913657146_0.8018026851652258"},"_hasShrinkwrap":false},"1.1.1":{"name":"@alu0101051420/constant-folding","author":{"name":"alu0101051420","email":"alu0101051420@ull.edu.es"},"description":"Constant Folding javascript code","bin":{"cf":"bin/constant-folding-cli.js"},"scripts":{"test":"mocha","prod-test":"cd ../constant-folding-production-test-nicolas-cabrera-dominguez-alu0101051420 && npm test","cov":"nyc npm run test","full-cov":"npm run clean && npm i && npm run cov","clean":"rm -rf node_modules package-lock.json","doc":"blah blah"},"repository":{"type":"git","url":"git+https://github.com/ULL-ESIT-PL-2021/constant-folding-module-nicolas-cabrera-dominguez-alu0101051420.git"},"keywords":["ULL","constant-folding","javascript"],"license":"Unlicense","dependencies":{"commander":"^7.1.0","escodegen":"^1.14.3","espree":"^9.3.1"},"version":"1.1.1","main":"src/constant-folding.js","devDependencies":{"chai":"latest","jison":"latest","mocha":"latest","nyc":"latest"},"gitHead":"c224501a8dac64023a7408a60de5a61b58053d46","bugs":{"url":"https://github.com/ULL-ESIT-PL-2021/constant-folding-module-nicolas-cabrera-dominguez-alu0101051420/issues"},"homepage":"https://github.com/ULL-ESIT-PL-2021/constant-folding-module-nicolas-cabrera-dominguez-alu0101051420#readme","_id":"@alu0101051420/constant-folding@1.1.1","_nodeVersion":"17.3.1","_npmVersion":"8.3.1","dist":{"integrity":"sha512-Hg746eMu0rQvODWlWNEXyqbOrakk0+c2aNcid9miggQmJNZc9sIzcmeEQxzbUDBSRG8fzrLvGvWX9pXuRXt0WA==","shasum":"1cdfbac1601af9ae30b43a31e9fa4bf32f8bdfb5","tarball":"https://registry.npmjs.org/@alu0101051420/constant-folding/-/constant-folding-1.1.1.tgz","fileCount":40,"unpackedSize":1034048,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiKelrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqU1hAApEBq5iiD3TRFHWEahixlHLfVDEj64PnSj2vD8MfLRjUevhh9\r\nuKaZChO41I0nJFL9E/OsPOfCqKzWRm7psR64bzanae1UtDBuUHRvcJvZ6grv\r\nFHQGZ+dJFCXcjx/tiWzEndnBWXZbz8s35c4I3ISotJWLPe0x2JzYIBJr4jnk\r\nAr1eyXMnbBdsnWWWeze3OMJcJOpfhX97ffuthRA6eYOc15bA21W6WlIsGrCr\r\n4wiCdY2g72TJDW8O5kdI65Zv2qAF2uY0wrtfE2pXwVVTMnpaJWnmYDiniWzL\r\nph4ZuKSySOFD4pUEWJ3k/tp5IU6gZ2Bk722+wgVM2+tkxbSJJafOzuHVBTsh\r\n9rya0WDqVUj9O09Qmlnk+YeT/8VIbztMh/IPDZsvrdYtNMpIIuea9lejfKQU\r\nVmjzga0FU6vI9ODwi/bADmIyk4dhpWlMWJazmOBt4q+XAbbowCgYaw+3TKj/\r\nhKebCi/J9NIWPCoYyctXnD4X3RxNEFh7iMVlr1kt9pYMgoXD3LEtyKh2zVA3\r\nLPDIYjgXKd/kRnzeW3H3xvmrjBVkI93JnbbMKyhGk6J35YGEQCtcyC255LYN\r\nWgJYc8wX6oq5DQXq+eRQPasTuMASexvho0NCeWRMYwuEy3AiuZiZwqAJ31B0\r\ncraF3sUjSwiro2UbfmMUIeTSkmK6GeMGOe0=\r\n=o00G\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD7Z3Mm9tuP32c6zWEaUD+r9F5R/p1/cR2BVwoN+Ve2sAIgRCQ6/j1iYZ7dbpnesQu0iNsZdbQXxXzuYs2XFrc3lxI="}]},"_npmUser":{"name":"alu0101051420","email":"nicolas.cabrera.14@ull.edu.es"},"directories":{},"maintainers":[{"name":"alu0101051420","email":"nicolas.cabrera.14@ull.edu.es"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/constant-folding_1.1.1_1646913899149_0.5611677012908529"},"_hasShrinkwrap":false},"1.2.0":{"name":"@alu0101051420/constant-folding","author":{"name":"alu0101051420","email":"alu0101051420@ull.edu.es"},"description":"Constant Folding javascript code","bin":{"cf":"bin/constant-folding-cli.js"},"scripts":{"test":"mocha","prod-test":"cd ../constant-folding-production-test-nicolas-cabrera-dominguez-alu0101051420 && npm test","cov":"nyc npm run test","full-cov":"npm run clean && npm i && npm run cov","clean":"rm -rf node_modules package-lock.json","doc":"blah blah"},"repository":{"type":"git","url":"git+https://github.com/ULL-ESIT-PL-2021/constant-folding-module-nicolas-cabrera-dominguez-alu0101051420.git"},"keywords":["ULL","constant-folding","javascript"],"license":"Unlicense","dependencies":{"commander":"^7.1.0","escodegen":"^1.14.3","espree":"^9.3.1"},"version":"1.2.0","main":"src/constant-folding.js","devDependencies":{"chai":"latest","jison":"latest","mocha":"latest","nyc":"latest"},"gitHead":"2df51db0db992c3270afd113c5d34992f65c921f","bugs":{"url":"https://github.com/ULL-ESIT-PL-2021/constant-folding-module-nicolas-cabrera-dominguez-alu0101051420/issues"},"homepage":"https://github.com/ULL-ESIT-PL-2021/constant-folding-module-nicolas-cabrera-dominguez-alu0101051420#readme","_id":"@alu0101051420/constant-folding@1.2.0","_nodeVersion":"17.3.1","_npmVersion":"8.3.1","dist":{"integrity":"sha512-J9yJcOBrjHlRy6+Lf+eQ4WoXeqwbI+ICWkpNlGV8+tS3xUkxyhJ0lvty79bSyBhRMRLGsomtDWgc97tSGIUROw==","shasum":"7804f47e45ff5a99d1aa46f4d9718ee814392b46","tarball":"https://registry.npmjs.org/@alu0101051420/constant-folding/-/constant-folding-1.2.0.tgz","fileCount":40,"unpackedSize":1035719,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiKf7sACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpXMA/+Ibve8EYwRgaMq92yHhGxdKP948xqJypFaVM6sVsupivQ25hP\r\nVLPdbTlp4OmM765JYrkZkHgX1gdXxeqmXPq6wntF9bvFwGv/a5rZ8HTsMwus\r\nu34TO5n8mC6BC0176BfUZni1G+eRR6MTKhmQ22i0vj3PmsbCntiFIHRGWuR/\r\nTDDg6D5tNh0qyL3ZQB7VrQUOn0pJiPJ0v0FNjAvFfck8i4xb5Ecyc9/bdNr6\r\ncF3ocD13GLFqOcnXy6X5ZJax1nooSw+URMuZqykgl/Xaq9tLA/n7fJy849+W\r\nB76czvjm2VGz7WwIq3kyeaFjCKTuueb7iuOj+9ERtBeZtOmJCAb+mwBQoq9F\r\nb3m1vBFDdnZpSZBKq5vTX0qME39qWSsAA975oS3knSPcM0VH96/F71lDR1b8\r\nFwEj8I98fjsO0PVHLDXOGGPewIFft/eHNBq3iQ3e4jNtddmxferQoclCbV31\r\nMKjhf1hvjMx39ksXtWtkozAvGvw+4/3CcLGAbrIhd2LpKkyOvHzCj7k8Hvui\r\nsVyGYW7RhKPzMMT8vwOO3TMFIkPoCB4V4Qbf0THe3r1e0o6SczOYsN0LKqQq\r\ng6X0yJcq7oOLeT4W3Fu1MFaoaqAzB2eFl44I9p5Ii9SHBkywXR8w+XG+nmSb\r\nEXzpVbP+BTGUu/di8PPUfBxplp2yydq9X0A=\r\n=0qoR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC1vVKpHRqD2MrSat2a/52lUzYOVU9aBB3TOSm1tbI6sgIgD+8lFRmwiRPvPoHkZDMAzyA4eph31JFUiMZf59w4j10="}]},"_npmUser":{"name":"alu0101051420","email":"nicolas.cabrera.14@ull.edu.es"},"directories":{},"maintainers":[{"name":"alu0101051420","email":"nicolas.cabrera.14@ull.edu.es"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/constant-folding_1.2.0_1646919404447_0.47792382635972785"},"_hasShrinkwrap":false},"1.3.0":{"name":"@alu0101051420/constant-folding","author":{"name":"alu0101051420","email":"alu0101051420@ull.edu.es"},"description":"Constant Folding javascript code","bin":{"cf":"bin/constant-folding-cli.js"},"exports":{".":"./src/constant-folding.js","./egg":"./src/egg-constant-folding.js"},"scripts":{"test":"mocha","prod-test":"cd ../constant-folding-production-test-nicolas-cabrera-dominguez-alu0101051420 && npm test","cov":"nyc npm run test","full-cov":"npm run clean && npm i && npm run cov","clean":"rm -rf node_modules package-lock.json","doc":"jsdoc src -d docs --readme README.md","genCov":"nyc --reporter=html --reporter=text mocha"},"repository":{"type":"git","url":"git+https://github.com/ULL-ESIT-PL-2021/constant-folding-module-nicolas-cabrera-dominguez-alu0101051420.git"},"keywords":["ULL","constant-folding","javascript"],"license":"Unlicense","dependencies":{"@ull-esit-pl/example2test":"^1.1.1","commander":"^7.1.0","escodegen":"^1.14.3","espree":"^9.3.1"},"version":"1.3.0","main":"src/constant-folding.js","devDependencies":{"chai":"latest","jison":"latest","mocha":"latest","nyc":"latest"},"gitHead":"bacba08b2698218571c2f159da19cc2005080692","bugs":{"url":"https://github.com/ULL-ESIT-PL-2021/constant-folding-module-nicolas-cabrera-dominguez-alu0101051420/issues"},"homepage":"https://github.com/ULL-ESIT-PL-2021/constant-folding-module-nicolas-cabrera-dominguez-alu0101051420#readme","_id":"@alu0101051420/constant-folding@1.3.0","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"integrity":"sha512-qPY9w7e1w5sxb+TJk5FqhlHkVPRROtj4YdBvCo8DyfBhXMzL1bJLJUCrsVi+p4yxrFn1S4w3yKgPWJClZugmgw==","shasum":"df1878e8ada0664221b691f23f450e845a84f384","tarball":"https://registry.npmjs.org/@alu0101051420/constant-folding/-/constant-folding-1.3.0.tgz","fileCount":55,"unpackedSize":1115376,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDh1x8OpAde53BrZwIqHX+zAV2CItgu+8excOGRhfkZowIgCe/wu9XtcDE4uBKUVA1Nj0YlXGdmVnAYXsbnosqfIbY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJik79qACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqw2w//ZErZnQHuUQ7SGWU7N6h+Ry7CCawSnV2mbN43TIm/Sj0OutqM\r\niGtfq3LV0cTD2ABlscntinpAfFrcmMPGMsXLhj6RXmWJ+CNidoS85oeXbeUt\r\n9vFI3bi3MVUgGrD/ObFPi7jPpplU5LGLVh16wfYLMZiaJ5DD/r/vvO1EBEdC\r\nX4Bog2GiAw6ReaTLJTkwpwo6OQgfiOhQ1QEMuqB2jaDla82JHoxsAZGo3MIQ\r\nEKi8d86KFdtwbxUi31XkwIswhYWPUyqHITLAdMVot6eTqRp5gH6PhkIX4rBw\r\nuieZEXjE/xfGYlOC+isDkFrxHimouD+ViTOhfzbITh5VzcVViqC0Z5dHPhvo\r\nv6w5kU5e3EvBhiarZvTOkfXUiGCxn8UfyQX96NuFxfD15F6wIo9gVb3mZXYE\r\nVCF8KPXE3OlKMUTuMsN1uSQ75FRX7mv2ISFFLEEIKrMt35EKIjH3w1yfNmVf\r\nhQF8Lg7ZKNGo9hptFvb/hRAhUYadpErfnrsOoKRwt95BC/lT4ZaoFgBbPJki\r\n6ZDzzBST+7S0OA4N/H6dltQWtc/0RaCe61YtGtzkcUxbyuFXjzyrzit54f+P\r\n/TuVdxrZA08Z2b15sRU2kt/nst9gpkeV1AHcjM3xAUaeWCmVR8JnTtCkIMIO\r\nhVDXSEi4ftfh6qpDN+v7TryU51v8/4y15Og=\r\n=SiPJ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alu0101051420","email":"nicolas.cabrera.14@ull.edu.es"},"directories":{},"maintainers":[{"name":"alu0101051420","email":"nicolas.cabrera.14@ull.edu.es"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/constant-folding_1.3.0_1653849962104_0.8620127665052115"},"_hasShrinkwrap":false}},"time":{"created":"2022-03-10T11:40:09.370Z","1.0.0":"2022-03-10T11:40:09.627Z","modified":"2022-05-29T18:46:02.378Z","1.1.0":"2022-03-10T12:00:57.392Z","1.1.1":"2022-03-10T12:04:59.373Z","1.2.0":"2022-03-10T13:36:44.816Z","1.3.0":"2022-05-29T18:46:02.320Z"},"maintainers":[{"name":"alu0101051420","email":"nicolas.cabrera.14@ull.edu.es"}],"description":"Constant Folding javascript code","homepage":"https://github.com/ULL-ESIT-PL-2021/constant-folding-module-nicolas-cabrera-dominguez-alu0101051420#readme","keywords":["ULL","constant-folding","javascript"],"repository":{"type":"git","url":"git+https://github.com/ULL-ESIT-PL-2021/constant-folding-module-nicolas-cabrera-dominguez-alu0101051420.git"},"author":{"name":"alu0101051420","email":"alu0101051420@ull.edu.es"},"bugs":{"url":"https://github.com/ULL-ESIT-PL-2021/constant-folding-module-nicolas-cabrera-dominguez-alu0101051420/issues"},"license":"Unlicense","readme":"[![npm version](https://badge.fury.io/js/@alu0101051420%2Fconstant-folding.svg)](https://badge.fury.io/js/@alu0101051420%2Fconstant-folding)\n[![CI for constant-folding](https://github.com/ULL-ESIT-PL-2122/constant-folding-module-nicolas-cabrera-dominguez-alu0101051420/actions/workflows/nodejs.yml/badge.svg)](https://github.com/ULL-ESIT-PL-2122/constant-folding-module-nicolas-cabrera-dominguez-alu0101051420/actions/workflows/nodejs.yml)\n\n## constant-folding\n\nSmall utility, applies constant-folding in source (javascript) code, using AST modification.\n\n## Installation\n\n```\nnpm install @alu0101051420/constant-folding\n```\n\n## Usage from code:\n\n```javascript\nconst constantFolding = require('constant-folding');\nconst example_code = \"a = 3+2;\"\n\nconsole.log(\"Original Code: \\n\", example_code);\nconsole.log(\"Code with constant folding: \\n\", constantFolding(example_code));\n```\n\n[The documentation of the function](https://ull-esit-pl-2122.github.io/constant-folding-module-nicolas-cabrera-dominguez-alu0101051420/).\n\n## Usage as executable:\n\nAn input file must be specified. You also may or may not specify an output file. If not given, it will default to \"output.js\".\n\n```\nnpx cf input_file --o output_file\n```\n\n## Examples\n\n```js\nconstantFolding(`['a', 'b', 'c'].concat(['d', 'e'], 'f', 'g', ['h']); `); // ['a','b','c','d','e','f','g','h']\nconstantFolding(`[\"a\", \"b\", \"c\"].join(); `);    // a,b,c\nconstantFolding(`[\"a\", \"b\", \"c\"].join('&'); `); // a&b&c\nconstantFolding(`[1, 2, 3].length; `);          // 3\nconstantFolding(`[1, 2, 3][2 - 1]; `);          // 2\nconstantFolding(`[1, 2, 3].shift(); `);         // 1\nconstantFolding(`[1, 2, 3].slice(0, 1 + 1); `); // [1, 2]\nconstantFolding(`['a', 'b', 'c'].pop(); `);     // c\nconstantFolding(`['a', 'b', 'c'].reverse(); `); // ['c','b','a']\n```\n\n## Author\n\nalu0101051420 (Nicolás Cabrera) - [GitHub Profile](https://github.com/jncabdom)\n\n## Tests\n\n```\nnpm run test\n```\n\n## Version History\n\n1.0.0 Initial Release\n\n1.1.0 Added npx executable\n\n1.1.1 Minor documentation fixes\n\n1.2.0 Added constant folding for array functions\n","readmeFilename":"README.md"}