Skip to content

qfox/nginx-conf-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 ;-(

About

📃 Nginx Configuration Files Parser

Resources

Stars

Watchers

Forks

Packages

No packages published