1.0.0 • Published 11 months ago
@cpp.js/package-sqlite3 v1.0.0
@cpp.js/package-sqlite3
Precompiled sqlite3 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-sqlite3To enable the library, modify the cppjs.config.js file as shown below.
+import sqlite3 from '@cpp.js/package-sqlite3/cppjs.config.js';
export default {
dependencies: [
+ sqlite3
]
paths: {
config: import.meta.url,
}
};Usage
Below are the steps to use the sqlite3 in your C++ or JavaScript code.
Usage in C++ Code
+#include <sqlite3.h>
std::string Native::sample() {
+ return std::string(sqlite3_libversion());
}License
This project includes the precompiled sqlite3 library, which is distributed under the Public Domain License.
Sqlite3 Homepage: https://www.sqlite.org
1.0.0
11 months ago
1.0.0-beta.25
11 months ago
1.0.0-beta.24
1 year ago
1.0.0-beta.23
1 year ago
1.0.0-beta.22
1 year ago
1.0.0-beta.21
1 year ago