{"_id":"@alu0100909678/oop","_rev":"4-aa45d6b6830f3c270626a66a0ab31253","name":"@alu0100909678/oop","dist-tags":{"latest":"1.3.0"},"versions":{"1.0.0":{"name":"@alu0100909678/oop","version":"1.0.0","description":"examples of inheritance in object oriented programming.","scripts":{"start":"NODE_PATH=./src node src/main.js","cover":"NODE_PATH=./src nyc mocha --require should","test":"NODE_PATH=./src mocha --require should"},"repository":{"type":"git","url":"git+ssh://git@github.com/ULL-ESIT-GRADOII-PL/OOP.git"},"keywords":["js","inheritance","travis","istanbul"],"author":{"name":"alu0100909678"},"license":"MIT","bugs":{"url":"https://github.com/ULL-ESIT-GRADOII-PL/OOP/issues"},"homepage":"https://github.com/ULL-ESIT-GRADOII-PL/OOP/blob/structure/README.md","devDependencies":{"better-assert":"^1.0.2","coveralls":"^3.0.0","gulp":"^3.9.1","gulp-shell":"^0.6.3","istanbul":"^0.4.5","istanbul-cobertura-badger":"^1.3.1","mocha":"^3.5.3","nyc":"^11.4.1","should":"^13.0.1"},"engines":{"node":">= 6.x"},"main":"gulpfile.js","directories":{"test":"test"},"dependencies":{},"gitHead":"090df87d47d6eeec9e41c50306626ab99773b246","_id":"@alu0100909678/oop@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"alu0100909678","email":"alu0100909678@ull.edu.es"},"dist":{"integrity":"sha512-zCJjxHOevuC2UvxPHkaS7DkuPkH0o7zOp7oPvSJ2gnaBQ3scok19YdiRuEwZUkaWZ4/ucRoMtzIYTWeGwLg9UA==","shasum":"dca22d9851095adb1cdc57b99cb639d7efecf721","tarball":"https://registry.npmjs.org/@alu0100909678/oop/-/oop-1.0.0.tgz","fileCount":24,"unpackedSize":71381,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDAwqUUmh59A17W0OkbPvoTq+Repz3ALUE83Y6tvapC4AIgShmcNoa4OHipBZU6+RXgR9kzzh/hTPQ161NxAKy8TKw="}]},"maintainers":[{"name":"alu0100909678","email":"alu0100909678@ull.edu.es"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oop_1.0.0_1519924546612_0.15263506158204598"},"_hasShrinkwrap":false},"1.2.0":{"name":"@alu0100909678/oop","version":"1.2.0","description":"examples of inheritance in object oriented programming.","scripts":{"start":"NODE_PATH=./src node src/main.js","cover":"NODE_PATH=./src nyc mocha --require should","test":"NODE_PATH=./src mocha --require should"},"repository":{"type":"git","url":"git+ssh://git@github.com/ULL-ESIT-GRADOII-PL/OOP.git"},"keywords":["js","inheritance","travis","istanbul"],"author":{"name":"alu0100909678"},"license":"MIT","bugs":{"url":"https://github.com/ULL-ESIT-GRADOII-PL/OOP/issues"},"homepage":"https://github.com/ULL-ESIT-GRADOII-PL/OOP/blob/structure/README.md","devDependencies":{"better-assert":"^1.0.2","coveralls":"^3.0.0","gulp":"^3.9.1","gulp-shell":"^0.6.3","istanbul":"^0.4.5","istanbul-cobertura-badger":"^1.3.1","jsdoc":"^3.5.5","mocha":"^3.5.3","nyc":"^11.4.1","should":"^13.0.1"},"engines":{"node":">= 6.x"},"main":"gulpfile.js","directories":{"test":"test"},"dependencies":{},"gitHead":"af30d3d060bc4365f378302bbecfae5db25291e4","_id":"@alu0100909678/oop@1.2.0","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"alu0100909678","email":"alu0100909678@ull.edu.es"},"dist":{"integrity":"sha512-wDxSCtPMqp7Xx+h6doC/takfGDdqfXjKHUOiTy1A1lNKsjf9t0oW1PVIu0ZvrpeYC+5sGgARDeVRQV4U54unYg==","shasum":"bda3967a39a56bfa7b82c3f35eab71212484493c","tarball":"https://registry.npmjs.org/@alu0100909678/oop/-/oop-1.2.0.tgz","fileCount":60,"unpackedSize":1118884,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCjjFXdQT2WyYANED3WX+xwKK2j7KwrqyhQulL65aRa/gIgKDEt5zV+bA9A4tFQRQv8YR3AiLSSP8hF6bkxRxdNm/k="}]},"maintainers":[{"name":"alu0100909678","email":"alu0100909678@ull.edu.es"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oop_1.2.0_1519930148536_0.931112228944182"},"_hasShrinkwrap":false},"1.3.0":{"name":"@alu0100909678/oop","version":"1.3.0","description":"examples of inheritance in object oriented programming.","scripts":{"start":"NODE_PATH=./src node src/main.js","cover":"NODE_PATH=./src nyc mocha --require should","test":"NODE_PATH=./src mocha --require should"},"repository":{"type":"git","url":"git+https://github.com/ULL-ESIT-PL-1718/npm-modules-alu0100909678.git"},"keywords":["js","inheritance","travis","istanbul"],"author":{"name":"alu0100909678"},"license":"MIT","bugs":{"url":"https://github.com/ULL-ESIT-GRADOII-PL/OOP/issues"},"homepage":"https://github.com/ULL-ESIT-GRADOII-PL/OOP/blob/structure/README.md","devDependencies":{"better-assert":"^1.0.2","coveralls":"^3.0.0","gulp":"^3.9.1","gulp-shell":"^0.6.3","istanbul":"^0.4.5","istanbul-cobertura-badger":"^1.3.1","jsdoc":"^3.5.5","mocha":"^3.5.3","nyc":"^11.4.1","should":"^13.0.1"},"engines":{"node":">= 6.x"},"main":"gulpfile.js","directories":{"test":"test"},"dependencies":{},"gitHead":"af30d3d060bc4365f378302bbecfae5db25291e4","_id":"@alu0100909678/oop@1.3.0","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"alu0100909678","email":"alu0100909678@ull.edu.es"},"dist":{"integrity":"sha512-1EAcYmBzCHEOCZnEQuzgTGPUNHgpcBxOgqk4C3lmSB4GeUuV5JBl48Wvf9Gdf5AjRcSyrqkjcGx+WUEoIqy5mA==","shasum":"9ea80ac176122cf364adf1cdcf04900e78c2a2f1","tarball":"https://registry.npmjs.org/@alu0100909678/oop/-/oop-1.3.0.tgz","fileCount":60,"unpackedSize":1118897,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGbtazf8VHewBvQE5EMfNYLkyPSF13d6qo+oXuiiGifgAiEA7F6eUSb3U+re+PjCzYYkd7mpK0uhIBYESyZAfsUiH9Y="}]},"maintainers":[{"name":"alu0100909678","email":"alu0100909678@ull.edu.es"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oop_1.3.0_1519930445447_0.8173100729038054"},"_hasShrinkwrap":false}},"time":{"created":"2018-03-01T17:15:46.554Z","1.0.0":"2018-03-01T17:15:46.797Z","modified":"2022-04-04T13:40:53.302Z","1.2.0":"2018-03-01T18:49:08.683Z","1.3.0":"2018-03-01T18:54:05.748Z"},"maintainers":[{"name":"alu0100909678","email":"alu0100909678@ull.edu.es"}],"description":"examples of inheritance in object oriented programming.","homepage":"https://github.com/ULL-ESIT-GRADOII-PL/OOP/blob/structure/README.md","keywords":["js","inheritance","travis","istanbul"],"repository":{"type":"git","url":"git+https://github.com/ULL-ESIT-PL-1718/npm-modules-alu0100909678.git"},"author":{"name":"alu0100909678"},"bugs":{"url":"https://github.com/ULL-ESIT-GRADOII-PL/OOP/issues"},"license":"MIT","readme":"## Eloquent JavaScript. Chapter 6: The Secret Life of Objects.  Section *Laying out a table*\n\n## Richard Morales Luis.\n\n## Clase StretchCell.\n> Se ha incluido la clase StrechCell mediante la cual podemos añadir a nuestra tabla celdas interiores.\n> Los objetos creados con esta clase deben incorporar la celda que queremos que contenga, su ancho y alto por defecto.\n\n\n\n### Badge Travys rama master.\n[![Build Status](https://travis-ci.com/ULL-ESIT-PL-1718/oop-alu0100909678.svg?token=mzS1H7tYtMpqEpDMtcCZ&branch=master)](https://travis-ci.com/ULL-ESIT-PL-1718/oop-alu0100909678)\n\n### Publising npm\n> [![npm version](https://badge.fury.io/js/%40alu0100909678%2Foop.svg)](https://badge.fury.io/js/%40alu0100909678%2Foop)\n\n\n#### Introduction\nExample corresponds to the section **Laying out a table** of Chapter 6 **[The Secret Life of Objects](http://eloquentjavascript.net/06_object.html)**, book **[Eloquent javaScript](http://eloquentjavascript.net/)**\n\n#### Files:\n```\npackage.json          - configuration and dependencies\n\ngulpfile.js           - test: run mocha tests\n                      - debugger: run the debbugger\n                      - run: run the program\n\nsrc                   - source folder\n  input.json          - input file\n  main.js             - main program\n  Cell.js             - class cell\n  RCell.js            - class rcell\n  UnderlinedCell.js   - class underlinedcell\n  Table.js            - class table\n\ntest                  - mocha test\n  test.js\n```\n\n#### Description\nThis example consist in a program that, given an array of arrays of table cells in json format, builds up a string that contains a nicely laid out table.\n\nThe *src* folder has the input file and the different classes, the main, all types of cell and the table. Also, in the *test* folder has the file the file with the developed tests.\n\n**Example of input used:**\n```javascript\n~/ejs-chapter-6-oop-KevMCh $ cat src/input.json\n\n[\n  {\"name\": \"Kilimanjaro\\nMontaña mágica\", \"height\": 5895, \"country\": \"Tanzania\"},\n  {\"name\": \"Everest\", \"height\": 8848, \"country\": \"Nepal\\nPaís lejano\"},\n  {\"name\": \"Mount Fuji\", \"height\": 3776, \"country\": \"Japan\"},\n  {\"name\": \"Mont Blanc\", \"height\": 4808, \"country\": \"Italy/France\"},\n  {\"name\": \"Vaalserberg\", \"height\": 323, \"country\": \"Netherlands\"},\n  {\"name\": \"Denali\", \"height\": 6168, \"country\": \"United States\"},\n  {\"name\": \"Popocatepetl\", \"height\": 5465, \"country\": \"Mexico\"}\n]\n```\n\nIf you want to run the code the different tasks is available in the gulp file.\n\n  * Run the program with the debugger.\n  * Run the program with the standard input.\n  * Run the tests.\n\n**Final result:**\n```javascript\n~/ejs-chapter-6-oop-KevMCh $ gulp run\n[12:42:05] Using gulpfile ~/Desktop/ejs-chapter-6-oop-KevMCh/gulpfile.js\n[12:42:05] Starting 'run'...\nname           height country      \n-------------- ------ -------------\nKilimanjaro      5895 Tanzania     \nMontaña mágica                     \nEverest          8848 Nepal        \n                      País lejano  \nMount Fuji       3776 Japan        \nMont Blanc       4808 Italy/France\nVaalserberg       323 Netherlands  \nDenali           6168 United States\nPopocatepetl     5465 Mexico       \n[12:42:05] Finished 'run' after 84 ms\n```\n","readmeFilename":"README.md"}