Skip to content

jtrussell/node-svn-log-parse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Parse `svn log` output

Resources

License

Stars

Watchers

Forks

Packages

No packages published