4 ms·
May not be a well known feature however npm can unpack tarballs as part of the install process, as that’s how they’re served from the CDN. If you vendor and ta
by no_wizard 2y ago
May not be a well known feature however npm can unpack tarballs as part of the install process, as that’s how they’re served from the CDN.
If you vendor and tar your dependencies correctly you could functionally build a system around trust layers by inspecting hashes before allowing unpacking for instance.
It’s a thought exercise certainly but there might be legs to this idea