Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A gyp file reader for node

branch: patch-1

This branch is 1 commit ahead and 0 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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.


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


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.


Trent Mick wrote the python for this module.

Something went wrong with that request. Please try again.