@cpp.js/package-gdal

1.0.0-beta.22 • Public • Published

@cpp.js/package-gdal

Precompiled gdal 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-gdal

To enable the library, modify the cppjs.config.js file as shown below.

+import gdal from '@cpp.js/package-gdal/cppjs.config.js';

export default {
    dependencies: [
+        gdal
    ]
    paths: {
        config: import.meta.url,
    }
};

Usage

Below are the steps to use the gdal in your C++ or JavaScript code.

Usage in C++ Code

+#include <gdal.h>

std::string Native::sample() {
+    return std::string(GDAL_RELEASE_NAME);
}

License

This project includes the precompiled GDAL library, which is distributed under the MIT License.

GDAL Homepage: https://gdal.org/

Package Sidebar

Install

npm i @cpp.js/package-gdal

Weekly Downloads

145

Version

1.0.0-beta.22

License

MIT

Unpacked Size

434 MB

Total Files

1072

Last publish

Collaborators

  • bugra9