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
- Host: GitHub
- URL: https://github.com/agea/cmisjs
- Owner: agea
- License: mit
- Created: 2013-11-13T07:46:03.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T22:50:39.000Z (over 3 years ago)
- Last Synced: 2025-10-22T19:50:03.545Z (8 months ago)
- Topics: alfresco, bower, browser, cmis, cmis-javascript-library, javascript, node
- Language: TypeScript
- Homepage:
- Size: 1.65 MB
- Stars: 38
- Watchers: 8
- Forks: 36
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
CmisJS
======
A CMIS typescript/javascript library for node and browser, with no dependencies for modern browsers
[](https://travis-ci.org/agea/CmisJS)
[](https://www.npmjs.com/package/cmis)

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