Naturally Produced Modules

ncsa-parser

0.0.1 • Public • Published

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

Keywords

none

install

npm i ncsa-parser

Downloadsweekly downloads

5

version

0.0.1

license

BSD 2-Clause

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability