1.1.3 • Published 2 years ago

is-native-module v1.1.3

Weekly downloads
25
License
MIT
Repository
github
Last release
2 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

2 years ago

1.1.2

2 years ago

1.1.1

4 years ago

1.1.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago