NodeJS wrapper for SVN.
- SVN client installed
- SVN client in PATH
yum install subversion
brew options subversion
brew install (OPTIONS) subversion
apt-get install subversion
npm install @crichmond1989/svn
Local and remote projects use the source
property.
import Svn from "@crichmond1989/svn";
const client = new Svn({source: "C:/Repos/MyProject"});
const info = await client.info({ recursive: true });
const log = await client.log({ revision: 3003 });
import Svn from "@crichmond1989/svn";
const client = new Svn({source: "https://svn.code.sf.net/p/svnbook/source"});
const info = await client.info({ recursive: true });
const log = await client.log({ revision: 3003 });