Skip to content

kane50613/heroku-restarter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

heroku-restarter

Restart your Heroku app with simple one-line code!


Install

npm i heroku-restarter

Example

require("heroku-restarter")("API_KEY", "APP_NAME").restart()

look how simple it is

Reference

Parameter Type Optional Description
None - - -
Parameter Type Optional Description
id string yes Specify "dyno id" to restart (leave this blank to restart all dynos)

Author

🧑‍💻 Kane

❤️ Contributing

Feel free to open issue or join my discord server