
Security News
Deno 2.4 Brings Back deno bundle, Improves Dependency Management and Observability
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
github.com/dawkrish/compression-tool
Inspired by this coding challenge
All the code blocks are meant to be run in a terminal
Install Go You can download Go from [here]
Install the binary
go install github.com/dawkrish/compression-tool@latest
This will place the binary in GOPATH
. You can check your GOPATH
by typing the command go env
Confirm
which compression-tool
should output something like
/Users/<username>/go/bin/compression-tool
There are only 2 flags
-h
for help-d
for decompressingExample
./compression-tool <file-name>
: will compress the content of the file into a new file <file-name_compressed.txt>
./compression-tool -d <file-name>
: will decompress the content of the file into a new file <file-name_decompressed.txt>
Note : the -d
flag must come before the <file-name>
. You can look the reason for it [here]
Note that the flag package requires all flags to appear before positional arguments (otherwise the flags will be interpreted as positional arguments)
The project was simple and small, but effective, if you face any issue, please raise an issue
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.