
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
github.com/mholt/Archiver
Package archiver makes it trivially easy to make and extract common archive formats such as .zip, and .tar.gz. Simply name the input and output file(s).
Files are put into the root of the archive; directories are recursively added, preserving structure.
The archiver
command runs the same cross-platform and has no external dependencies (not even libc); powered by the Go standard library, dsnet/compress, nwaples/rardecode, and ulikunitz/xz. Enjoy!
Supported formats/extensions:
go get github.com/mholt/archiver/cmd/archiver
Or download binaries from the releases page.
Make a new archive:
$ archiver make [archive name] [input files...]
(At least one input file is required.)
To extract an archive:
$ archiver open [archive name] [destination]
(The destination path is optional; default is current directory.)
The archive name must end with a supported file extension—this is how it knows what kind of archive to make. Run archiver -h
for more help.
import "github.com/mholt/archiver"
Create a .zip file:
err := archiver.Zip.Make("output.zip", []string{"file.txt", "folder"})
Extract a .zip file:
err := archiver.Zip.Open("input.zip", "output_folder")
Working with other file formats is exactly the same, but with their own Archiver implementations.
No. This works just like your OS would make an archive in the file explorer: organize your input files to mirror the structure you want in the archive.
Nope. This is a simple tool; it just makes new archives or extracts existing ones.
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
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.