Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

screwdriver-config-parser

Package Overview
Dependencies
Maintainers
2
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

screwdriver-config-parser

Node module for parsing screwdriver.yaml configurations

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
187
increased by179.1%
Maintainers
2
Weekly downloads
 
Created
Source

Screwdriver.yaml Configuration Parser

Version Downloads Build Status Open Issues Dependency Status License

Node module for parsing screwdriver.yaml configurations

Usage

npm install screwdriver-config-parser

Parse in Node.js

const parser = require('screwdriver-config-parser');

parser({
    // Configuration (in YAML form)
    yaml: fs.readFileSync('sample.yaml', 'utf-8'),
    // Name of current job
    jobName: 'main'
}, (err, data) => {
    // data.execute contains the commands to execute
    fs.writeFileSync('execute.json', JSON.stringify(data.execute));
});

Or via the command line

config-parse path/to/screwdriver.yaml job-name path-to-artifacts-dir

Testing

npm test

License

Code licensed under the BSD 3-Clause license. See LICENSE file for terms.

Keywords

FAQs

Package last updated on 28 Jun 2016

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