A CMIS javascript library for node and browser
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.vscode
dist
pages @ c247294 pages update Jul 11, 2018
src πŸ› fix #51 Jul 11, 2018
test πŸ”₯πŸ”§ removed old js lib, package.json script config, submodule url update Feb 11, 2018
.gitignore πŸ“¦βœοΈπŸ“ updated readme and docs, dist files Feb 12, 2018
.gitmodules πŸ’š submodule url fix Feb 11, 2018
.travis.yml
LICENSE
README.md πŸ”– v1.0.0 release Feb 19, 2018
index.d.ts πŸ”– v1.0.0 release Feb 19, 2018
index.js πŸ”– v1.0.0 release Feb 19, 2018
package-lock.json
package.json
tsconfig.json πŸ”₯πŸ”§ removed old js lib, package.json script config, submodule url update Feb 11, 2018
webpack.config.js
webpack.polyfills.config.js πŸ’₯πŸ”– Preparing for 1.0 release, new version with modern standards (feth… Feb 10, 2018

README.md

CmisJS

A CMIS typescript/javascript library for node and browser, with no dependencies for modern browsers

Build Status npm MIT License

Breaking API changes in 1.x

In version 1.x all CmisSession methods which connect to repository return a Promise

https://agea.github.io/CmisJS

You can find the documentation for older version at: https://agea.github.io/CmisJS/docs_v0.x/

Install

npm

npm install cmis

bower

bower install cmis

typescript (node or browser)

import { cmis } from cmis;

javascript (node)

var cmis = require('cmis');

javascript (browser)

If you need polyfills for fetch (https://caniuse.com/fetch), Promise (https://caniuse.com/promise) and URLSearchParams (https://caniuse.com/urlsearchparams) you have to include this file before including cmis library:

<script src="node_or_bower_path/dist/cmis.polyfills.js"></script>

Then, you can include the minified version:

<script src="node_or_bower_path/dist/cmis.bundle.js"></script>

javascript (CDN)

<script src="//cdn.jsdelivr.net/gh/agea/cmisjs/dist/cmis.polyfills.js"></script>
<script src="//cdn.jsdelivr.net/gh/agea/cmisjs/dist/cmis.bundle.js"></script>

Usage

See Reference at: https://agea.github.io/CmisJS/classes/cmis.cmissession.html

and tests to see how to use the library at: https://github.com/agea/CmisJS/blob/master/src/cmis.spec.ts

License

MIT - https://github.com/agea/CmisJS/blob/master/LICENSE