svn-log-parse

0.1.1 • Public • Published

node-svn-log-parse

Simple svn log output string parsing.

Installation

npm install svn-log-parse

Usage

var Parser = require('svn-log-parse').Parser
  , parser = new Parser();

var svnLogObjects = parser.parse(/* log messages string */);

/*
Do something with svnLogObjects:

[{
  revision: 'r489'
  committer: 'bruce_lee'
  time: '2013-08-22 19:35:20 +0000 (Thu, 22 Aug 2013)'
  line_count: '1 line'
  message: 'fix: Typo'
},{
  // ...
}]
*/

Testing

Tests are written with the lovely mocha and chai duo. Run them with npm test

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i svn-log-parse

Weekly Downloads

1

Version

0.1.1

License

MIT

Last publish

Collaborators

  • jtrussell