New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

heroku

Package Overview
Dependencies
Maintainers
1
Versions
505
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

heroku

Heroku API bindings for node.

  • 0.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
14K
increased by20.08%
Maintainers
1
Weekly downloads
 
Created
Source

Heroku client API for node

Welcome to this (almost) untested, mostly rip-off of heroku/heroku.rb.

This module provides exactly the same API as heroku's official client. Each function has been carefully fed to monkeys who, through patience and understanding, had been trained to translate basic ruby into coffee script.

Those monkeys' education cost a lot so we could not afford tests for this code. However, we guarantee that no animal was hurt while preparing this module.

How to use?

API exported by this module is exactly the same as API exported by heroku/heroku.rb. Yes, this also means that some variables are not camelCased. We apologize in advance for this inconvenience and, most regretfully, have to deny any liability regarding any possible eye injury while inspecting this code.

That being said, here's a sample use, which is also the only one actually tested:

heroku = require("heroku");
client = new heroku.Heroku({key: "deadbeef"});
client.get_releases("my_app", function (error, result) {
  (...your code here...)
});

For those who prefer to have it with more caffeine, here's the same example in coffee-script:

{Heroku} = require "heroku"
client   = new Heroku
  key : "deadbeef"

client.get_releases "my_app", (error, result) ->
  (..your code here..)

FAQs

Package last updated on 20 Jan 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