This buildpack is based on the official Heroku buildpack
and will install Node.js and configure project's dependencies
defined on a
How it Works
Here's an overview of what this buildpack does:
- Uses the semver.io webservice to find the latest version of node that satisfies the engines.node semver range in your
- Allows any recent version of node to be used, including pre-release versions.
- Uses an S3 caching proxy of nodejs.org for faster downloads of the node binary.
- Discourages use of dangerous semver ranges like
- Uses the version of
npm that comes bundled with
npm on the
PATH so they can be executed on a hacking session.
- Always runs
npm install to ensure npm script hooks are executed.
For more technical details, see the compile script.
For more information about using Node.js, please refer to the Heroku Node.js Support