Registry / web-framework / broadlume-common

broadlume-common

JSON →
library1.0.1jsnpmunverified

BroadlumeCommon is a set of shared Angular components and utilities (SimpleControlsModule) published as an npm package for internal use by Broadlume. The current stable version is 1.0.1, with no public release cadence or changelog. It includes TypeScript type definitions and requires Angular and its peer dependencies. Unlike general-purpose UI libraries, it is tightly coupled to Broadlume's internal architecture and not recommended for external use.

npm install broadlume-common
INSTALL
IMPORT
SIG · BROADLUME-COMMON
B
broadlume-common
web-frameworkjavascriptv1.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SimpleControlsModule
import { SimpleControlsModule } from 'broadlume-common'
const SimpleControlsModule = require('broadlume-common')
ESM default; CommonJS require will not work because the package is ESM-only.
SimpleControlsModule (type)
import type { SimpleControlsModule } from 'broadlume-common'
import { SimpleControlsModule } from 'broadlume-common' in a type-only context
Use type import to avoid bundling runtime code when only used for types.
* (barrel export)
import * as BroadlumeCommon from 'broadlume-common'
import BroadlumeCommon from 'broadlume-common' (no default export)
The package exports an object-like module; default import is undefined.

Demonstrates importing and using SimpleControlsModule in an Angular module.

import { NgModule } from '@angular/core'; import { SimpleControlsModule } from 'broadlume-common'; @NgModule({ imports: [SimpleControlsModule] }) export class AppModule {}
Debug
Known issues
gotchaPackage is internal and not intended for external use; API may break without notice.
fix
Avoid using this package outside Broadlume projects.
affects: >=1.0.0
gotchaNo public registry (npmjs.com); install directly from GitHub repository.
fix
Add dependency as 'broadlume-common': 'git+https://github.com/broadlume/BroadlumeCommonControls.git'
affects: >=1.0.0
gotchaRequires Node.js and npm global tools (e.g., npm run installtools) to build from source.
fix
Run 'npm run installtools' in the package directory before building.
affects: >=1.0.0
Errors
Common errors & fixes
Cannot find module 'broadlume-common' or its corresponding type declarations.
Package installed from git but not built; or TypeScript path resolution fails.
fix
Ensure node_modules/broadlume-common has compiled output; add 'broadlume-common' to tsconfig paths if necessary.
Module not found: Error: Can't resolve 'broadlume-common' in ...
Webpack or bundler cannot locate the package because it is not in node_modules or build failed.
fix
Reinstall via 'npm install git+https://github.com/broadlume/BroadlumeCommonControls.git --save' and run 'npm run build' inside the package.
TypeError: Cannot read properties of undefined (reading 'ɵmod')
Angular module not properly imported or the package version incompatible with Angular version.
fix
Check Angular version compatibility; ensure SimpleControlsModule is imported in @NgModule.
Upgrade
Version history
1.0.1latest on npm
Audit
Dependencies
@angular/corerequiredRuntime dependency for Angular components
@angular/commonrequiredRequired by Angular modules
Agent activity
49 hits · last 30 days
node
42
OpenAI (training)
1
Resources
broadlume-common — npm install broadlume-common · libregistry