mfilesjs

0.1.0 • Public • Published

mfilesjs

An unoffical M-Files JavaScript Wrapper with promise support

Install

Install with npm

$ npm i mfilesjs --save

Usage

const Mfiles = require('./mfiles-api.js')
const mfiles = new Mfiles({
  vault_guid: "MY_VALUT_GUID", // something like {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXXX}
  vault_url: "https://…"
});
 
(async () => {
  await mfiles.auth({ username: "MY_USERNAME", password: "MY_PASSWORD" })
 
  let results = await mfiles.search('My document example title');
  console.log(results)
});

Documentation

Check the detailed documentation here: docs.md

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

Author

mrzmyr

License

Copyright © 2018 mrzmyr Licensed under the MIT license.

Readme

Keywords

none

Package Sidebar

Install

npm i mfilesjs

Weekly Downloads

2

Version

0.1.0

License

MIT

Unpacked Size

33.9 kB

Total Files

17

Last publish

Collaborators

  • mrzmyr