Skip to content

A simple command line utility to check where a node-module has native dependencies

License

Notifications You must be signed in to change notification settings

sramam/node-has-native-dependencies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-has-native-dependencies

A simple command line utility to check where a node-module has native dependencies

This does a rather brute-force dependency check that there are no installed node_modules that have a 'bindings.gyp' file within. 'bindings.gyp' is a telltale sign of a module with native dependencies.

Installation

npm install node-has-native-dependencies

Usage

As a library

const hasNativeDeps = require('node-has-native-dependencies')
hasNativeDeps();

If you want to control which directory to scan

hasNativeDeps(some_dir_path)

From the command line

./node_modules/.bin/node-has-native-dependencies

License

Apache 2.0

About

A simple command line utility to check where a node-module has native dependencies

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published