@gomomento/sdk-nodejs-compression-zstd
TypeScript icon, indicating that this package has built-in type declarations

0.91.0 • Public • Published

logo

project status project stability

zstd Compression Extensions for Momento Node.js SDK

This package provides extensions for the Momento Node.js SDK to support zstd compression and decompression of data that is stored using the CacheClient.set function and accessed through the CacheClient.get function. Using compression can significantly reduce your data transfer costs if your cache values are large text values, such as JSON objects.

This is an alternative to the main @gomomento/sdk-nodejs-compression package, which provides similar extensions but uses the gzip compression library rather than zstd. zstd may be slightly faster than gzip for certain types of workloads, but it is not yet supported in the node.js standard library, so this extension requires an additional binary dependency that may require extra steps to package into your production environment.

To use the library, you will need to install it from npm:

npm install @gomomento/sdk-compression-zstd

For more information, see:


For more info, visit our website at https://gomomento.com!

Readme

Keywords

none

Package Sidebar

Install

npm i @gomomento/sdk-nodejs-compression-zstd

Weekly Downloads

466

Version

0.91.0

License

Apache-2.0

Unpacked Size

16.1 kB

Total Files

9

Last publish

Collaborators

  • gomomento