Node.JS bindings to interacting with a Subversion (SVN) repository. Written in C++, this binding interacts directly with the SVN libraries to provide quick, easy access to your Subversion repositories
This module is SVN bindings for NodeJS. You can use this module to interact with SVN within your NodeJS project.
Installation of this module is simple. In the root directory
node-waf configure build install
To get the contents of a file directly from the Subversion filesystem (using svn_fs):
SVN = require('nodesvn').SVN; client = new SVN(); client.open('/path/to/svn/filesystem') file_contents = client.file_contents('path_to_file_in_filesystem')
To get the contents of the file, as you might if you don't have direct access to the file system (e.g. through your SVN client on your OS, using svn_ra) use
SVN = require('nodesvn').SVN client = new SVN(); client.cat('type://path/to/repository/file')
This library was initially developed for a specific purpose, however it will be developed further. If you would like to submit patches, please feel free to send us pull requests.