Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kane50613/heroku-restarter
Restart your Heroku app with simple one-line code!
https://github.com/kane50613/heroku-restarter
api dyno heroku herokuapp restart
Last synced: 3 months ago
JSON representation
Restart your Heroku app with simple one-line code!
- Host: GitHub
- URL: https://github.com/kane50613/heroku-restarter
- Owner: kane50613
- License: mit
- Created: 2021-07-17T03:33:18.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-08-09T13:44:48.000Z (over 3 years ago)
- Last Synced: 2023-10-08T16:32:46.299Z (over 1 year ago)
- Topics: api, dyno, heroku, herokuapp, restart
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/heroku-restarter
- Size: 23.4 KB
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# heroku-restarter
Restart your Heroku app with simple **one-line** code!---
## Install
```shell
npm i heroku-restarter
```## Example
```js
require("heroku-restarter")("API_KEY", "APP_NAME").restart()
```
look how simple it is## Reference
- [Restarter#restart](src/base/Restarter.js#L29)Parameter | Type | Optional | Description
---|---|---|---
None | - | - | -
- [Restarter#list](src/base/Restarter.js#L12)Parameter | Type | Optional | Description
---|---|---|---
id | string | yes | Specify "dyno id" to restart (leave this blank to restart all dynos)## Author
🧑💻 **Kane**
- Github [@Gary50613](https://github.com/Gary50613)## ❤️ Contributing
Feel free to open [issue](https://github.com/Gary50613/heroku-restarter/issues)
or join [my discord server](https://discord.gg/ct2ufag)