Matches and evaluates conditional expressions in gyp files
npm install gyp-conditions
|15||downloads in the last day|
|101||downloads in the last week|
|328||downloads in the last month|
|Version||0.0.5 last updated 8 months ago|
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.