gyp-conditions

Matches and evaluates conditional expressions in gyp files

npm install gyp-conditions
12 downloads in the last day
131 downloads in the last week
524 downloads in the last month

gyp-expressions

This implements a large portion of python's expression-level syntax, since that's what gyp uses in its expressions.

It wouldn't be hard to expand this to a full python parser, though the interpreter part would grow a lot if actually running the code were a goal.

npm loves you