23.1.1 • Published 6 months ago
@8zip/all v23.1.1
@8zip/all
Bundle of all platform-specific binaries for 7zip. This is useful for when you're implementing your own platform detection, e.g. during a cross-platform build of an Electron package.
If you're not doing that, you probably want to use the @8zip/bin
package instead. It automatically detects the platform it's installed on and uses the appropriate binary.
Usage
npm i @8zip/all
yarn add @8zip/all
pnpm add @8zip/all
const paths = require('@8zip/bin')
console.log(paths)
/*> {
windows: '/path/to/@8zip/windows/dist/7za.exe',
mac: '/path/to/@8zip/mac/dist/7za',
linux: '/path/to/@8zip/linux/dist/7za'
} */