Socket
Book a DemoInstallSign in
Socket

jepso-ci-config

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jepso-ci-config

API for interacting with jepso-ci config files

latest
Source
npmnpm
Version
2.0.3
Version published
Maintainers
1
Created
Source

Build Status Dependency Status

jepso-ci-config

API for interacting with jepso-ci config files

Installation

$ npm install jepso-ci-config

API

loadLocal(directory, [callback])

Loads and validates/error-corrects jepso-ci configuration from a local directory. If callback is omitted a promise is returned.

var config = require('jepso-ci-config');
config.loadLocal(__dirname, function (err, res) {
  if (err) throw err;
  else console.dir(res);
});

loadLocal.sync(directory)

Loads and validates/error-corrects jepso-ci configuration from a local directory.

var config = require('jepso-ci-config');
console.dir(config.loadLocal.sync(__dirname));

loadRemote(user, repo, [tag = 'master'], [callback])

Loads and validates/error-corrects jepso-ci configuration from a github repository. If callback is omitted a promise is returned.

var config = require('jepso-ci-config');
config.loadRemote('jepso-ci-examples', 'minimum', function (err, res) {
  if (err) throw err;
  else console.dir(res);
});

License

MIT

Keywords

jepso-ci

FAQs

Package last updated on 29 Mar 2013

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