1.0.0 • Published 10 months ago
@cpp.js/package-zlib v1.0.0
@cpp.js/package-zlib
Precompiled zlib library built with cpp.js for seamless integration in JavaScript, WebAssembly and React Native projects.
Integration
Start by installing these package with the following command:
npm install @cpp.js/package-zlibTo enable the library, modify the cppjs.config.js file as shown below.
+import zlib from '@cpp.js/package-zlib/cppjs.config.js';
export default {
dependencies: [
+ zlib
]
paths: {
config: import.meta.url,
}
};Usage
Below are the steps to use the zlib in your C++ or JavaScript code.
Usage in C++ Code
+#include <zlib.h>
std::string Native::sample() {
+ return std::string(zlibVersion());
}License
This project includes the precompiled zlib library, which is distributed under the zlib License.
Zlib Homepage: https://zlib.net/
1.0.0
10 months ago
1.0.0-beta.29
10 months ago
1.0.0-beta.28
11 months ago
1.0.0-beta.27
11 months ago
1.0.0-beta.26
12 months ago
1.0.0-beta.25
12 months ago
1.0.0-beta.24
12 months ago
1.0.0-beta.23
12 months ago
1.0.0-beta.22
12 months ago
1.0.0-beta.21
12 months ago
1.0.0-beta.20
12 months ago