@windsor/parser

1.0.0 • Public • Published

Parser

The purpose of this module is to take log files and turn them into a tree representation of code. For now this module is geared specifially to parse files that come out of @windsor/logger.

bufferIterator

This is a generator function which takes in a Buffer and consumes it one line at a time. The buffer is done when there are no more lines to consume

logIterator

This is a recursive generator function which takes in a bufferIterator and returns a tree that corresponds to the logFile pointed at by the buffer.

Readme

Keywords

none

Package Sidebar

Install

npm i @windsor/parser

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

7.55 kB

Total Files

6

Last publish

Collaborators

  • atfaust2
  • pranaygp