gyp-parser
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

gyp-parser

GYP file format parser in JS

import { parse } from 'gyp-parser';

parse(gypFileSource);

// e.g.

parse("{ 'variable': [ 'array' ] }")
  // -> { variable: [ 'array' ] }

eval() works most of the time as well, but does not support fancier features like implicit string concatenation.

This package is exclusively a parser and does not perform any I/O.

LICENSE

MIT

Readme

Keywords

Package Sidebar

Install

npm i gyp-parser

Weekly Downloads

23,786

Version

1.0.4

License

MIT

Unpacked Size

10.1 kB

Total Files

6

Last publish

Collaborators

  • addaleax