
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
heroku-legacy
Advanced tools
Port of heroku-api gem to NodeJS.
$ npm install heroku-legacy
The API is exactly the same, with the following differences:
function (err, body)
where err
is one of the error defined in src/errors.coffee
if any, or null
otherwise and body
is the JSON response.username/password
constructor, the object should be used
in the callback, and not as the return value.Here is a short example (in CoffeeScript).
With username/password:
HerokuApi = require 'heroku-legacy'
new HerokuApi username: 'test@foo.jp', password: 'password', (err, api) ->
return handleError(err) unless err == null
api.getApps (err, apps) ->
return handleError unless err == null
console.log apps
With API key:
HerokuApi = require 'heroku-legacy'
api = new HerokuApi apiKey: 'my-api-key'
api.getApps (err, apps) ->
return handleError(err) unless err == null
console.log apps
FAQs
Heroku legacy API client for NodeJS
The npm package heroku-legacy receives a total of 0 weekly downloads. As such, heroku-legacy popularity was classified as not popular.
We found that heroku-legacy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.