A parser for NCSA style common log files
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
spec
.gitignore
.travis.yml
LICENSE
README.md
index.js
package.json

README.md

NCSA Parser

License NPM Version Tag Version Build Status

NCSA Parser is a package designed to make parsing lines from and NCSA-style log file simple Usage

var parse = require('ncsa-parser')();
var parseLine = '127.0.0.1 user-identifier frank [10/Oct/2000:13:55:36 -0700] "GET /apache_pb.gif HTTP/1.0" 200 2326';

parse(parseLine); //["127.0.0.1", "user-identifier", "frank", "10/Oct/2000:13:55:36 -0700", "GET /apache_pb.gif HTTP/1.0", "200", "2326"]