New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

svnlog

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svnlog

windows下调用本地svn命令行工具,查询并解析SVN仓库的日志信息

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

svnlog

调用本地svn命令行工具,查询并解析SVN仓库的日志信息.

install

npm install svnlog

usage


const SVN = require('svnlog')

//指定svn的本地路径
const client = new SVN('c:/svn/test')

//获得日志信息
client.getLog().then(data => {
	console.log(`data length ${data.length}`)
	/**
	 * data[0] : {author : '',version : '',time : '',mode : '',path : ''}
	 *
	 **/
}).catch( e => console.log(e))

//获得svn信息
client.info().then(function(svn){
	console.log(svn);
	/**
 	 * svn : {
 	 * 	repo : '',
 	 *  id : '',
 	 *  version : ''
 	 * }
 	 *
 	 **/
})

license

MIT LICENSE

Keywords

svn

FAQs

Package last updated on 07 Jul 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts