1.0.3 • Published 6 months ago
nginx-log-traffic-parser v1.0.3
About
This package is intended for parsing the log file that creates this nginx-module
Installing
$ npm i nginx-log-traffic-parser
Once the package is installed, you can import the library using import
import parser from 'nginx-log-traffic-parser'
Example
import parser from 'nginx-log-traffic-parser'
const result = await parser('../http-traffic-example.log') // the path in the file is passed as an argument
console.log(result)