cmis
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    425
    • latest

Version History

Package Sidebar

Install

npm i cmis

Weekly Downloads

482

Version

1.0.3

License

MIT

Unpacked Size

7.11 MB

Total Files

913

Last publish

Collaborators

  • agea