{"id":15345460,"url":"https://github.com/jthomas/nodejs-v4-buildpack","last_synced_at":"2026-05-04T12:38:49.422Z","repository":{"id":140705918,"uuid":"42170725","full_name":"jthomas/nodejs-v4-buildpack","owner":"jthomas","description":"Cloud Foundry Node.js Buildpack with v4.0.0 support.","archived":false,"fork":false,"pushed_at":"2015-09-09T10:02:08.000Z","size":13492,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-31T17:43:31.362Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jthomas.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-09T09:59:31.000Z","updated_at":"2016-07-11T02:06:50.000Z","dependencies_parsed_at":"2023-03-13T10:41:12.345Z","dependency_job_id":null,"html_url":"https://github.com/jthomas/nodejs-v4-buildpack","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jthomas/nodejs-v4-buildpack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jthomas%2Fnodejs-v4-buildpack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jthomas%2Fnodejs-v4-buildpack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jthomas%2Fnodejs-v4-buildpack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jthomas%2Fnodejs-v4-buildpack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jthomas","download_url":"https://codeload.github.com/jthomas/nodejs-v4-buildpack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jthomas%2Fnodejs-v4-buildpack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32608168,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-01T11:13:29.453Z","updated_at":"2026-05-04T12:38:49.404Z","avatar_url":"https://github.com/jthomas.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CloudFoundry build pack: Node.js\n\nA Cloud Foundry [buildpack](http://docs.cloudfoundry.org/buildpacks/) for Node based apps.\n\nThis is based on the [Heroku buildpack] (https://github.com/heroku/heroku-buildpack-nodejs).\n\nAdditional documentation can be found at the [CloudFoundry.org](http://docs.cloudfoundry.org/buildpacks/).\n\n## Usage\n\nThis buildpack will get used if you have a `package.json` file in your project's root directory.\n\n```bash\ncf push my_app -b https://github.com/cloudfoundry/buildpack-nodejs.git\n```\n\n## Disconnected environments\nTo use this buildpack on Cloud Foundry, where the Cloud Foundry instance limits some or all internet activity, please read the [Disconnected Environments documentation](https://github.com/cf-buildpacks/buildpack-packager/blob/master/doc/disconnected_environments.md).\n\n### Vendoring app dependencies\nAs stated in the [Disconnected Environments documentation](https://github.com/cf-buildpacks/buildpack-packager/blob/master/doc/disconnected_environments.md), your application must 'vendor' it's dependencies.\n\nFor the NodeJS buildpack, use ```npm```:\n\n```shell \ncd \u003cyour app dir\u003e\nnpm install # vendors into /node_modules\n```\n\n```cf push``` uploads your vendored dependencies.\n\n### Additional extensions\nIn cached mode, [use the semver node_module](bin/compile#L30-32) (as opposed to http://semver.io) to resolve the correct node version. The semver.io service has an additional preference for stable versions not present in the node module version. We wrap the node module using [lib/version_resolver.js](lib/version_resolver.js) to add back this functionality.\n\n## Building\n1. Make sure you have fetched submodules\n\n  ```bash\n  git submodule update --init\n  ```\n1. Get latest buildpack dependencies\n\n  ```shell\n  BUNDLE_GEMFILE=cf.Gemfile bundle\n  ```\n\n1. Build the buildpack\n\n  ```shell\n  BUNDLE_GEMFILE=cf.Gemfile bundle exec buildpack-packager [ cached | uncached ]\n  ```\n\n1. Use in Cloud Foundry\n\n  Upload the buildpack to your Cloud Foundry and optionally specify it by name\n  ```bash\n  cf create-buildpack custom_node_buildpack node_buildpack-offline-custom.zip 1\n  cf push my_app -b custom_node_buildpack\n  ```\n\n## Supported binary dependencies\n\nThe NodeJS buildpack only supports the two most recent stable patches for each dependency in the [manifest.yml](manifest.yml).\n\nIf you want to use previously supported dependency versions, provide the `--use-custom-manifest=manifest-including-unsupported.yml` option to `buildpack-packager`.\n\n## Options\n\n### Specify a node version\n\nSet engines.node in package.json to the semver range\n(or specific version) of node you'd like to use.\n(It's a good idea to make this the same version you use during development)\n\n```json\n\"engines\": {\n  \"node\": \"0.11.x\"\n}\n```\n\n```json\n\"engines\": {\n  \"node\": \"0.10.33\"\n}\n```\n\n## Contributing\n\nFind our guidelines [here](./CONTRIBUTING.md).\n\n## Reporting Issues\n\nOpen an issue on this project\n\n## Active Development\n\nThe project backlog is on [Pivotal Tracker](https://www.pivotaltracker.com/projects/1042066)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjthomas%2Fnodejs-v4-buildpack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjthomas%2Fnodejs-v4-buildpack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjthomas%2Fnodejs-v4-buildpack/lists"}