UNPKG

ffi-rs

Version:

A module written in Rust and N-API provides interface (FFI) features for Node.js

77 lines 2.46 kB
{ "name": "ffi-rs", "version": "1.2.10", "main": "index.js", "types": "index.d.ts", "description": "A module written in Rust and N-API provides interface (FFI) features for Node.js", "napi": { "name": "ffi-rs", "triples": { "additional": [ "aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "aarch64-unknown-linux-musl", "arm-unknown-linux-gnueabihf", "i686-pc-windows-msvc", "x86_64-unknown-linux-musl", "aarch64-pc-windows-msvc", "aarch64-linux-android" ] } }, "author": "zhangyuang", "homepage": "https://github.com/zhangyuang/node-ffi-rs#readme", "repository": { "type": "git", "url": "git+https://github.com/zhangyuang/node-ffi-rs.git" }, "keywords": [ "ffi", "rust", "node.js", "napi" ], "files": [ "index.js", "index.d.ts", "README.md" ], "license": "MIT", "dependencies": {}, "devDependencies": { "@napi-rs/cli": "^2.15.2", "@types/node": "^20.8.7", "benny": "^3.7.1", "conventional-changelog-cli": "^4.1.0", "esno": "^4.0.0", "ffi-napi": "^4.0.3", "koa": "^2.14.2", "shelljs": "^0.8.5", "typescript": "^5.4.5" }, "scripts": { "artifacts": "napi artifacts", "build:c": "node scripts/compile.js", "build:dev": "env=development node scripts/build.js", "build": "node scripts/build.js", "publish:npm": "node scripts/publish.js", "test": "esno ./tests/index.ts", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add . && git commit -m \"docs: update changelog.md\" && git push origin master", "pub": "npm version patch && git push origin master --tags && npm run changelog && npm run copy", "copy": "cp ./*.md ./package.json ../node-ffi-rs/", "pub:alpha": "npm version prerelease --preid=alpha && git push origin master --tags" }, "optionalDependencies": { "@yuuang/ffi-rs-android-arm64": "1.2.10", "@yuuang/ffi-rs-darwin-arm64": "1.2.10", "@yuuang/ffi-rs-darwin-x64": "1.2.10", "@yuuang/ffi-rs-linux-arm-gnueabihf": "1.2.10", "@yuuang/ffi-rs-linux-arm64-gnu": "1.2.10", "@yuuang/ffi-rs-linux-arm64-musl": "1.2.10", "@yuuang/ffi-rs-linux-x64-gnu": "1.2.10", "@yuuang/ffi-rs-linux-x64-musl": "1.2.10", "@yuuang/ffi-rs-win32-arm64-msvc": "1.2.10", "@yuuang/ffi-rs-win32-ia32-msvc": "1.2.10", "@yuuang/ffi-rs-win32-x64-msvc": "1.2.10" } }