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

vmcjs

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vmcjs

Node.js VMC library

  • 0.1.10
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-70%
Maintainers
2
Weekly downloads
 
Created
Source

vmcjs

A node.js library version of the CloudFoundry VMC gem.

Copyright 2011, FeedHenry Ltd. Licensed under the MIT license, please see the LICENSE file. All rights reserved.

Installation

npm install vmcjs

Example usage

var vmcjs = require('vmcjs');
var vmc = new vmcjs.VMC(target, user, pwd);
vmc.login(function(err) {
  vmc.apps(function(err, apps){
    console.dir(apps)
  });
});

See the tests for more sample API usage.

Running tests

You need to set your own CloudFoundry account credentials before running the tests. First, set the following three environment variables:

export CF_TARGET=<CloudFoundry target> e.g. for a local micro instance http://api.<name>.cloudfoundry.me
export CF_EMAIL=<CloudFoundry user email> e.g. foo@bar.com
export CF_PWD=<CloudFoundry user password>
export CF_ADMIN_EMAIL=<CloudFoundry administrator email> e.g. foo@vmware.com
export CF_ADMIN_PWD=<CloudFoundry administrator password>

Then run the tests with: expresso -I lib

FAQs

Package last updated on 25 Sep 2012

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