@rainway/native
TypeScript icon, indicating that this package has built-in type declarations

0.5.0 • Public • Published

Rainway SDK Node Bindings

These are the Node.js bindings for the Rainway SDK Native Runtime. See our documentation for more information.

Important note: This package will only function in Windows environments, as the Rainway SDK Native Runtime currently only supports Windows.

Building

The bindings are automatically built by running cargo build --features wrappers in the native directory (..\..). See build.rs for more details.

You may need to download Clang and put it on your PATH:

# PowerShell
$env:PATH += ';C:\Program Files\LLVM\bin'

Developing/testing

When developing the wrapper, if the C header did not change, you can use npm run build and npm run test.

To really test your changes, check out rainway-sdk-node-examples and edit its host-example/package.json to have

  "dependencies": {
    "@rainway/native": "file:C:\\rainway-sdk\\runtimes\\native\\target\\debug\\node"
  },

Then build host-example (see its README).

Readme

Keywords

Package Sidebar

Install

npm i @rainway/native

Homepage

rainway.com

Weekly Downloads

3

Version

0.5.0

License

SEE LICENSE IN LICENSE

Unpacked Size

14.4 MB

Total Files

82

Last publish

Collaborators

  • bengreenier
  • andrewmd5
  • lynnrainway