1.1.3 • Published 3 years ago

is-native-module v1.1.3

Weekly downloads
25
License
MIT
Repository
github
Last release
3 years ago

is-native-module

Check if a node module contains native code.

Usage

const isNative = require('is-native-module')

const pkg = require('./package.json')
console.log(isNative(pkg))
$ cd module/
$ is-native-module
$ echo $?
0 # native module

Installation

$ npm install [-g] is-native-module

API

isNative(pkg)

License

MIT

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

5 years ago

1.1.0

8 years ago

1.0.1

9 years ago

1.0.0

9 years ago