Target release: @codedeb/launch-guard@0.1.0 passed isolated ESM installation and TypeScript checks. Its public npm publication has not been independently verified; check the registry before installation.
CI release quality gates — intended for developers building reliable storefronts, search infrastructure and production applications. Unlike a hosted platform, the SDK does not require a Code Deb account for its pure functions.
Build, test and stage
npm ci
npm run test:nepal-sdks
npm run sdk:pack:verify
node scripts/sdk/stage-npm-package.mjs sdk-launch-guard
These commands prepare the candidate without publishing it. Review the generated .sdk-artifacts/npm-stage/sdk-launch-guard contents and all licenses. After a successful, independently verified npm release, the installation command will be npm install @codedeb/launch-guard. Do not advertise this command as publicly working before release verification.
Quickstart using implemented exports
import {runLaunchChecks,assertLaunchReady} from '@codedeb/launch-guard';
const result=runLaunchChecks({url:'https://example.com',html:'<title>Example</title>'});
assertLaunchReady(result,true);
Public API contract
| Entry point or function | Responsibility |
|---|---|
runLaunchChecks(snapshot) | Check canonical URL, indexability, metadata, one H1, headers and optional Core Web Vitals |
assertLaunchReady(result) | Throw on errors or optionally on warnings |
renderLaunchReport(result) | Render readable or structured JSON checks |
codedeb-launch-guard | Node CLI accepts a local JSON snapshot and exits nonzero on failures |
Production integration
Supply real captured HTTP headers and HTML from the same URL. No automatic network crawl or security scan runs here. A passing heuristic is not proof of full WCAG accessibility, browser parity or search indexation.
The published SDK must have bounded resource use, correct authentication boundaries where applicable, and tests for malformed input. Caller-owned storage, OAuth, background jobs or hosted services must be configured explicitly rather than invented by the library.
Compatibility and release history
- 0.1.0 candidate — 21 November 2026: First implementation of the documented independent module, subject to the complete release gate.
- JavaScript ESM with generated TypeScript declarations; Node.js 20+ for Node execution.
- No npm publication, hosted API, SLA, vendor certification, ranking guarantee or customer data access is implied by this candidate.
- Code Deb-owned package code is intended for Apache-2.0 distribution. Third-party dependencies, data and trademarks retain their own terms.
References and related SDKs
Integration design walkthrough
- Capture actual response headers and HTML from the deployment under review.
- Treat accidental noindex, broken canonicals and missing titles as explicit release blockers.
- Fail or warn on measured quality signals without inventing missing Web Vitals data.
- Archive structured CI reports and investigate intentional changes separately.
Release verification and package installation
npm view @codedeb/launch-guard@0.1.0 version
# Only after the registry returns this exact version:
npm install @codedeb/launch-guard@0.1.0
Never confuse a passing local package/TypeScript test with accepted npm publication. The npm registry must expose version metadata, the expected latest dist-tag and a retrievable tarball before the release is announced as installable. The source repository and customer integrations remain private.
Production acceptance checklist
- Exercise normal, empty and malformed input using the documented ESM exports.
- Compare results with source HTML or authorized external API evidence, not generated placeholder data.
- Implement explicit failure handling, timeouts and limits in any caller-owned network adapter.
- Record meaningful audit findings and version-specific regressions without claiming search rankings or Google approval.
Common problems
Version not found: Confirm the package's exact version on npm; its release may still be pending. Unexpected findings: Compare real captured HTML and HTTP status with your audit inputs. Third-party integration fails: Verify your own OAuth, hosting, robots compliance and network policies; the SDK never grants external access.
Related guides
seo audit · vitals intelligence · All developer SDKs · Engineering resources