zip-compressor
v0.0.1
Published
Encode and decode zip files with CompressionStream
Downloads
2
Readme
Zip Compressor
Encode and decode zip files with CompressionStream, well-supported natively in browsers and server-side JavaScript engines
Changes
This project is based on a fork of @php-wasm/stream-compression
.
[ ] Remove polyfills and dependencies
- [x]
@php-wasm/node-polyfills
- [x]
@php-wasm/util
- [ ] Replace polyfill of ReadableStream with standalone async iterator - API, browser compatibility
- [x]
[ ] Refactor as its own library
- [x] Format
- [x] Build
- [ ] Test
Origin
Cloning a subdirectory of a monorepo into its own repository
git clone --depth 1 --single-branch --branch trunk https://github.com/WordPress/wordpress-playground zip-compressor
cd zip-compressor
git remote remove origin
git remote add upstream https://github.com/WordPress/wordpress-playground
git branch -m trunk upstream-trunk
git subtree split --prefix=packages/php-wasm/stream-compression/src -b zip-compressor
git checkout zip-compressor
git checkout -b main
To keep this fork synced with upstream changes:
git checkout upstream-trunk
git pull
git subtree split --prefix=packages/php-wasm/stream-compression/src --onto zip-compressor -b zip-compressor
git checkout main
git rebase zip-compressor