node-liblzma 3.1.0 → 3.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -321,9 +321,9 @@ Archives created by nxz are fully compatible with system `tar -xJf`.
321
321
  <summary><strong>One-shot usage (without global install)</strong></summary>
322
322
 
323
323
  ```bash
324
- # Standalone nxz package (recommended — smaller, faster install)
325
- npx nxz --help
326
- pnpm dlx nxz --help
324
+ # Standalone nxz-cli package (recommended — smaller, faster install)
325
+ npx nxz-cli --help
326
+ pnpm dlx nxz-cli --help
327
327
 
328
328
  # Or via the full node-liblzma package
329
329
  npx --package node-liblzma nxz --help
@@ -348,7 +348,7 @@ node-liblzma powers a family of focused packages:
348
348
  |---------|-------------|---------|
349
349
  | [`node-liblzma`](https://www.npmjs.com/package/node-liblzma) | Core XZ library — Node.js native + browser WASM | `npm i node-liblzma` |
350
350
  | [`tar-xz`](https://www.npmjs.com/package/tar-xz) | Create/extract .tar.xz archives — Node.js + browser | `npm i tar-xz` |
351
- | [`nxz`](https://www.npmjs.com/package/nxz) | Standalone CLI — `npx nxz file.txt` | `npx nxz` |
351
+ | [`nxz-cli`](https://www.npmjs.com/package/nxz-cli) | Standalone CLI — `npx nxz-cli file.txt` | `npx nxz-cli` |
352
352
 
353
353
  ### tar-xz — tar.xz archives
354
354
 
@@ -372,18 +372,18 @@ const files = await extractTarXz(archive);
372
372
  const entries = await listTarXz(archive);
373
373
  ```
374
374
 
375
- ### nxz — standalone CLI
375
+ ### nxz-cli — standalone CLI
376
376
 
377
377
  A lightweight wrapper package for running `nxz` without installing the full `node-liblzma`:
378
378
 
379
379
  ```bash
380
380
  # No install needed
381
- npx nxz file.txt # compress
382
- npx nxz -d file.txt.xz # decompress
383
- npx nxz -T src/ -o app.tar.xz # create tar.xz archive
381
+ npx nxz-cli file.txt # compress
382
+ npx nxz-cli -d file.txt.xz # decompress
383
+ npx nxz-cli -T src/ -o app.tar.xz # create tar.xz archive
384
384
 
385
385
  # Or install globally
386
- npm install -g nxz
386
+ npm install -g nxz-cli
387
387
  ```
388
388
 
389
389
  ## API Reference
@@ -799,7 +799,7 @@ npm config set python python3
799
799
  ## Related Projects
800
800
 
801
801
  - [tar-xz](https://www.npmjs.com/package/tar-xz) — Create/extract tar.xz archives (powered by node-liblzma)
802
- - [nxz](https://www.npmjs.com/package/nxz) — Standalone CLI for XZ compression
802
+ - [nxz-cli](https://www.npmjs.com/package/nxz-cli) — Standalone CLI for XZ compression
803
803
  - [lzma-purejs](https://github.com/cscott/lzma-purejs) — Pure JavaScript LZMA implementation
804
804
  - [node-xz](https://github.com/robey/node-xz) — Node binding of XZ library
805
805
  - [lzma-native](https://github.com/addaleax/lzma-native) — Complete XZ library bindings
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-liblzma",
3
- "version": "3.1.0",
3
+ "version": "3.1.1",
4
4
  "description": "NodeJS wrapper for liblzma",
5
5
  "type": "module",
6
6
  "main": "./lib/lzma.js",
@@ -86,6 +86,7 @@
86
86
  "types": "index.d.ts",
87
87
  "files": [
88
88
  "lib/",
89
+ "prebuilds/",
89
90
  "src/bindings/",
90
91
  "src/wasm/liblzma.js",
91
92
  "src/wasm/liblzma.wasm",