x25 / node-zstd Goto Github PK
View Code? Open in Web Editor NEWZSTD bindings for Node.js
License: MIT License
ZSTD bindings for Node.js
License: MIT License
Zstd mentions support for a training mode, allowing it to maintain an internal dictionary so that small pieces of data can benefit from better compression.
We could offer this as an option, for instance:
var dictionary = zstd.train(buffer);
var compressed = zstd.compress(data, {dictionary: dictionary});
Hi!
The library doesn't install atm.
Any chance to fix it?
It seems that this library was developed while ago, but I guess not many changes will be required to work with current Node.js & Zstd versions.
Thank you,
Albert
macOSX install report this error.
CXX(target) Release/obj.target/compressor/src/compress/stream_compressor.o
../src/compress/stream_compressor.cc:95:39: error: no matching member function for call to 'NewInstance'
info.GetReturnValue().Set(cons->NewInstance(argc, argv));
~~~~~~^~~~~~~~~~~
/var/root/.node-gyp/10.6.0/include/node/v8.h:3914:44: note: candidate function not viable: requires single argument 'context', but 2 arguments were provided
V8_WARN_UNUSED_RESULT MaybeLocal NewInstance(
^
/var/root/.node-gyp/10.6.0/include/node/v8.h:3911:44: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT MaybeLocal NewInstance(
^
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.