1.1.0 • Published 7 months ago
@cpp.js/package-expat v1.1.0
@cpp.js/package-expat
Precompiled expat 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-expatTo enable the library, modify the cppjs.config.js file as shown below.
+import expat from '@cpp.js/package-expat/cppjs.config.js';
export default {
dependencies: [
+ expat
]
paths: {
config: import.meta.url,
}
};Usage
Below are the steps to use the expat in your C++ or JavaScript code.
Usage in C++ Code
+#include <expat.h>
std::string Native::sample() {
+ return std::string(XML_ExpatVersion());
}License
This project includes the precompiled expat library, which is distributed under the MIT License.
Expat Homepage: https://github.com/libexpat/libexpat
1.1.0
7 months ago
1.0.0
10 months ago
1.0.0-beta.23
10 months ago
1.0.0-beta.22
11 months ago
1.0.0-beta.21
11 months ago
1.0.0-beta.20
11 months ago