@crichmond1989/svn
TypeScript icon, indicating that this package has built-in type declarations

1.3.2 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i @crichmond1989/svn

Weekly Downloads

11

Version

1.3.2

License

MIT

Unpacked Size

21.6 kB

Total Files

27

Last publish

Collaborators

  • crichmond1989