nginx-conf-parser

0.1.1 • Public • Published

nginx configuration file parser

yet another parser written on JS using jison

Usage

cd your-project-path
npm install -l nginx-conf-parser

and then just use it:

var nginxParser = require('nginx-conf-parser').parser;
var result = nginxParser.parse('server { server_name .example.host; }');
console.log(result); // yo. no async, sorry ;-(

/nginx-conf-parser/

    Package Sidebar

    Install

    npm i nginx-conf-parser

    Weekly Downloads

    5

    Version

    0.1.1

    License

    MIT X

    Last publish

    Collaborators

    • qfox