Skip to content

crichmond1989/svn

 
 

Repository files navigation

@crichmond1989/svn

Build Status npm (scoped) NPM Size License: MIT

NodeJS wrapper for SVN.

Preconditions

  • SVN client installed
  • SVN client in PATH

Apache Subversion Packages

CentOS

yum install subversion

Mac OS X

brew options subversion
brew install (OPTIONS) subversion

Ubuntu

apt-get install subversion

Windows

TortoiseSVN

Usage

npm install @crichmond1989/svn

Local and remote projects use the source property.

Local

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 });

Remote

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 });

About

Node.js handles for SVN

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 74.8%
  • Python 14.7%
  • JavaScript 5.4%
  • Shell 5.1%