Node.js Compress File into gzip Format
Using Node.js built-in fs and zlib modules to compress a file into gzip format.
Using Node.js built-in fs and zlib modules to compress a file into gzip format.
Step by step to create a new Node.js project using node package manager npm tool.
Using Node.js built-in file system fs module to create and write content to a text file.
Using Node.js built-in file system fs module to read a text file.
Using Node.js built-in HTTP module to create a simple HTTP Server that return a text or HTML content when you access via browser.