MCPcopy Index your code
hub / github.com/agea/CmisJS

github.com/agea/CmisJS @v1.0.3

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.0.3 ↗ · + Follow
70 symbols 195 edges 7 files 62 documented · 89%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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="https://github.com/agea/CmisJS/raw/v1.0.3/node_or_bower_path/dist/cmis.polyfills.js"></script>

Then, you can include the minified version:

<script src="https://github.com/agea/CmisJS/raw/v1.0.3/node_or_bower_path/dist/cmis.bundle.js"></script>

javascript (CDN)

<script src="https://github.com/agea/CmisJS/raw/v1.0.3/cdn.jsdelivr.net/gh/agea/cmisjs/dist/cmis.polyfills.js"></script>
<script src="https://github.com/agea/CmisJS/raw/v1.0.3/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

Core symbols most depended-on inside this repo

post
called by 27
src/cmis.ts
get
called by 23
src/cmis.ts
setACEs
called by 16
src/cmis.ts
setProperties
called by 9
src/cmis.ts
setPolicies
called by 7
src/cmis.ts
createFolder
called by 3
src/cmis.ts
getContentStream
called by 3
src/cmis.ts
setSecondaryTypeIds
called by 2
src/cmis.ts

Shape

Method 64
Class 6

Languages

TypeScript100%

Modules by API surface

src/cmis.ts70 symbols

For agents

$ claude mcp add CmisJS \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact