0.0.1 • Published 10 years ago

ncsa-parser v0.0.1

Weekly downloads
2
License
BSD 2-Clause
Repository
github
Last release
10 years ago

NCSA Parser

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"]

Notes

This package does not and will not provide the following functionality:

  • Synchronous filesystem access