An open API service indexing awesome lists of open source software.

https://github.com/agea/cmisjs

A CMIS javascript library for node and browser
https://github.com/agea/cmisjs

alfresco bower browser cmis cmis-javascript-library javascript node

Last synced: 8 months ago
JSON representation

A CMIS javascript library for node and browser

Awesome Lists containing this project

README

          

CmisJS
======

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

[![Build Status](https://img.shields.io/travis/agea/CmisJS.svg)](https://travis-ci.org/agea/CmisJS)
[![npm](https://img.shields.io/npm/v/cmis.svg)](https://www.npmjs.com/package/cmis)
![MIT License](https://img.shields.io/npm/l/cmis.svg)

### 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
```bash
npm install cmis
```
### bower
```bash
bower install cmis
```

#### typescript (node or browser)

```javascript
import { cmis } from cmis;
```

#### javascript (node)

```javascript
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:

```html

```

Then, you can include the minified version:
```html

```

#### javascript (CDN)

```html

```

## 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