Socket
Book a DemoInstallSign in
Socket

gyp-reader

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gyp-reader

A gyp file reader for node

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

This is a module for reading gyp files in node.

Gyp files are Python literals. When the happy day comes that a build system uses JSON like the gods intended, awful kludgey modules like this one won't be necessary.

Python must be installed to use this. If you point the PYTHON environ to something different, it'll use that instead.

Usage

var gr = require("gyp-reader")
gr("binding.gyp", function (er, data) {
  // data is an object
})

Warning

The gyp file is evaled in a python subprocess. Do not run this on gyp files that you are not sure of. This module should only be used if you're probably going to run gyp on them anyway, and presumably they're trustworthy.

Thanks

Trent Mick wrote the python for this module.

FAQs

Package last updated on 30 Mar 2012

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