This package has been deprecated

Author message:

This package is deprecated. Please use the official SDK package @camunda8/sdk. See: https://github.com/camunda/camunda-8-js-sdk

@camunda8/modeler
TypeScript icon, indicating that this package has built-in type declarations

8.4.0 • Public • Published

Camunda 8 Web Modeler API Client

This is a Node.js client for the Camunda 8 Web Modeler API v1.

To install:

npm i @camunda8/modeler --registry https://npm.pkg.github.com

Usage

Set the environment variables for a Console API client.

import { ModelerApiClient } from '@camunda8/modeler'

// Hydrate credentials from the environment using the dotenv package
import 'dotenv/config'

async function main() {
    const info = await modeler.getInfo()
    console.log(JSON.stringify(info, null, 2))
    const projects = await modeler.searchProjects({})
    console.log(`Found ${projects.length} projects`)
    console.log(JSON.stringify(projects, null, 2))
    })
}

main()

Readme

Keywords

none

Package Sidebar

Install

npm i @camunda8/modeler

Weekly Downloads

2

Version

8.4.0

License

ISC

Unpacked Size

88.5 kB

Total Files

21

Last publish

Collaborators

  • vobu
  • sitapati