{"library":"ember-cli-version-checker","type":"library","category":null,"description":"The `ember-cli-version-checker` package is a fundamental utility for Ember CLI addon authors. It provides a robust mechanism to programmatically determine the installed versions of NPM or (historically) Bower packages within a consuming Ember application's dependency tree. This allows addons to implement conditional logic, such as providing different features, templates, or polyfills, based on the host application's Ember CLI or Ember.js version, thus ensuring broad compatibility. The current stable version is 5.1.2, with releases occurring on an as-needed basis for bug fixes and minor enhancements rather than a fixed cadence. Its core differentiator lies in its deep integration with the Ember CLI project context, simplifying complex semver comparisons for specific dependencies.","language":"javascript","status":"active","version":"5.1.2","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install ember-cli-version-checker","imports":["const VersionChecker = require('ember-cli-version-checker');","const checker = new VersionChecker(this.project);\nconst dep = checker.for('ember-cli');\nif (dep.gte('2.0.0')) { /* ... */ }"]},{"cmd":"yarn add ember-cli-version-checker","imports":[]},{"cmd":"pnpm add ember-cli-version-checker","imports":[]}],"homepage":null,"github":"https://github.com/ember-cli/ember-cli-version-checker","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/ember-cli-version-checker","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/ember-cli-version-checker/compatibility"}}