# heroku/heroku-buildpack-nodejs

Heroku's classic buildpack for Node.js apps

Repository: https://github.com/heroku/heroku-buildpack-nodejs
Canonical: https://ross.abutalabs.com/products/heroku-buildpack-nodejs
Homepage: https://devcenter.heroku.com/categories/nodejs-support
Language: Shell
License: MIT
License Family: permissive
Topics: heroku-languages, buildpack, heroku, nodejs
Last push: 2026-08-26T18:52:01+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 99, longevity 100
- inputs: {"age_days": 5586, "days_push": 7, "days_rel": 7, "gap_med": 4, "n_releases_24m": 14}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1346, forks 2611 (observed 2026-08-28T04:04:27.484659+00:00)

## What it is
Heroku's official classic buildpack for building and deploying Node.js applications on the Heroku platform. It detects a package., selects npm, Yarn, or pnpm based on the lockfile, and installs the configured Node.js version.

## Use cases
- deploy a node.js app to heroku
- build node app with npm ci on heroku
- use pnpm or yarn on heroku
- pin node version via engines field in package.
- heroku buildpack for nodejs monorepo

## When to choose
- deploying Node.js apps to Heroku's classic Cedar generation
- you want automatic Node.js version and package manager detection
- you need a maintained, officially supported buildpack

## When to avoid
- deploying with Docker or to the newer Fir generation of Heroku
- running Node.js outside Heroku or on other PaaS platforms
- you need a cloud-native buildpack or multi-language build pipeline

## Facets
- artifact type: infra-config
- maturity: stable
- function: deployment, build-tool, developer-tools
- domain: web-development, cloud-computing, developer-tools
- platform: cloud
- tags: heroku, buildpack, nodejs, npm, yarn, pnpm, paas, devops, linux

## Member repositories
- heroku/heroku-buildpack-nodejs (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:27.484659+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:42:41.395223+00:00, confidence not recorded.
  - readme: https://github.com/heroku/heroku-buildpack-nodejs (fetched 2026-08-28T04:04:27.484659+00:00, sha 8b5b9c008ba5)
  - homepage: https://devcenter.heroku.com/categories/nodejs-support (fetched 2026-08-29T12:01:49.874801+00:00, sha e09712f12944)
  - site_page: https://devcenter.heroku.com/articles/getting-started-with-nodejs (fetched 2026-08-29T12:01:49.884150+00:00, sha 8b928217ca37)
  - site_page: https://devcenter.heroku.com/articles/getting-started-with-rails6 (fetched 2026-08-29T12:01:49.887047+00:00, sha 453bf0da384b)
  - site_page: https://devcenter.heroku.com/articles/getting-started-with-ruby (fetched 2026-08-29T12:01:49.889812+00:00, sha 88312ad1ccd1)
  - site_page: https://devcenter.heroku.com/articles/getting-started-with-python (fetched 2026-08-29T12:01:49.892182+00:00, sha 3819bac75b9c)
  - site_page: https://devcenter.heroku.com/articles/getting-started-with-java (fetched 2026-08-29T12:01:49.894744+00:00, sha dc7790cb59cd)
  - site_page: https://devcenter.heroku.com/articles/getting-started-with-php (fetched 2026-08-29T12:01:49.897304+00:00, sha e2e31417b3cf)
  - site_page: https://devcenter.heroku.com/categories/reference (fetched 2026-08-29T12:01:49.878712+00:00, sha b8184340bb0d)
  - site_page: https://devcenter.heroku.com/changelog (fetched 2026-08-29T12:01:49.881704+00:00, sha 503d43abd007)
- Data as of 2026-08-30T08:39:29.467469+00:00.
