Socket
Socket
Sign inDemoInstall

@medable/mdctl-axon-tools

Package Overview
Dependencies
237
Maintainers
8
Versions
33
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @medable/mdctl-axon-tools

Medable Axon Tools :: Tools For interaction with Axon orgs


Version published
Maintainers
8
Install size
20.8 MB
Created

Readme

Source

mdctl-axon-tools :: Tools For interaction with Axon orgs

Axon Tools Module

This module provides tools for interacting with axon orgs

How to use

const { Client } = require('@medable/mdctl-api'),
      { StudyManifestTools } = require('@medable/mdctl-axon-tools'),
      exportEnv = require('../lib/env/export'),
      client = new Client({
                strictSSL: false,
                environment: {
                endpoint: 'https://localhost',
                env: 'test'
            },
            credentials: {
                type: 'password',
                apiKey: 'abcdefghijklmnopqrstuv',
                username: 'test@medable.com',
                password: 'password'
            }
        })
        


async function exportStudy(client) {

    const studyTools = new StudyManifestTools(client, params)

    const { manifest } = await studyTools.getStudyManifest()
    const options = {
        format: 'json',
        manifest
    }
    console.log('Starting Study Export')
    await exportEnv({ client, ...options })

}

exportStudy(client) 

FAQs

Last updated on 29 Feb 2024

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc