svn-simple-log-parser

0.6.7 • Public • Published

svn-simple-log-parser NPM version

Get a clean json object from a (verbose) svn log stream.

Install as dependency

Install the module:

npm install svn-simple-log-parser --save

Parsing SVN Logs to JSON

var LogParser = require('svn-simple-log-parser');
 
var alfrescoSVN = new LogParser({
    repoUrl: 'https://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD'
    user: 'ausername',
    password: 'apassword'
});
 
alfrescoSVN
    .parse({
        limit: 5,
        path: 'some/path',
        revision: '99999',
        from: '9999',
        to: '9999',
        verbose: true
    })
    .then( function (data) {
        console.log(data);
    })
    .catch( function (err) {
        console.log(err);
    })
;

Readme

Keywords

none

Package Sidebar

Install

npm i svn-simple-log-parser

Weekly Downloads

0

Version

0.6.7

License

none

Last publish

Collaborators

  • wieringen