Big news!Introducing Socket AI - ChatGPT-Powered Threat Analysis. Learn more
Socket
Log inDemoInstall

@medable/mdctl-import-adapter

Package Overview
Dependencies
11
Maintainers
5
Versions
74
Issues
File Explorer

Advanced tools

@medable/mdctl-import-adapter

Medable Developer Client Tools :: Import Adapter

    1.0.69latest
    GitHub

Version published
Maintainers
5
Weekly downloads
344
decreased by-45.66%

Weekly downloads

Readme

Source

mdctl-import-adapter

Developer Tools Import Adapter for Medable

This module will let you import Org configurations from an exported tree layout.

Usage

const ImportFileTreeAdapter = require('@medable/mdctl-import-adapter'), adapter = new ImportFileTreeAdapter('/documents/exported_folder'), iter = adapter.iterator[Symbol.asyncIterator]() let item = await iter.next() while(!item.done){ console.log(item.value) item = await iter.next() } // Get all blobs items const { blobs } = adapter if (blobs.length) { blobs.forEach((b) => { adapter.getAssetStream(b).on('data', (d) => { console.log(d) }).on('end', () => { console.log('end blob item') }) blobs.pop() }) }

FAQs

Last updated on 09 Feb 2023

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • 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