0.21.1 • Published 10 months ago

@kontext21/k21 v0.21.1

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Kontext21 Node.js Library

Work in progress.

Based on the amazing napi-rs/package-template project.

Usage

Install this test package

yarn add @kontext21/k21

Support matrix

Operating Systems

node14node16node18
Windows x64
Windows x32
Windows arm64
macOS x64
macOS arm64

Ability

Build

After yarn build/npm run build command, you can see package-template.[darwin|win32|linux].node file in project root. This is the native addon built from lib.rs.

For local Development: Build Rust + Node, create TS file and move them into bin/ folder

yarn run bp

Test

run yarn test/npm run test to testing native addon.

Develop requirements

  • Install the latest Rust
  • Install Node.js@10+ which fully supported Node-API
  • Install yarn@1.x

Test in local

  • yarn
  • yarn build
  • yarn test
  • yarn run bp

Afterwards you can import the locally build package into your project:

npm install ../k21-node/kontext21-k21-0.17.0.tgz
0.21.1

10 months ago

0.21.0

11 months ago

0.17.6

11 months ago

0.17.5

11 months ago

0.17.3

11 months ago

0.17.0

11 months ago

0.15.0

11 months ago

0.14.0

11 months ago

0.12.4

11 months ago

0.12.0-0

11 months ago

0.11.0-0

11 months ago

0.9.0-0

11 months ago

0.5.0-0

11 months ago