Copyright 2017 Clause, Inc. All rights reserved. Use, modification, or distribution is prohibited in any form unless accompanied by a signed license from Clause, Inc.
A simple client to the Clause Contract Management System. Bootstraps respositories from channels. See clause-cms for more details.
This package exports 2 classes,
This is an interface to the server at a channel level. Allows reading from, publishing to, and creation of channels.
This class's constructor takes a name and an
ApiClient instance. If the repo doesn't exist yet, call
.create() on it. Once you have a handle to an existing repo, you can call
.fetch() on it to populate it with writes, then call
.contents() to get the latest versions.