@node-rs/helper
Helper library for node-rs
Last updated 6 years ago by broooooklyn .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install @node-rs/helper 
SYNC missed versions from official npm registry.

@node-rs/helper

Helper library for node-rs

Usage

locateBinding

Load native binding file from dirname

locateBinding(dirname: string): string
  • dirname, dirname which the .node binding file located
  • return the full path of the binding file, throw if file not existed or platform not supported
const { locateBinding } = require('@node-rs/helper')

module.exports = require(locateBinding(__dirname))

Current Tags

  • 1.0.0-alpha.3                                ...           alpha (6 years ago)
  • 1.6.2                                ...           latest (3 months ago)

28 Versions

  • 1.6.2                                ...           3 months ago
  • 1.6.1                                ...           3 months ago
  • 1.6.0                                ...           3 years ago
  • 1.5.0                                ...           3 years ago
  • 1.4.1                                ...           3 years ago
  • 1.4.0                                ...           3 years ago
  • 1.3.3                                ...           5 years ago
  • 1.3.2                                ...           5 years ago
  • 1.3.1                                ...           5 years ago
  • 1.3.0                                ...           5 years ago
  • 1.2.1                                ...           5 years ago
  • 1.2.0                                ...           5 years ago
  • 1.1.1                                ...           5 years ago
  • 1.1.0                                ...           6 years ago
  • 1.0.0                                ...           6 years ago
  • 1.0.0-alpha.3                                ...           6 years ago
  • 1.0.0-alpha.2                                ...           6 years ago
  • 1.0.0-alpha.1                                ...           6 years ago
  • 1.0.0-alpha.0                                ...           6 years ago
  • 0.4.0                                ...           6 years ago
  • 0.3.1                                ...           6 years ago
  • 0.3.0                                ...           6 years ago
  • 0.2.1                                ...           6 years ago
  • 0.2.0                                ...           6 years ago
  • 0.1.4                                ...           7 years ago
  • 0.1.3                                ...           7 years ago
  • 0.1.2                                ...           7 years ago
  • 0.1.1                                ...           7 years ago
Maintainers (1)
Downloads
Total 46
Today 0
This Week 0
This Month 38
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (0)
None

© 2010 - cnpmjs.org x YWFE | Home | YWFE