hwc
heroku-web-client
npm i heroku-web-client
hwc

heroku-web-client

Heroku Platform API client for Web applications

by Victor Costan

0.2.0 (see all)License:MITTypeScript:Not FoundCategories:Vanilla JavaScript Heroku API
npm i heroku-web-client
Readme

Heroku Platform API Client for Web Applications

Build Status Dependency Status NPM Version

This is a client library for the Heroku Platform API that can be used by Web applications.

The library relies on the fetch API, which can be used natively in most modern browsers, and on the WebCrypto API, which is also quite well supported. A fetch polyfill and a WebCrypto polyfill can be used to extend this library's compatibility all the way down to Internet Explorer 10.

Development Setup

Install the project's dependencies and run a one-time setup script.

npm install
HEROKU_ACCOUNT=email:password node test/setup.js

Create a testing Heroku account and plug in the email and password into testdata/heroku_account.json. Using a real Heroku account is not recommended, as bugs in the library could result in your applications getting deleted.

{
  "email": "your@test.account",
  "password": "your-secret"
}

License

This project is Copyright (c) 2016 Victor Costan, and distributed under the MIT License.

Downloads/wk

4

GitHub Stars

1

LAST COMMIT

4yrs ago

MAINTAINERS

1

CONTRIBUTORS

0

OPEN ISSUES

0

OPEN PRs

0
VersionTagPublished
0.2.0
latest
5yrs ago
No tutorials found
Add a tutorial