Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@medable/mdctl-manifest

Package Overview
Dependencies
Maintainers
0
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@medable/mdctl-manifest

Medable Developer Tools :: Manifest Manager

latest
Source
npmnpm
Version
1.0.73
Version published
Maintainers
0
Created
Source

mdctl-manifest

Developer Tools Manifest Module for Medable

This module will let you add boilerplate objects into the Medable's manifest.

Usage

You should provide a path where current manifest.json or manfiest.yaml lives.

const Manifest = require('@medable/mdctl-manifest'),
      tempDir = path.join(process.cwd(), `output-${new Date().getTime()}`),
      options = {
        object: 'script',
        type: 'route',
        name: 'c_my_custom_route',
        format: 'json', 
        dir: tempDir
      }

await Manifest.add(options)

The code above will add a 2 new files and update manifest file.

The files will be located on the following paths

/env/scripts/c_my_custom_route.json
/env/scripts/js/c_my_custom_route.js

FAQs

Package last updated on 31 Jul 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