Socket
Book a DemoInstallSign in
Socket

heroku-cli-node

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

heroku-cli-node

utilities for working with Node.js programs

latest
npmnpm
Version
2.1.0
Version published
Maintainers
1
Created
Source

Quickly create best-practice Node.js apps for Heroku

$ heroku plugins:install heroku-cli-node
$ heroku node:generate myapp

Why?

A solid node app still takes a lot of boilerplate:

  • package.json, configured for an app instead of a module
  • .env to inject environment variables locally
  • yarn.lock to lock your dependencies
  • readme.md to describe what the app does
  • .gitignore so you can keep node modules out of git
  • app.json to support Pipelines, Review Apps, CI, and the 'Deploy to Heroku' Button
  • at least one file in /bin to provide an executable for your app
  • a standard linter to keep you on track
  • a mechanism for identifying security vulnerabilities
  • automated testing
  • and finally a Procfile to list your app's process types

...and I like to build solid apps, but I'm also lazy.

Keywords

heroku-plugin

FAQs

Package last updated on 19 May 2017

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