{"id":13394156,"url":"https://github.com/voxpelli/node-installed-check","last_synced_at":"2025-04-06T02:08:55.058Z","repository":{"id":4061088,"uuid":"51836967","full_name":"voxpelli/node-installed-check","owner":"voxpelli","description":"Checks that all dependencies in your package.json have supported versions installed and complies with your specified node engine version range","archived":false,"fork":false,"pushed_at":"2024-04-30T08:08:17.000Z","size":120,"stargazers_count":107,"open_issues_count":16,"forks_count":7,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-05-01T12:23:57.902Z","etag":null,"topics":["cli","dependency-analysis","hacktoberfest","npm","package-json","validation","versioning"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/voxpelli.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":["voxpelli"]}},"created_at":"2016-02-16T13:17:19.000Z","updated_at":"2024-05-07T01:36:50.983Z","dependencies_parsed_at":"2023-11-14T02:27:44.721Z","dependency_job_id":"2fbfbd01-79ad-4095-a67d-732c8086b323","html_url":"https://github.com/voxpelli/node-installed-check","commit_stats":{"total_commits":154,"total_committers":4,"mean_commits":38.5,"dds":0.08441558441558439,"last_synced_commit":"39f673458979bbcfc093c5dd355cc6d1ad62ab30"},"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voxpelli%2Fnode-installed-check","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voxpelli%2Fnode-installed-check/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voxpelli%2Fnode-installed-check/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voxpelli%2Fnode-installed-check/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/voxpelli","download_url":"https://codeload.github.com/voxpelli/node-installed-check/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247423515,"owners_count":20936626,"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":["cli","dependency-analysis","hacktoberfest","npm","package-json","validation","versioning"],"created_at":"2024-07-30T17:01:10.819Z","updated_at":"2025-04-06T02:08:55.039Z","avatar_url":"https://github.com/voxpelli.png","language":"JavaScript","readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg\n    src=\"installed-check.svg\"\n    width=\"650\"\n    height=\"auto\"\n    alt=\"installed-check\"\n  /\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n[![npm version](https://img.shields.io/npm/v/installed-check.svg?style=flat)](https://www.npmjs.com/package/installed-check)\n[![npm downloads](https://img.shields.io/npm/dm/installed-check.svg?style=flat)](https://www.npmjs.com/package/installed-check)\n[![dependents](https://img.shields.io/librariesio/dependents/npm/installed-check?style=flat)](https://libraries.io/npm/installed-check)\n[![js-semistandard-style](https://img.shields.io/badge/code%20style-semistandard-brightgreen.svg)](https://github.com/voxpelli/eslint-config)\n[![Follow @voxpelli@mastodon.social](https://img.shields.io/mastodon/follow/109247025527949675?domain=https%3A%2F%2Fmastodon.social\u0026style=social)](https://mastodon.social/@voxpelli)\n\n\u003c/div\u003e\n\nVerifies that installed modules comply with the requirements specified in `package.json`.\n\nBy default checks engine ranges, peer dependency ranges and installed versions and, in mono-repos using workspaces, by default checks all workspaces as well as the workspace root.\n\n## Usage\n\n### Command line\n\n```sh\nnpm install -g installed-check\n```\n\nThen run it at the root of your project to validate the installed dependencies:\n\n```sh\ninstalled-check\n```\n\n### As npm script\n\n```sh\nnpm install --save-dev installed-check\n```\n\n```json\n\"scripts\": {\n  \"test\": \"installed-check\"\n}\n```\n\n### Programmatic use\n\nUse [installed-check-core](https://github.com/voxpelli/node-installed-check-core)\n\n## Checks\n\n* `--engine-check` / `-e` – if set `installed-check` will check that the installed modules doesn't have stricter [`engines`](https://docs.npmjs.com/cli/v10/configuring-npm/package-json#engines) ranges than those  in the `package.json` and suggests an alternative requirement if they do. If set, the default checks will be overriden.\n* `--peer-check` / `-p` – if set `installed-check` will check that the installed modules doesn't have stricter [`peerDependencies`](https://docs.npmjs.com/cli/v10/configuring-npm/package-json#peerdependencies) ranges than those in the `package.json` and suggests an alternative requirement if they do. If set, the default checks will be overriden.\n* `--version-check` / `-c` – if set `installed-check` will check that the installed modules comply with the version requirements set for them the `package.json`. If set, the default checks will be overriden.\n\n## Check options\n\n* `--ignore ARG` / `-i ARG` – excludes the named dependency from non-version checks. Supports [`picomatch`](https://www.npmjs.com/package/picomatch) globbing syntax, eg. `@types/*` (but be sure to provide the pattern in a way that avoids your shell from matching it against files first)\n* `--ignore-dev` / `-d` – if set then dev dependencies won't be included in the non-version checks.\n* `--strict` / `-s` – treats warnings as errors\n\n## Fix options\n  * `--fix` – tries to apply all suggestions and write them back to disk\n\n## Workspace options\n\n  * `--no-include-workspace-root` – excludes the workspace root package. Negated equivalent of npm's [`--include-workspace-root`](https://docs.npmjs.com/cli/v10/commands/npm-run-script#include-workspace-root)\n  * `--no-workspaces` – excludes workspace packages. Negated equivalent of npm's [`--workspaces`](https://docs.npmjs.com/cli/v10/commands/npm-run-script#workspaces)\n  * `--workspace=ARG` / `-w ARG` – excludes all workspace packages not matching these names / paths. Equivalent to npm's [`--workspace` / `-w`](https://docs.npmjs.com/cli/v10/commands/npm-run-script#workspace)\n  * `--workspace-ignore=ARG` – xcludes the specified paths from workspace lookup. (Supports globs)\n\n### Additional command line options\n\n* `--debug` – prints debug info\n* `--verbose` / `-v` – prints warnings and notices\n* `--help` / `-h` – prints help and exits\n* `--version` – prints current version and exits\n\n## Similar modules\n\n* [`knip`](https://github.com/webpro/knip) – finds unused files, dependencies and exports in your JavaScript and TypeScript projects – a great companion module to `installed-check`\n","funding_links":["https://github.com/sponsors/voxpelli"],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoxpelli%2Fnode-installed-check","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvoxpelli%2Fnode-installed-check","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoxpelli%2Fnode-installed-check/lists"}