New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

node-has-native-dependencies

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-has-native-dependencies

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

latest
Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

node

FAQs

Package last updated on 07 Nov 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts