Quickstart
import { getFeatureInstance, type IQHealthcheck } from '@quik/core';
const healthcheck = getFeatureInstance<IQHealthcheck>('IQHealthcheck');
healthcheck.register('database');
healthcheck.ready('database');
Notes
- There is no top-level
getHealthcheck()helper — resolve the registry throughgetFeatureInstance<IQHealthcheck>('IQHealthcheck'), the same feature-lookup pattern used for other core features. @quik/healthcheckinstalls aQHealthcheckinstance as theIQHealthcheckfeature duringsetup(), replacing the framework's default no-op implementation.- When
@quik/httpis loaded,GET /healthandGET /readyare registered automatically duringonAfterInit— no manual route registration is needed.