{"_id":"@alu0101016733/add-logging","_rev":"4-6ee13af6d39474e96c61426ae1b30b3a","name":"@alu0101016733/add-logging","dist-tags":{"latest":"1.0.1"},"versions":{"0.1.1":{"name":"@alu0101016733/add-logging","version":"0.1.1","description":"Adds logging code to javascript code functions","main":"src/add-logging.js","scripts":{"test":"mocha --reporter spec","doc":"documentation build src/add-logging.js -f html -o docs","docmd":"documentation build src/add-logging.js -f md > doc.md","serve-doc":"http-server docs/ -o"},"repository":{"type":"git","url":"git+https://github.com/ULL-ESIT-PL-2021/espree-logging-module-alu0101016733.git"},"keywords":["logging","javascript"],"author":{"name":"alu0101016733","email":"alu0101016733@ull.edu.es"},"licenses":[{"type":"MIT","url":"https://github.com/ULL-ESIT-PL-2021/espree-logging-module-alu0101016733/LICENSE-MIT"}],"bugs":{"url":"https://github.com/ULL-ESIT-PL-2021/espree-logging-module-alu0101016733/issues"},"homepage":"https://github.com/ULL-ESIT-PL-2021/espree-logging-module-alu0101016733#readme","devDependencies":{"chai":"^4.3.3","documentation":"^13.1.1","mocha":"^8.3.0"},"dependencies":{"commander":"^7.1.0","escodegen":"^1.14.3","espree":"^7.3.1","estraverse":"^5.2.0"},"gitHead":"2fe543e99760a69d26d1ff06e1b06d6b1c81c96e","_id":"@alu0101016733/add-logging@0.1.1","_nodeVersion":"15.9.0","_npmVersion":"7.5.3","dist":{"integrity":"sha512-T2oHIbLmUb2aQgkbnxG8D1qAIojXqdko3iph+8Bi5tmomg48Dais3gCg3hCaHR8bVN6MHxsPC8q9Q3AJrwyenw==","shasum":"e3a079dbd2d6b43e772e52641b72ea4944b089d1","tarball":"https://registry.npmjs.org/@alu0101016733/add-logging/-/add-logging-0.1.1.tgz","fileCount":6,"unpackedSize":6338,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgQfSRCRA9TVsSAnZWagAABR4P/0XH6jqgf1Yj6Ul0ZA06\nIzk0jObVzKjP0XwEl8Ta7x065yairgO3kaVkYpSJ1rIfIHYZ2+tMHyVgxkvF\nvKkjy92U8PTBiiYnn/Yr6LlYlYnOsvvY77y1kjod2Mf28rqVu0P9qNl+1Ubl\nRjF3O1ENN+b8VT3jmgZVoOb6J8hfPrF5kIy8nXdZQV1Q5pkCsNQNEmcNiLoH\n6KEjArjZ7NccRmROvvi0aR1TIvUBYVgJQ1lRfPdQi8qu0gVR2xlfakHaMgSm\nd86w1SuddL6AqSt/LaCpDCBHxE/tJzuz8nnnTVZsy654jtkbf/VtvL/efaYY\n2aNGapuaqZUxXavkGo8tWbKqhTnqufAphQHxUEtZCbuAZJpbraio/oqzuwbE\nbG1bgPNS7N4PJnHsc79LBly+TFz7SeYc/wFTmhRO8ISq9uI9QHSzx96vDDcO\nWMOvf2TU9NJiQyDtCGHlfBCdD/aQL5QwUOujFRUppS8nnXoe62jhyxsvfly/\nQri2B53mxhobie8ecyN0hytA6inxHepqhhjIZD3UQEBrCUvCfc9CyJmOpYpm\ntCkdfDNYsmTouK7qzhFugqbZzcKQpD87ZmRlZpcKN3sIKsdhql25e/goeFC2\nj9x9IJB3R8vPpTMy73dMUfxML6nkPh+pyBv518NrFQl2W8Ons02hzsX87UXU\nFgLa\r\n=6cJf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD15GFvZHGphEnbpTfwSIqNOyZq+6AFExuAeuYADepFDgIgMuiwolbNWgQHhpP9S307eO6GXecJfYldw4QhhLKr5Yk="}]},"_npmUser":{"name":"alu0101016733","email":"alu0101016733@ull.edu.es"},"directories":{},"maintainers":[{"name":"alu0101016733","email":"alu0101016733@ull.edu.es"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/add-logging_0.1.1_1614935184871_0.7353330598847472"},"_hasShrinkwrap":false},"0.2.0":{"name":"@alu0101016733/add-logging","version":"0.2.0","description":"Adds logging code to javascript code functions","main":"src/add-logging.js","scripts":{"test":"mocha --reporter spec","doc":"documentation build src/add-logging.js -f html -o docs","docmd":"documentation build src/add-logging.js -f md > doc.md","serve-doc":"http-server docs/ -o"},"repository":{"type":"git","url":"git+https://github.com/ULL-ESIT-PL-2021/espree-logging-module-alu0101016733.git"},"bin":{"add-logging":"bin/add-logging.js"},"keywords":["logging","javascript"],"author":{"name":"alu0101016733","email":"alu0101016733@ull.edu.es"},"licenses":[{"type":"MIT","url":"https://github.com/ULL-ESIT-PL-2021/espree-logging-module-alu0101016733/LICENSE-MIT"}],"bugs":{"url":"https://github.com/ULL-ESIT-PL-2021/espree-logging-module-alu0101016733/issues"},"homepage":"https://github.com/ULL-ESIT-PL-2021/espree-logging-module-alu0101016733#readme","devDependencies":{"chai":"^4.3.3","documentation":"^13.1.1","mocha":"^8.3.0"},"dependencies":{"commander":"^7.1.0","escodegen":"^1.14.3","espree":"^7.3.1","estraverse":"^5.2.0"},"gitHead":"5bcb864dd49dd97c08ee6a6abf6624cabbe58bd8","_id":"@alu0101016733/add-logging@0.2.0","_nodeVersion":"15.9.0","_npmVersion":"7.5.3","dist":{"integrity":"sha512-1R/9AJwiRVMqRiZ2V6nEH2bz7xgJzey/aINr75vxD+eqlejSd7W+NLyvrwxdzVLy4blaLGpW0n6+e7zPar9SOw==","shasum":"ed1accc13100e0f60d5f91e131d3ff59faf40dd8","tarball":"https://registry.npmjs.org/@alu0101016733/add-logging/-/add-logging-0.2.0.tgz","fileCount":8,"unpackedSize":8089,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgQiiCCRA9TVsSAnZWagAA5hMP/RSk8O6wOxPIm6bgVUT0\newqLiOdjVKK8F4mNn2WRn7r50D9yJ+ov8P8fyXSSuyVj2cFiocVUkUaLNOMT\n1XoZ8zlGXCjLG/Ffb+X+Y9RNE+2pvzrXYMVPdhLIhcJBVrpbAEIqk78+nhYC\np09el5kxpjFlTKaFis+qb3U84S/2AbY59mK2Yk8P8ahTd/uHgGH6q+BmL3/X\nno3stPrd8oBIvwXKTjybAg12UcdGYU5rLKT86jJrci6dl/FlzMNY5PRcoG/R\nQJ/tPE2vv25GwxfWnSsff4z63Z6riBPpWhb0c5vIGeGMKJilSTxwx+/zXLKw\nBFf803ARDUxFDsWSRRHfgRCRzPS8aIZOGIWAyIIZtJF2m8iC+c/cKr6Tv9qn\n+vh3Crwr/yoJFSwBQ+rY826TwGkll33ANMF0IvpSB7AXVos4E7cqvdKuPlIn\njMLlOyRrP45+xk5DlPYYuESjW8CiS6kQWxqR9POlCuxTmtLHXAqOpSsVTchQ\nylr4ko1s29N9PaYrqcIMgS37jmQ3TjYlqB0qFvhQ9G9qNtw9DGwPCDMKGX4G\nlmgwraO9ZP4LyhM+Ogj1GMdG+hzZ+6s9ov4KuDpIgSzkEm08QsIJ8kwbW+iH\nDxhPsfB/kmxwRmyT7YjalP1nJyqKO20/rvh+W752oLY0fyY935uBWmNc5cQ8\n9V/K\r\n=F73w\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG2+NvWn93dOoQ7pLYYarNGl5xjY0QtqYVzzC6k4yBVeAiBC6AYjyVzTkKa3O4zyTqlAROBh8CVmiQNKdzmkPKS52g=="}]},"_npmUser":{"name":"alu0101016733","email":"alu0101016733@ull.edu.es"},"directories":{},"maintainers":[{"name":"alu0101016733","email":"alu0101016733@ull.edu.es"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/add-logging_0.2.0_1614948481615_0.1230001250652768"},"_hasShrinkwrap":false},"1.0.0":{"name":"@alu0101016733/add-logging","version":"1.0.0","description":"Adds logging code to javascript code functions","main":"src/add-logging.js","scripts":{"test":"mocha --reporter spec","doc":"documentation build src/add-logging.js -f html -o docs","docmd":"documentation build src/add-logging.js -f md > doc.md","serve-doc":"http-server docs/ -o","coverage":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/ULL-ESIT-PL-2021/espree-logging-module-alu0101016733.git"},"bin":{"add-logging":"bin/add-logging.js"},"keywords":["logging","javascript"],"author":{"name":"alu0101016733","email":"alu0101016733@ull.edu.es"},"licenses":[{"type":"MIT","url":"https://github.com/ULL-ESIT-PL-2021/espree-logging-module-alu0101016733/LICENSE-MIT"}],"bugs":{"url":"https://github.com/ULL-ESIT-PL-2021/espree-logging-module-alu0101016733/issues"},"homepage":"https://github.com/ULL-ESIT-PL-2021/espree-logging-module-alu0101016733#readme","devDependencies":{"chai":"^4.3.3","documentation":"^13.1.1","mocha":"^8.3.0","nyc":"^15.1.0"},"dependencies":{"commander":"^7.1.0","escodegen":"^1.14.3","espree":"^7.3.1","estraverse":"^5.2.0"},"gitHead":"171b1f9c9aa65059bbe0a8ad625b675cd4fdc1e5","_id":"@alu0101016733/add-logging@1.0.0","_nodeVersion":"15.9.0","_npmVersion":"7.5.3","dist":{"integrity":"sha512-pqzcoXlItSd3YflJOXrWYPu9CUbP/sDUIFYOhJ4XoXJ3r4KvN64biQ3C66OecUXVodYpEkgs89ckIMiUMUpasg==","shasum":"4c94ab2c1fbe762341816372172c346ce86217cd","tarball":"https://registry.npmjs.org/@alu0101016733/add-logging/-/add-logging-1.0.0.tgz","fileCount":32,"unpackedSize":1573568,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgQjYzCRA9TVsSAnZWagAAX4MP/34GBInklZmBenLmmiHE\nn+oNwKqFHrzaL/4hDwkOsH5Ebmbabh8x+FJBbc6fnYVMeC9j5o++4n9oSxkP\nTC4Bfjazx+At3f9MEMRS+I6GrD96Wm/oI4qNuvRgyeCVEmlhmyJrKuAbqSTv\nnrv4ZD6HYk+ExsiB5UicnxnKOt7ejVfLwkMoNAjaJ6zmCpYzDp5iBN818kFh\ntWQtY0Npbe5a3vE3JPZkIIBmisYIhrojeus6+Z+almCMRFMV7pH127sjKjqZ\n7xEQ/0DbH/AuxOdkHp2KFNebsuPZxlyR2ddbYrJULob+xwbgyjga1uX21vDv\n3rK7cVUER6v2r8jkFAjSNRPX+cljgS48b6IY30Z6/lHhfdyW1/Vc8ODBeP97\neWDHN5VxMUaBGyzi+QlIwjXdUpgpfhZOQg1T9ikdhQcksQHwF8OA0/oyp6cV\noTNeu2rWYBPLRUcO1c3u8u08iURql6GuuB9m+XWjKliD94UGCTbNwLQPXFxm\nkfuFHam++RYCEncTU4xkf9vlzf6rtIHS/A5Hrkj2hGcuzZGph3jXewTu5XPX\njSNdiL8bFniMy56F1M3NqdAAbHWUyyWXoKESJzhxy5Cz6rH+PVb/2kM0ccNo\neBQApEaEtQdIeMUH6t7NqavpEaHq99pv/S7kFsLLyc9XOFXwckP7HrKOT2iM\na2lT\r\n=Bjew\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCi/RwFjOkHGWtm6+cysF3WHMc5iM5vsGmmOA/N40tuiwIgTjYPSIj+NilCGuwRwsAOawdnC3yD0AOEUfvISuy1gSA="}]},"_npmUser":{"name":"alu0101016733","email":"alu0101016733@ull.edu.es"},"directories":{},"maintainers":[{"name":"alu0101016733","email":"alu0101016733@ull.edu.es"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/add-logging_1.0.0_1614951987210_0.7509096844288472"},"_hasShrinkwrap":false},"1.0.1":{"name":"@alu0101016733/add-logging","version":"1.0.1","description":"Adds logging code to javascript code functions","main":"src/add-logging.js","scripts":{"test":"mocha --reporter spec","doc":"documentation build src/add-logging.js -f html -o docs","docmd":"documentation build src/add-logging.js -f md > doc.md","serve-doc":"http-server docs/ -o","coverage":"nyc npm run test"},"repository":{"type":"git","url":"git+https://github.com/ULL-ESIT-PL-2021/espree-logging-module-alu0101016733.git"},"bin":{"add-logging":"bin/add-logging.js"},"keywords":["logging","javascript"],"author":{"name":"alu0101016733","email":"alu0101016733@ull.edu.es"},"licenses":[{"type":"MIT","url":"https://github.com/ULL-ESIT-PL-2021/espree-logging-module-alu0101016733/LICENSE-MIT"}],"bugs":{"url":"https://github.com/ULL-ESIT-PL-2021/espree-logging-module-alu0101016733/issues"},"homepage":"https://github.com/ULL-ESIT-PL-2021/espree-logging-module-alu0101016733#readme","devDependencies":{"chai":"^4.3.3","documentation":"^13.1.1","mocha":"^8.3.0","nyc":"^15.1.0"},"dependencies":{"commander":"^7.1.0","escodegen":"^1.14.3","espree":"^7.3.1","estraverse":"^5.2.0"},"gitHead":"5b706b731c8e080f8a487cfc3f7591769d1f0d30","_id":"@alu0101016733/add-logging@1.0.1","_nodeVersion":"15.9.0","_npmVersion":"7.5.3","dist":{"integrity":"sha512-3VU8RFIkMYG+xuqzd6ZycMKPXV5ymizVwD2NO57i5ssFHa3v9LrDB0R8V8ScMnmKr2UMhNB+mcv5UTOC+LlYlw==","shasum":"987c6bd3e45b473558f4b982426b74c396ce5f1e","tarball":"https://registry.npmjs.org/@alu0101016733/add-logging/-/add-logging-1.0.1.tgz","fileCount":33,"unpackedSize":1573997,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgSzWKCRA9TVsSAnZWagAAjWQP/jLrF6rItzCgZHnv/R1o\n+we6v2vhU2Kd2dUvOcZGpSdAJ9joSTQufdUB326+tIVJTa8SsXBF4qLJAb5u\nfw40mCHJX6ejZudgPz2Er+ioJtdcaNPzIJ9LeDWfexV0dWTyNSMlMzJvcGlQ\nGyAnE8h7y4HFH+xwF/gZM3F2C35rSEe8Tzy3bosSav31YFk4fWCTeETRcZCH\nhXBu7RgmvMNgdsQoQXf96Ueip0z7Q+i2XV1X3oN9K3EvNuheHzgVZSmyP3uU\nqYzOgRStezFgBUAre0SGaHlBJ+UbmRVqrXvG/cLtTtJodFw8kEjUDXUrpsKG\nx4jJlsHDXSGHSUMyzlm7yd10WMVUwlkQfi9Zay2q/mmyeeTMEwelEAPDNwXu\nBMfLAqEnSuFmZhrTEwZYZJxYphiFK7Ur6AkCF0Gzi8EoX5qY8Ag0ZkRlofiJ\nsm3/1AocUW7WyujF/I4unZNwnCZwKbVgtiyKi8XAWYHvZ5TFFFqXzUiV5pSW\nEMM7SAo35LACGCLxfG4CuKMPw4GpbIQRbMsCycdSjs2Zqz0kQ10GAFjUZtZR\njOGNS1zqz61NZoBBFYeGJJtleSxsHj5o6X0HjwSPVqKo9qPf8QQ7AnAH8LRi\nAO2uXzMXqiZyKt1HyeWcWVhRaDJgP1JEFezyD1dSZphhpEHwknWfklRcz1VM\nmxh8\r\n=HCou\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDtZE6TiPAKSbuwtbyVpy62L1UdwrGbBWLx4ESZEwGy9AiEAjD8arY1hGFOTO6A/Gm9kMZI8gpPoe5Mb/NE7fpbUmBE="}]},"_npmUser":{"name":"alu0101016733","email":"alu0101016733@ull.edu.es"},"directories":{},"maintainers":[{"name":"alu0101016733","email":"alu0101016733@ull.edu.es"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/add-logging_1.0.1_1615541642004_0.15880708774490016"},"_hasShrinkwrap":false}},"time":{"created":"2021-03-05T09:06:24.808Z","0.1.1":"2021-03-05T09:06:25.046Z","modified":"2022-04-04T13:40:57.842Z","0.2.0":"2021-03-05T12:48:01.777Z","1.0.0":"2021-03-05T13:46:27.540Z","1.0.1":"2021-03-12T09:34:02.236Z"},"maintainers":[{"name":"alu0101016733","email":"alu0101016733@ull.edu.es"}],"description":"Adds logging code to javascript code functions","homepage":"https://github.com/ULL-ESIT-PL-2021/espree-logging-module-alu0101016733#readme","keywords":["logging","javascript"],"repository":{"type":"git","url":"git+https://github.com/ULL-ESIT-PL-2021/espree-logging-module-alu0101016733.git"},"author":{"name":"alu0101016733","email":"alu0101016733@ull.edu.es"},"bugs":{"url":"https://github.com/ULL-ESIT-PL-2021/espree-logging-module-alu0101016733/issues"},"readme":"## add-logging\n#### Author: alu0101016733\n#### Email: alu0101016733@ull.edu.es\nadd-logging is a mudule to add logs to javascript code at the beginning of each function to better see what is happening in execution time.\n\n## Installation\n\n### Local installation\n\n```console\nuser@user:~$ npm install @alu0101016733/add-logging --save\n```\n\n### Global installation\n\n```console\nuser@user:~$ npm install -g @alu0101016733/add-logging\n```\n\n## Using the executable:\n\nWhen installed Locally we would run it with \n\n```console\nnpm exec path_to_bin\n```\n\nElse we run it with add-logging.\n\nExpects .js files to add logs to.\n\n```console\nUsage: add-logging [options] <filename> [...]\n\nOptions:\n  -V, --version            output the version number\n  -p, --pattern <pattern>  to match function pattern\n  -o, --output <filename>  Output filepath\n  -h, --help               display help for command\n```\n\n## Usage:\n\nIn the code implementation the addLogging module expects the program in string form.\n\n```javascript\nconst addLogging = require('@alu0101016733/add-logging');\n\n//call function with string\n//example call:\naddLogging('function function1(data){}');\n\n// Expected Output:\n// function fan1(data) {\n//    console.log(`Entering fan1(${ data }) at line 2`);\n// }\n```\n\n## Release History\n* 0.1.0 alpha release\n* 0.1.1 Minor changes in beta version\n* 0.2.0 Added pattern option\n* 1.0.0 First Beta release","readmeFilename":"README.md"}