Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslnode 18–226 runs
build_error
glibcnode 18–226 runs
build_error
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
default
✓ import manifest from 'component-manifest'
✗ const manifest = require('component-manifest')
CommonJS require is also valid as this is an older package that does not enforce ESM.
ComponentManifest
✓ import { ComponentManifest } from 'component-manifest'
If using TypeScript, this named export may be available, though types are not bundled.
ManifestOptions
✓ import type { ManifestOptions } from 'component-manifest'
✗ import { ManifestOptions } from 'component-manifest'
ManifestOptions is likely a type; use type import to avoid runtime issues.
Creates a build manifest for given component names.
import manifest from 'component-manifest';
const components = ['component-a', 'component-b'];
const result = manifest(components);
console.log(result);
Errors
Common errors & fixes
Error: Cannot find module 'component-manifest'
The package is not installed or not found in node_modules.
fixRun 'npm install component-manifest' to install it.
Unhandled type error: manifest is not a function
Importing incorrectly when using TypeScript or ESM wrappers.
fixUse 'const manifest = require('component-manifest')' if CommonJS is used. Audit
Dependencies
No dependency data recorded yet.