
Security News
ESLint Adds Official Support for Linting HTML
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
deterministic-zip-ts
Advanced tools
A ZIP library that generates the same zip file from the same files every time
[!NOTE] Based on the original deterministic-zip by Erwin van der Koogh. Which works fine, but I needed something that I had control over, and I like Typescript, and async.
Regular zip binaries and libraries often generate different zip files from the same files most often because of metadata or timestamps. deterministic-zip-ts
guarantees to always generate the same zip file every time.
This is a major problem when creating a reproducible build. The output from two builds from identical source would generate two different zip files.
With deterministic-zip-ts
you are guaranteed to get the exact same file every time you build from the same input.
npm install deterministic-zip-ts --save
import { zip } from 'deterministic-zip-ts';
await zip('data', 'test.zip', {
includes: ['./index.js', './src/**'],
cwd: 'data'
});
FAQs
A ZIP library that generates the same zip file from the same files every time
We found that deterministic-zip-ts demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.