/dmakeparser

Simple Drupal 7 makefile parser for node

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

dmakeparser

Parses Drupal 7 makefiles to a simple javascript object.

Installation & Usage

Install with npm:

npm install uhkis/dmakeparser

Use:

var dmp = require('dmakeparser');
var fs = require('fs');

var makefile = fs.readFileSync(PATH_TO_MAKEFILE).toString();
var parsed = dmp.parse(makefile);