@cpp.js/package-sqlite3

1.0.0 • Public • Published

@cpp.js/package-sqlite3

Precompiled sqlite3 library built with cpp.js for seamless integration in JavaScript, WebAssembly and React Native projects.

NPM version License

Integration

Start by installing these package with the following command:

npm install @cpp.js/package-sqlite3

To 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

Package Sidebar

Install

npm i @cpp.js/package-sqlite3

Weekly Downloads

0

Version

1.0.0

License

Public Domain

Unpacked Size

62.7 MB

Total Files

45

Last publish

Collaborators

  • bugra9