{"_id":"@abenezer-daniel/live-html","_rev":"4-1a4ccf7d95545139a239d3836856631c","name":"@abenezer-daniel/live-html","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"@abenezer-daniel/live-html","version":"1.0.0","keywords":["cli-tool","live-html","html-server","local-server","html-hot-reload","hot-reload"],"author":{"name":"abenezer-daniel"},"license":"ISC","_id":"@abenezer-daniel/live-html@1.0.0","maintainers":[{"name":"abenezer-daniel","email":"abenezerdanieldesalegn@gmail.com"}],"bin":{"live-html":"src/index.js"},"dist":{"shasum":"96d9ab393dda290dcd868fbecf69fde94c716cc0","tarball":"https://registry.npmjs.org/@abenezer-daniel/live-html/-/live-html-1.0.0.tgz","fileCount":10,"integrity":"sha512-dUx+jUZ4nSsPLM6Jj8g7Kx4VQ0+dmRaZzw022PGBK0MPmAyXVwkVvFs9uKGrwSl6OKIuyRnBuRDHPo3bYT6vow==","signatures":[{"sig":"MEUCIBvUj1u48l1pbzaP96s6LrfhpPToQ5oG7KIZP49Y6/inAiEA6nsfxaSD7garVZtguewgx6bG9177seqRNg7s0zDXxAU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6189},"main":"./src/index.js","gitHead":"88f8217c0aa0bc090055b3a7c156413a33d6149e","scripts":{"dev":"nodemon ."},"_npmUser":{"name":"abenezer-daniel","email":"abenezerdanieldesalegn@gmail.com"},"_npmVersion":"10.7.0","description":"A CLI tool to serve your HTML files locally with hot reload. It's like the Live Server extension for VS code but for the terminal.","directories":{},"_nodeVersion":"18.20.3","dependencies":{"express":"^4.19.2","chokidar":"^3.6.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/live-html_1.0.0_1724159167163_0.5652365818662735","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@abenezer-daniel/live-html","version":"1.0.1","keywords":["cli-tool","live-html","html-server","local-server","html-hot-reload","hot-reload"],"author":{"name":"abenezer-daniel"},"license":"ISC","_id":"@abenezer-daniel/live-html@1.0.1","maintainers":[{"name":"abenezer-daniel","email":"abenezerdanieldesalegn@gmail.com"}],"homepage":"https://github.com/Abenezer-Daniel-1/live-html#readme","bugs":{"url":"https://github.com/Abenezer-Daniel-1/live-html/issues"},"bin":{"live-html":"src/index.js"},"dist":{"shasum":"270ebf126cf807c5ae3df173855ffb1b9656e335","tarball":"https://registry.npmjs.org/@abenezer-daniel/live-html/-/live-html-1.0.1.tgz","fileCount":10,"integrity":"sha512-MIxyMmh2Eco8kkOmW51W3YhiYQs8wndxLb1v3r4wOSjiWX7y2ien5F+ahYy5xDkUYAeJtnERDG2pSLT0de5UOQ==","signatures":[{"sig":"MEUCIQD2C6VwohafA2kqhC7sdX3X/v7jDMcHbdlALo5wneym7QIgGy86KyilkBJgKb8gSRGJa+gKc1iNzyaVGxNNc8qxWtQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6302},"main":"./src/index.js","gitHead":"e016c66367ecd9947731083c1a38ce67a19cb991","scripts":{"dev":"nodemon ."},"_npmUser":{"name":"abenezer-daniel","email":"abenezerdanieldesalegn@gmail.com"},"repository":{"url":"git+https://github.com/Abenezer-Daniel-1/live-html.git","type":"git"},"_npmVersion":"10.7.0","description":"A CLI tool to serve your HTML files locally with hot reload. It's like the Live Server extension for VS code but for the terminal.","directories":{},"_nodeVersion":"18.20.3","dependencies":{"express":"^4.19.2","chokidar":"^3.6.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/live-html_1.0.1_1724159966206_0.13401336648065398","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@abenezer-daniel/live-html","version":"1.0.2","keywords":["cli-tool","live-html","html-server","local-server","html-hot-reload","hot-reload"],"author":{"name":"abenezer-daniel"},"license":"ISC","_id":"@abenezer-daniel/live-html@1.0.2","maintainers":[{"name":"abenezer-daniel","email":"abenezerdanieldesalegn@gmail.com"}],"homepage":"https://github.com/Abenezer-Daniel-1/live-html#readme","bugs":{"url":"https://github.com/Abenezer-Daniel-1/live-html/issues"},"bin":{"live-html":"src/index.js"},"dist":{"shasum":"0637d78b93a1b3532afd511e65c456ba5da465ea","tarball":"https://registry.npmjs.org/@abenezer-daniel/live-html/-/live-html-1.0.2.tgz","fileCount":10,"integrity":"sha512-EFaOz8QpJXcytxjdfG0krAYvVjSE2TSlNC4bZi9sgC7woYaEDQBJws6NyiWf9/yn39DJrZlj4tSbBPIO7Y7G4Q==","signatures":[{"sig":"MEQCIFjmg2fdb0/AzM7dDpmSBu6JDGhkf+NdFGyo1B21E0BCAiAxaETRwI9NvRpd+P5OJeaLYGamTUa0B43zQixNt/KE9Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6412},"main":"./src/index.js","gitHead":"7ef0f1e268105d3d00db006986d8a0fad50e6f54","scripts":{"dev":"nodemon ."},"_npmUser":{"name":"abenezer-daniel","email":"abenezerdanieldesalegn@gmail.com"},"repository":{"url":"git+https://github.com/Abenezer-Daniel-1/live-html.git","type":"git"},"_npmVersion":"10.7.0","description":"A CLI tool to serve your HTML files locally with hot reload. It's like the Live Server extension for VS code but for the terminal.","directories":{},"_nodeVersion":"18.20.3","dependencies":{"express":"^4.19.2","chokidar":"^3.6.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/live-html_1.0.2_1724161137819_0.7537638849270816","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@abenezer-daniel/live-html","version":"1.0.3","keywords":["cli-tool","live-html","html-server","local-server","html-hot-reload","hot-reload"],"author":{"name":"abenezer-daniel"},"license":"ISC","_id":"@abenezer-daniel/live-html@1.0.3","maintainers":[{"name":"abenezer-daniel","email":"abenezerdanieldesalegn@gmail.com"}],"homepage":"https://github.com/Abenezer-Daniel-1/live-html#readme","bugs":{"url":"https://github.com/Abenezer-Daniel-1/live-html/issues"},"bin":{"live-html":"src/index.js"},"dist":{"shasum":"7f7c8878a0c24a045a3858366c5e67457a7e5653","tarball":"https://registry.npmjs.org/@abenezer-daniel/live-html/-/live-html-1.0.3.tgz","fileCount":9,"integrity":"sha512-Yngv6XIyhqbXSxPfAkRwxV14/NF4rNqvDA69biW322IXhd7G2LOyCP1O2eV66Oz5NBr8syHCuog2CJfOmvNtAA==","signatures":[{"sig":"MEUCIQCsp2h8sbcTEzv5q+WlM4oA34HSgJwV3DPKiucv5FZw1AIgSuugn9yePwWj8k1qpElBUBNXOpdMBcf8ktTsyEZaiRw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6268},"main":"./src/index.js","gitHead":"0768c96fa54dc8bce900b395595bd7dc3102b493","scripts":{"dev":"nodemon ."},"_npmUser":{"name":"abenezer-daniel","email":"abenezerdanieldesalegn@gmail.com"},"repository":{"url":"git+https://github.com/Abenezer-Daniel-1/live-html.git","type":"git"},"_npmVersion":"10.7.0","description":"A CLI tool to serve your HTML files locally with hot reload. It's like the Live Server extension for VS code but for the terminal.","directories":{},"_nodeVersion":"18.20.3","dependencies":{"express":"^4.19.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/live-html_1.0.3_1724255284353_0.7181390540563934","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@abenezer-daniel/live-html","version":"1.1.0","description":"A CLI tool to serve your HTML files locally with hot reload. It's like the Live Server extension for VS code but for the terminal.","main":"./src/index.js","scripts":{"dev":"nodemon ."},"bin":{"live-html":"src/index.js"},"keywords":["cli-tool","live-html","html-server","local-server","html-hot-reload","hot-reload"],"author":{"name":"abenezer-daniel"},"license":"ISC","dependencies":{"express":"^4.19.2"},"repository":{"type":"git","url":"git+https://github.com/Abenezer-Daniel-1/live-html.git"},"_id":"@abenezer-daniel/live-html@1.1.0","gitHead":"da86fc45c9ae0ec4ac730ae81ebad2bbb80131a9","bugs":{"url":"https://github.com/Abenezer-Daniel-1/live-html/issues"},"homepage":"https://github.com/Abenezer-Daniel-1/live-html#readme","_nodeVersion":"18.20.3","_npmVersion":"10.7.0","dist":{"integrity":"sha512-1zn8nHDS4yYfw0CFX7+XjKG2VAet3qlptFK/A4GaK3L3+y8w+m4V4gRK//HAf6JFWvf52ay3nohVo+Z34BEcoA==","shasum":"272267a104cb8746ebf68f6210e6edf872ac631b","tarball":"https://registry.npmjs.org/@abenezer-daniel/live-html/-/live-html-1.1.0.tgz","fileCount":10,"unpackedSize":6812,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCroFuMqrz6K+B2vHJ+Eu6b6s44cW6DF+JQNNAdr4o/6gIgHl415XrXYkuqv3nXyW9rLJGKGIEtNIlgHPDTyGz1bxc="}]},"_npmUser":{"name":"abenezer-daniel","email":"abenezerdanieldesalegn@gmail.com"},"directories":{},"maintainers":[{"name":"abenezer-daniel","email":"abenezerdanieldesalegn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/live-html_1.1.0_1724316052821_0.27756461938530697"},"_hasShrinkwrap":false}},"time":{"created":"2024-08-20T13:06:07.068Z","modified":"2024-08-22T08:40:53.163Z","1.0.0":"2024-08-20T13:06:07.323Z","1.0.1":"2024-08-20T13:19:26.407Z","1.0.2":"2024-08-20T13:38:57.969Z","1.0.3":"2024-08-21T15:48:04.465Z","1.1.0":"2024-08-22T08:40:53.003Z"},"bugs":{"url":"https://github.com/Abenezer-Daniel-1/live-html/issues"},"author":{"name":"abenezer-daniel"},"license":"ISC","homepage":"https://github.com/Abenezer-Daniel-1/live-html#readme","keywords":["cli-tool","live-html","html-server","local-server","html-hot-reload","hot-reload"],"repository":{"type":"git","url":"git+https://github.com/Abenezer-Daniel-1/live-html.git"},"description":"A CLI tool to serve your HTML files locally with hot reload. It's like the Live Server extension for VS code but for the terminal.","maintainers":[{"name":"abenezer-daniel","email":"abenezerdanieldesalegn@gmail.com"}],"readme":"# Live HTML\n\nA simple lightweight CLI tool built as a Node JS package to be a direct substitute to the Live Server extension available in VS code.\n\nServe your HTML locally and with hot reload to increase your productivity by using Live HTML.\n\n## Quickstart\n\n**1. Install the package.**\n\nMake sure to install the package globally so that you can use it whenever you want, wherever you want without downloading it again and again.\n\n```shell\nnpm i -g @abenezer-daniel/live-html\n```\n\n**2. Move to your project folder.**\n\nOpen a terminal window where your current working directory is located.\n\n```shell\ncd path/to/your/project\n```\n\n**3. Launch the server 🚀**\n\nJust run the below commadn in your project directory to start the server.\n\n```shell\nlive-html\n```\n\n**You also have an option to input a specific port as shown below.**\n\nLaunch the server on a free port. Good options would be ports starting from 2000, 3000, 4000 and 5000.\n\nPlease make sure to follow the format below.\n\n```shell\nlive-html port-number\n```\n\n### Example\n```shell\nlive-html 5500\n```\n\n**4. Open the port in a browser and go to the path of your HTML file.**\n\nThe path of the server will be shown to you once you start the above command, you can either Ctrl + click the link or just enter it manually in user browser as shown below.\n\n```\nhttp://localhost:5500/path/to/your/file\n```\n\n### Example\n\nIf your HTML file is located in a path similar to this: pages/about.html. Then you would open the below URL in your browser.\n\n```\nhttp://localhost:5500/pages/about.html\n```\n\n> [!IMPORTANT]\n> For the live reload to work you need to provide a valid HTML skeleton including a body tag.\n\n> [!NOTE]\n> If your HTML file is called index.html, then you don't need to enter index.html, just a \"/\" would be enough.\n\nNow when you make changes to your HTML file, it should reflect in the browser without the need for refresh.\n\n","readmeFilename":"README.md"}