{"_id":"@alu0101056944/ast-types-marcos-barrios-lorenzo-alu0101056944","_rev":"2-2e85c2870b7b6575e3098210149bf32e","name":"@alu0101056944/ast-types-marcos-barrios-lorenzo-alu0101056944","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.1":{"name":"@alu0101056944/ast-types-marcos-barrios-lorenzo-alu0101056944","version":"1.0.1","description":"Procesadores de Lenguajes Prct Ast-types","main":"index.js","scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules npx jest ./test/* --verbose","cov":"nyc npm run test","full-cov":"npm run clean && npm i && npm run cov","doc":"jsdoc ./src -d docs/","start":"node ./web-server/app.js"},"repository":{"type":"git","url":"git+https://github.com/ULL-ESIT-PL-2122/ast-types-marcos-barrios-lorenzo-alu0101056944.git"},"keywords":["ast-types","pl","github","registry","jest","documentation"],"dependencies":{"ast-types":"*","commander":"*","espree":"*","express":"^4.17.3","recast":"*"},"devDependencies":{"documentation":"*","jest":"*","jsdoc":"^3.6.10","nyc":"^15.1.0"},"author":{"name":"Marcos Barrios Lorenzo","email":"alu0101056944@ull.edu.es","url":"https://github.com/alu0101056944"},"license":"ISC","bugs":{"url":"https://github.com/ULL-ESIT-PL-2122/ast-types-marcos-barrios-lorenzo-alu0101056944/issues"},"bin":{"spread":"bin/spread-cli.js"},"homepage":"https://github.com/ULL-ESIT-PL-2122/ast-types-marcos-barrios-lorenzo-alu0101056944#readme","type":"module","gitHead":"c5ae32dc96663f134152a2fceee333cc77924372","_id":"@alu0101056944/ast-types-marcos-barrios-lorenzo-alu0101056944@1.0.1","_nodeVersion":"17.5.0","_npmVersion":"8.4.1","dist":{"integrity":"sha512-5khqOiIN/DwB0f6O3F6N54mwsrww2UxyLhl5q4GmopQGVyg4uJUO4vMt81kQKt/qINRdtGt9aTvgO0YslbnWnA==","shasum":"bef5475d2584e142701bbf47de6ccad1f9c6bcd5","tarball":"https://registry.npmjs.org/@alu0101056944/ast-types-marcos-barrios-lorenzo-alu0101056944/-/ast-types-marcos-barrios-lorenzo-alu0101056944-1.0.1.tgz","fileCount":38,"unpackedSize":1043057,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiMnn8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpYgw//fMJqE8liffrhGuUTEadC/aUAy3/QKPRHeQsDwrj//7KKu+Vj\r\npxr99BXXbSCJMyLBQB1bXiU7gtAf0fH+Rg/elhf1di2rx/gJ5OSOqVy3bP3M\r\nsnstxQVhN4ZTxAx55rIlllo4QZDrG4XdwtnEZ5x7szzCa3j4xwZ8ZSl6dvkB\r\n/dTIYNF2OniBDDZK3TDxWgPbm8TP7mr4os8WfES4fBS6wVPFj2iDIolBLld0\r\nCSezHPZ6X4VKAMEe6H2pQEdFxtYG/ZMzLlbho+XqkpwSmVn3p15nM2fXPuMp\r\nHVafjcDeHlAeyDa6QOfTDjnXQdeped57+goY4jBV3+W+nt+wOFzIQHyqD5pY\r\nzV8yi9d6047PrlLzeMimflMmYuvjfKX2fnZGv3HLj6jAjpHAcoc4F98I7BVh\r\nvhBjHY4LclZSPkMRr0GDOO0qcZ45iOenG9E7H358QAC7iBa0FAxPu1XDgtUu\r\na+SusoS4qFLke7teIUVrVR7wDSOrYKVBfdNVld7KDtpvjMCpGdPElCt2rHM/\r\nGixUCKUrzjJXSIoSARjMPUxNvWzCCWwuQ8SeqVnmdZMLxT+weSRkXnSh0qJr\r\nZNBHwFKaB/wc3v/mOb5HyT5DwaFhrXf2zDys/XwxuWEexfRSlaemzFgf73Kp\r\ni9pmLiGl/CrnpviwOK1V+GY0lFUDteFa68s=\r\n=csyU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDj8fbjaPqjdeI9f/IbN+a/iCwnyDtbmiRqq953oShQtAIgRWmbk0KzpEFivC/YnZrCl2RL73pKRI0UniiuaNjBDaY="}]},"_npmUser":{"name":"alu0101056944","email":"alu0101056944@ull.edu.es"},"directories":{},"maintainers":[{"name":"alu0101056944","email":"alu0101056944@ull.edu.es"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ast-types-marcos-barrios-lorenzo-alu0101056944_1.0.1_1647475196587_0.9881922868907784"},"_hasShrinkwrap":false},"1.0.3":{"name":"@alu0101056944/ast-types-marcos-barrios-lorenzo-alu0101056944","version":"1.0.3","description":"Procesadores de Lenguajes Prct Ast-types","main":"index.js","scripts":{"test":"NODE_OPTIONS=--experimental-vm-modules npx jest ./test/* --verbose","cov":"nyc npm run test","full-cov":"npm run clean && npm i && npm run cov","doc":"jsdoc ./src -d docs/","start":"node ./web-server/app.js"},"repository":{"type":"git","url":"git+https://github.com/ULL-ESIT-PL-2122/ast-types-marcos-barrios-lorenzo-alu0101056944.git"},"keywords":["ast-types","pl","github","registry","jest","documentation"],"dependencies":{"ast-types":"*","commander":"*","espree":"*","express":"^4.17.3","recast":"*"},"devDependencies":{"documentation":"*","jest":"*","jsdoc":"^3.6.10","nyc":"^15.1.0"},"author":{"name":"Marcos Barrios Lorenzo","email":"alu0101056944@ull.edu.es","url":"https://github.com/alu0101056944"},"license":"ISC","bugs":{"url":"https://github.com/ULL-ESIT-PL-2122/ast-types-marcos-barrios-lorenzo-alu0101056944/issues"},"bin":{"spread":"bin/spread.js"},"homepage":"https://github.com/ULL-ESIT-PL-2122/ast-types-marcos-barrios-lorenzo-alu0101056944#readme","type":"module","gitHead":"737771feb0c15d58a8029b3e2438c5e9b7875b9a","_id":"@alu0101056944/ast-types-marcos-barrios-lorenzo-alu0101056944@1.0.3","_nodeVersion":"17.5.0","_npmVersion":"8.4.1","dist":{"integrity":"sha512-5CMcitZ5Fm7Ass4b3manb6idkEMewicDxitOXst90jK9L/Hw3tbIeK5lP6i58oKQWmX0N/DQgLUC5W1HppHf0g==","shasum":"63e674acad0cf7221bf29e34c10c2c7e8aaf4db8","tarball":"https://registry.npmjs.org/@alu0101056944/ast-types-marcos-barrios-lorenzo-alu0101056944/-/ast-types-marcos-barrios-lorenzo-alu0101056944-1.0.3.tgz","fileCount":38,"unpackedSize":1043033,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiMnuzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqGzQ/+Oy8GtM5rdogsf7YfB2K2pvKN0XUwRzmZt/5qc9L4HtDecoun\r\nrQ0hOOfyYs7B7pbJmjqG0czNCFTUbtUwPguXLG3KoFTKhdAPwOuJjj2eGnxA\r\nhp9fmuYwgUg0JdRu+Emvk55y7N4FNhq4A6JzM3aQ1iDMe4blQnNMsQxr6TAP\r\nJ768RNeMCRsYhI5Ii5SzxjuIqy/I0jZ59ieQQM8gdKTiCd9uFJNtzKn/VMV0\r\nSHRLv7WYuELld0ZN07tohTn97bXP6dBp86VqyhbeoI1TKCoYs+F/KXET/HsM\r\nKVO6xWDsoFt2R8VQYoSlMsSOWi6b0S2tcKjG8Y5l+A1R0eT2WHKm5CQYT/+S\r\nDSF96uOQ6I78LWM1M1JJLSvxHBaP9hm5JpG9+QgiIt2IJBbxoEQQxAWiEaXB\r\nX85hrshjgYVxUm7NnfGnYN7CWiFm3BynMEg/3yflaH2Pp19evWl0zzMdZQxn\r\nFeR8/EEmdNyeKhe7tOz3lRLsmcWmwojq1o5VJeqy9lWVvaeYVqvfEQH67apC\r\no8P0cc1snn2L4v5YghbCc5cjWhy6a2ovoOxAnfbqXkEjb4TPr87bwQNR1gH1\r\nOlICT9inLQGjYst2qqFvvMlNIay8bN5tMZqaDkrUe/+sFJJeDVFleH4wCwSw\r\nPzuDBi89eDXlLjmqJO+RVznCuh66n8yCXAM=\r\n=iCw7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBP8ImvgIpOCa/eYLag6If8vlRRfT5aZH9IWluBc1VyrAiBatltNSTyrRn78e0m/REIDEsw/OV7wat++d76eeHeOmA=="}]},"_npmUser":{"name":"alu0101056944","email":"alu0101056944@ull.edu.es"},"directories":{},"maintainers":[{"name":"alu0101056944","email":"alu0101056944@ull.edu.es"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ast-types-marcos-barrios-lorenzo-alu0101056944_1.0.3_1647475634867_0.04953580386646972"},"_hasShrinkwrap":false}},"time":{"created":"2022-03-16T23:59:56.525Z","1.0.1":"2022-03-16T23:59:56.847Z","modified":"2022-04-04T13:41:01.270Z","1.0.3":"2022-03-17T00:07:15.118Z"},"maintainers":[{"name":"alu0101056944","email":"alu0101056944@ull.edu.es"}],"description":"Procesadores de Lenguajes Prct Ast-types","homepage":"https://github.com/ULL-ESIT-PL-2122/ast-types-marcos-barrios-lorenzo-alu0101056944#readme","keywords":["ast-types","pl","github","registry","jest","documentation"],"repository":{"type":"git","url":"git+https://github.com/ULL-ESIT-PL-2122/ast-types-marcos-barrios-lorenzo-alu0101056944.git"},"author":{"name":"Marcos Barrios Lorenzo","email":"alu0101056944@ull.edu.es","url":"https://github.com/alu0101056944"},"bugs":{"url":"https://github.com/ULL-ESIT-PL-2122/ast-types-marcos-barrios-lorenzo-alu0101056944/issues"},"license":"ISC","readme":"## spread\n\nTranspile a javascript source code file into another without spread operators that is compatible with ECMAScript 5.\n\n```js\nconst spread = [1];\nconst a = [2, 3, ...spread, 4];\nconst a = [2, 3, 1, 4]  <=  RESULT\n\nconst spread = [true, 'algo', 9, 13, 15, 34, 29, 36]\nconst a = [2, 3, ...spread, 4]\nconst a = [2, 3, true, 'algo', 9, 13, 15, 34, 29, 36, 4]  <=  RESULT\n\nconst algo = []\nconst a = [-11, ...algo, 8, 9, 112];\nconst a = [-11, 8, 9, 112]  <=  RESULT\n```\n\n## Installation\n\nTo install execute the following command:\n\n```bash\nnpm i\n```\n\n## Usage as executable:\n\nExecute the program with the following command.\n\n```bash\nnode bin/spread.js <input.js> -o <output>\n```\n\nwhere:\n  - *input.js* is the path to the original javascript source code to transpile into another source code\n  - *output* is the path of the file where save the transpiled source code; the constant folded one.\n\n## Usage from code:\n\n```javascript\nimport {replaceSpreadAsParameter} from 'spread';\n// Call the function\n```\n\n## Examples\n\n*src/input.js*\n```js\nconst a = [2, 3, ...spread, 4];\nconst spread = [1];\n```\n\nExecute:\n\n```bash\nnode bin/spread.js src/input.js -o src/output.js\n```\nTranspiled code:\n\n*src/output.js*\n```js\nconst a = [2, 3, 1, 4];\nconst spread = [1];\n```\n\n## Author\n\nalu0101056944\n\nmarcos.barrios.15@ull.edu.es\n\nMarcos Jesús Barrios Lorenzo\n\n## Tests\n\nTo run the tests execute the following command:\n\n```bash\nnpm test\n```\n","readmeFilename":"README.md"}