{"id":16453449,"url":"https://github.com/blimmer/enforced-package-json-engines","last_synced_at":"2026-03-18T19:45:48.430Z","repository":{"id":145468924,"uuid":"392718919","full_name":"blimmer/enforced-package-json-engines","owner":"blimmer","description":null,"archived":false,"fork":false,"pushed_at":"2021-08-04T14:36:28.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-09T13:57:47.928Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blimmer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-04T14:27:48.000Z","updated_at":"2022-11-16T23:27:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"856cf3dd-2662-4e33-9a95-679d5edb14c9","html_url":"https://github.com/blimmer/enforced-package-json-engines","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blimmer%2Fenforced-package-json-engines","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blimmer%2Fenforced-package-json-engines/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blimmer%2Fenforced-package-json-engines/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blimmer%2Fenforced-package-json-engines/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blimmer","download_url":"https://codeload.github.com/blimmer/enforced-package-json-engines/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240934407,"owners_count":19880991,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-11T10:15:39.629Z","updated_at":"2025-10-03T14:11:37.948Z","avatar_url":"https://github.com/blimmer.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Demo - Enforced `package.json` engine versions\n\nThis demo repository shows how to enforce the `engines` property in a `package.json` file. See also\n[this StackOverflow answer](https://stackoverflow.com/a/68653111/808678).\n\nIn the [package.json](https://github.com/blimmer/enforced-package-json-engines/blob/main/package.json), we're requiring\nNode \u003e= 14. Because we have a local [.npmrc](https://github.com/blimmer/enforced-package-json-engines/blob/main/.npmrc)\nfile with `engines-strict=true`, running `npm install` with any Node version earlier than 14 will cause an error:\n\n![](https://i.imgur.com/T3w1fC8.png)\n\nYou can see this configuration working by checking out the\n[GitHub action](https://github.com/blimmer/enforced-package-json-engines/actions/workflows/npm-enforced-engines.yml)\nresults.\n\n![](https://i.imgur.com/Pn6AvNr.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblimmer%2Fenforced-package-json-engines","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblimmer%2Fenforced-package-json-engines","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblimmer%2Fenforced-package-json-engines/lists"}