{"_id":"parseiro","_rev":"49-4b75cfc65e33e5b4addd8d268f921d3d","name":"parseiro","description":"Parses the variables in the HTML file, converting them into values.","dist-tags":{"latest":"1.1.4"},"versions":{"1.0.0":{"name":"parseiro","version":"1.0.0","description":"Parse links on an HTML file, replacing variables with values.","main":"parse.js","keywords":["html-parser","parseiro","node","npm"],"dependencies":{},"repository":{"type":"git","url":"https://github.com/AlessandroDias/html-parser"},"author":{"name":"Alessandro Dias"},"license":"MIT","gitHead":"2f1454b51a6e34c42f39abc1552ba2ac17ba14fc","bugs":{"url":"https://github.com/AlessandroDias/html-parser/issues"},"homepage":"https://github.com/AlessandroDias/html-parser","_id":"parseiro@1.0.0","scripts":{},"_shasum":"c9580443f4fe4fd40f54ca562eebab88544d80dc","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"alessandrodias","email":"ale.dias@hotmail.com.br"},"maintainers":[{"name":"alessandrodias","email":"ale.dias@hotmail.com.br"}],"dist":{"shasum":"c9580443f4fe4fd40f54ca562eebab88544d80dc","tarball":"https://registry.npmjs.org/parseiro/-/parseiro-1.0.0.tgz","integrity":"sha512-qg+N9/d2TkmHiyIQaTNa/gp54XGDh6aNlq2eOWp/qH6MeBuHtGNvEiMw3J55Hjz2Xq9Qxh/cZtQQESHNV/S4Bg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBBNWy6+zTSP/2PCTPCEVB5y3SSdEZ7a8QTHDqO6Fgl9AiBmKFJqyJowtl+cwDTJrATzuy+beWd3QEhvwdDCLdulTg=="}]}},"1.0.1":{"name":"parseiro","description":"Parse links on an HTML file, replacing variables with values.","version":"1.0.1","main":"./lib/parseiro","bin":{"parseiro":"./bin/parseiro"},"keywords":["html-parser","parseiro","node","npm"],"dependencies":{},"repository":{"type":"git","url":"https://github.com/AlessandroDias/html-parser"},"author":{"name":"Alessandro Dias"},"license":"MIT","gitHead":"2f1454b51a6e34c42f39abc1552ba2ac17ba14fc","bugs":{"url":"https://github.com/AlessandroDias/html-parser/issues"},"homepage":"https://github.com/AlessandroDias/html-parser","_id":"parseiro@1.0.1","scripts":{},"_shasum":"9337b9a889c8bd1a87253133a6c439460fe5bc20","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"alessandrodias","email":"ale.dias@hotmail.com.br"},"maintainers":[{"name":"alessandrodias","email":"ale.dias@hotmail.com.br"}],"dist":{"shasum":"9337b9a889c8bd1a87253133a6c439460fe5bc20","tarball":"https://registry.npmjs.org/parseiro/-/parseiro-1.0.1.tgz","integrity":"sha512-hdGwSyVKbdVGohOhRbmVR2aHbXCeBnuEMgntevZoay6G3CGLb5ASOe0BYVgxe4BGVQBjadC8ZO0LhjUv46uuRA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC1SAAHm3JleRa35jHaFXuT4EFXdEEKD1jg4wLq+L813gIhAJ8DE+9SgLjg9yRK529kSva1QtOyEVoMgWJKWJrMNkWX"}]}},"1.0.2":{"name":"parseiro","description":"Parses the variables in the HTML file, converting them into values.","version":"1.0.2","main":"./lib/parseiro","bin":{"parseiro":"./bin/parseiro"},"keywords":["parseiro","html-parser","node","npm"],"dependencies":{},"repository":{"type":"git","url":"https://github.com/AlessandroDias/html-parser"},"author":{"name":"Alessandro Dias"},"license":"MIT","bugs":{"url":"https://github.com/AlessandroDias/html-parser/issues"},"homepage":"https://github.com/AlessandroDias/html-parser","_id":"parseiro@1.0.2","scripts":{},"_shasum":"c02ce76ac6a90f228fdebbd14d4211fb6894be98","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"alessandrodias","email":"ale.dias@hotmail.com.br"},"maintainers":[{"name":"alessandrodias","email":"ale.dias@hotmail.com.br"}],"dist":{"shasum":"c02ce76ac6a90f228fdebbd14d4211fb6894be98","tarball":"https://registry.npmjs.org/parseiro/-/parseiro-1.0.2.tgz","integrity":"sha512-MAAsZPfsSJPUth8c6yPCIOgDBv6gko0GVUMpgiehhRkQ85XQ3Zk/sBhoyKd4XR/6vln41StLk2rw5y6QdbJ13g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC0tBmRL16SMmjLp0pqILwQRUpsKVwhJjxyhGQaYBURzAiAgDJbiz+gfPENus8qV87bM0TG1RcCqnQU4XdiTxFesoQ=="}]}},"1.0.4":{"name":"parseiro","description":"Parses the variables in the HTML file, converting them into values.","version":"1.0.4","main":"./lib/parseiro","bin":{"parseiro":"./bin/parseiro"},"engines":{"node":"*"},"keywords":["parseiro","html-parser","node","npm"],"dependencies":{},"repository":{"type":"git","url":"https://github.com/AlessandroDias/html-parser"},"author":{"name":"Alessandro Dias"},"license":"MIT","bugs":{"url":"https://github.com/AlessandroDias/html-parser/issues"},"homepage":"https://github.com/AlessandroDias/html-parser","_id":"parseiro@1.0.4","scripts":{},"_shasum":"4c44deec25f6679b84dfd8f14ac2a98350ebedbc","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"alessandrodias","email":"ale.dias@hotmail.com.br"},"maintainers":[{"name":"alessandrodias","email":"ale.dias@hotmail.com.br"}],"dist":{"shasum":"4c44deec25f6679b84dfd8f14ac2a98350ebedbc","tarball":"https://registry.npmjs.org/parseiro/-/parseiro-1.0.4.tgz","integrity":"sha512-achHOwlECFhziwr6MLsnAkl0bjXzjAVh+OFy8sZ7nD2BtA/aMVL57AxZ8bi14U6I4xf8nX8RC3LFo5sWBvqrkQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTASaxJNnaP2/fwmcOpC2qiRKk7wVJS+okket8l3reXQIhANSUpt3GbOshQhnms9xLwc7SjnAZGki1AtBBQW6Wy4rT"}]}},"1.0.5":{"name":"parseiro","description":"Parses the variables in the HTML file, converting them into values.","version":"1.0.5","main":"./lib/parseiro","engines":{"node":"*"},"keywords":["parseiro","html-parser","node","npm"],"dependencies":{},"repository":{"type":"git","url":"https://github.com/AlessandroDias/html-parser"},"author":{"name":"Alessandro Dias"},"license":"MIT","bugs":{"url":"https://github.com/AlessandroDias/html-parser/issues"},"homepage":"https://github.com/AlessandroDias/html-parser","_id":"parseiro@1.0.5","scripts":{},"_shasum":"2ea32ccd2c1121fba499248a4a6b8730661c7bf2","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"alessandrodias","email":"ale.dias@hotmail.com.br"},"maintainers":[{"name":"alessandrodias","email":"ale.dias@hotmail.com.br"}],"dist":{"shasum":"2ea32ccd2c1121fba499248a4a6b8730661c7bf2","tarball":"https://registry.npmjs.org/parseiro/-/parseiro-1.0.5.tgz","integrity":"sha512-AGlUdmIiPTv9fwogbHn/5VM8r9mPNWNwk0S54yJU77zzJypoyTJGp1czo3J/YeLRM3mLUCdwRA3m11MTOT7RVA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJzIrhIfL9/XOfz1MsUAgiQw2TSukwdSegKwAdtVP3MQIhAM6JxNqoupApc/GFZaAznjBDMV6E6D/jnDBD7ullmFAK"}]}},"1.0.6":{"name":"parseiro","description":"Parses the variables in the HTML file, converting them into values.","version":"1.0.6","main":"./lib/parseiro","bin":{"parseiro":"./bin/parseiro"},"engines":{"node":"*"},"keywords":["parseiro","html-parser","node","npm"],"dependencies":{},"repository":{"type":"git","url":"https://github.com/AlessandroDias/html-parser"},"author":{"name":"Alessandro Dias"},"license":"MIT","bugs":{"url":"https://github.com/AlessandroDias/html-parser/issues"},"homepage":"https://github.com/AlessandroDias/html-parser","_id":"parseiro@1.0.6","scripts":{},"_shasum":"42500577b81b3da6ca22d19d0d99eb1263ebec4b","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"alessandrodias","email":"ale.dias@hotmail.com.br"},"maintainers":[{"name":"alessandrodias","email":"ale.dias@hotmail.com.br"}],"dist":{"shasum":"42500577b81b3da6ca22d19d0d99eb1263ebec4b","tarball":"https://registry.npmjs.org/parseiro/-/parseiro-1.0.6.tgz","integrity":"sha512-H34xgoYlU5sm80+vXKz+enEMn3kIKnuRemY3cEtBFp38kPZRcarh4arsZU9EwKjgxcnBkpuMsEwXtm7gb2QnmA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDKUFL/hzkeKBzCtQ8Z4QBdp1Mx5l+kuT9kvFCw7woJ8wIhAORMkbGYQB0i/YQ7phBoA3bo7f2BmFNa4o0SYEpv5r8N"}]}},"1.0.9":{"name":"parseiro","description":"Parses the variables in the HTML file, converting them into values.","version":"1.0.9","main":"lib/parseiro","bin":{"parseiro":"lib/parseiro"},"preferGlobal":"true","engines":{"node":"*"},"keywords":["parseiro","html-parser","node","npm"],"dependencies":{},"repository":{"type":"git","url":"https://github.com/AlessandroDias/html-parser"},"author":{"name":"Alessandro Dias"},"license":"MIT","bugs":{"url":"https://github.com/AlessandroDias/html-parser/issues"},"homepage":"https://github.com/AlessandroDias/html-parser","_id":"parseiro@1.0.9","scripts":{},"_shasum":"92b3bc0c6cdbc85c067b3f4372324b0c7de29aeb","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"alessandrodias","email":"ale.dias@hotmail.com.br"},"maintainers":[{"name":"alessandrodias","email":"ale.dias@hotmail.com.br"}],"dist":{"shasum":"92b3bc0c6cdbc85c067b3f4372324b0c7de29aeb","tarball":"https://registry.npmjs.org/parseiro/-/parseiro-1.0.9.tgz","integrity":"sha512-rWil0+/I/PFSjiHITMbSBBumdQz2UNlzKrJMTgJjZivmrVeiblMIOh9Nh6fTa95epDEvQeyXBT+5VcSSMTToNw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFMkaDNTQzx3IdrTPcPVVa71DcPCoEIUku3yz2XSS1LfAiEAyfAliiHcZMHC6nEMyIP3vfNOp3za9YCMyn5qftveBI4="}]}},"1.1.4":{"name":"parseiro","description":"Parses the variables in the HTML file, converting them into values.","version":"1.1.4","main":"lib/parseiro","bin":{"parseiro":"lib/parseiro.js"},"preferGlobal":"true","engines":{"node":"*"},"keywords":["parseiro","html-parser","node","npm"],"dependencies":{},"repository":{"type":"git","url":"https://github.com/AlessandroDias/html-parser"},"author":{"name":"Alessandro Dias"},"license":"MIT","bugs":{"url":"https://github.com/AlessandroDias/html-parser/issues"},"homepage":"https://github.com/AlessandroDias/html-parser","_id":"parseiro@1.1.4","scripts":{},"_shasum":"b505992bc5d907cc30b1816725a4c6e53328027e","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"alessandrodias","email":"ale.dias@hotmail.com.br"},"maintainers":[{"name":"alessandrodias","email":"ale.dias@hotmail.com.br"}],"dist":{"shasum":"b505992bc5d907cc30b1816725a4c6e53328027e","tarball":"https://registry.npmjs.org/parseiro/-/parseiro-1.1.4.tgz","integrity":"sha512-nHWE7mlCoqHQKxJKYuqTZskY/LwyYLr4r9vdSxUrYdhyMjqAMBq6wZuhaZF4WgHrfZSs+OIwyk0tuUaWoDFVPQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5JAxBLWWFBt87Zgxjx0zcJWgMuyVelKSyCM6rl/H1jgIgDGfsmpKb9ZxN9nlw70HZ5PXmJoHw9w9yVY7jvG6zFGk="}]}}},"readme":"HTML Parser\r\n======================\r\n\r\nParse links on an *HTML* file, replacing variables with values.\r\n\r\n======================\r\n### Example: ###\r\n\r\nIn this example, we will replace all variables with their respective values, set in the **config.json**.\r\n\r\n  > `<a href=\"#{first-link}\">First link</a>`\r\n\r\n  > `<a href=\"#{second-link}\">Any other link</a>`\r\n\r\n  > `<img src=\"#{highlight-image}\" alt=\"This is my Awesome image!\">`\r\n\r\n  > `<p>#{cool-text}</p>`\r\n\r\nThe **config.json** file for this example would look like this:\r\n\r\n```json\r\n{\r\n    \"file_name\": \"index.html\",\r\n    \"links\": [\r\n        { \"first-link\"      : \"http://www.google.com\" },\r\n        { \"second-link\"     : \"http://nodejs.org\" },\r\n        { \"highlight-image\" : \"http://lorempixel.com/400/200/animals\" },\r\n        { \"cool-text\"       : \"Lorem ipsum dolor sit amet, consectetur adipisicing elit.\" }\r\n    ]\r\n}\r\n```\r\n*Don't forget to change the value of the  __\"file_name\"__ key!!*\r\n\r\n\r\n======================\r\n### Installation & Usage: ###\r\n\r\n1. Download the *.zip* file from github\r\n2. Extract it anywhere you want\r\n3. Copy the *html* file that you want to replace the variables into the root of the folder you have extracted it\r\n4. Configure the **file_name** and the **links variable keys** in the *config.json*\r\n5. Run the command **node parse.js** from your prompt/terminal\r\n6. That's it! Your parsed file will be placed at the output folder\r\n\r\n======================\r\n### Requirements: ###\r\n\r\nThe only requirement is that you have **[node.js](http://nodejs.org/)** installed on your system.\r\n\r\n======================\r\n### Contribute Please!! ###\r\n\r\nLeave your comments, doubts, opinions!\r\nThanks for using it!\r\n\r\nMade with ♥ by [Alessandro Dias](https://www.facebook.com/ale.bruno.dias).\r\n","maintainers":[{"name":"alessandrodias","email":"ale.dias@hotmail.com.br"}],"time":{"modified":"2022-06-23T11:26:01.873Z","created":"2014-09-10T16:56:56.044Z","1.0.0":"2014-09-10T16:56:56.044Z","1.0.1":"2014-09-10T17:03:26.557Z","1.0.2":"2014-09-10T17:14:42.722Z","1.0.3":"2014-09-10T17:30:38.114Z","1.0.4":"2014-09-10T17:41:00.105Z","1.0.5":"2014-09-10T17:45:36.966Z","1.0.6":"2014-09-10T17:53:32.847Z","1.0.7":"2014-09-10T18:03:06.268Z","1.0.8":"2014-09-10T19:22:32.244Z","1.0.9":"2014-09-10T19:38:27.953Z","1.1.0":"2014-09-10T19:46:19.786Z","1.1.1":"2014-09-10T19:50:26.477Z","1.1.2":"2014-09-10T19:52:06.644Z","1.1.3":"2014-09-10T19:53:27.554Z","1.1.4":"2014-09-10T19:57:07.240Z"},"homepage":"https://github.com/AlessandroDias/html-parser","keywords":["parseiro","html-parser","node","npm"],"repository":{"type":"git","url":"https://github.com/AlessandroDias/html-parser"},"author":{"name":"Alessandro Dias"},"bugs":{"url":"https://github.com/AlessandroDias/html-parser/issues"},"license":"MIT","readmeFilename":"README.md","users":{"alessandrodias":true}}