New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@camunda8/optimize

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@camunda8/optimize

A Node.js client for interacting with the Camunda 8 Optimize API

  • 8.4.0
  • alpha
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Optimize API Client for Node.js

NPM

Community Extension

Lifecycle

License

A Node.js client for interacting with the Camunda Platform 8 Optimize REST API.

Uses camunda-saas-oauth-nodejs to use client credentials from the environment for authentication.

Installation

npm i optimize-api-client

Usage

Set the credential for Camunda SaaS in the environment, then:

import { OptimizeApiClient } from 'optimize-api-client`

const optimize = new OperateApiClient()

async function main() {
    await optimize.enableSharing()
    const id = "8a7103a7-c086-48f8-b5b7-a7f83e864688"
    const res = await optimize.exportDashboardDefinitions([id])
    fs.writeFileSync('exported-dashboard.json', JSON.stringify(res, null, 2))
}

main()

Keywords

FAQs

Package last updated on 01 Feb 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc