Registry / aws / cdk-cli

cdk-cli

JSON →
library1.1.0jsnpmunverified

cdk-cli is an unofficial AWS CDK CLI helper that provides additional utility commands for AWS CDK applications. The package is version 1.1.0 and is in maintenance mode; it does not replace the official AWS CDK CLI but offers shortcuts and wrappers. Its key differentiator is simplifying common CDK workflows, though it lacks active documentation and may have limited community support compared to the official tool.

npm install cdk-cli
INSTALL
IMPORT
SIG · CDK-CLI
C
cdk-cli
awsjavascriptv1.1.0
Install
—
Import
—
Disk
—
Pass rate
0/ 6
Env Coverage0 / 6
glibc
18–22
musl
18–22
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
musl
node 18–226 runs
build_error
glibc
node 18–226 runs
build_error
Code
Verified usage

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

default
✓ import cdkCli from 'cdk-cli';
The package exports a single default function.
CdkCli
✓ import { CdkCli } from 'cdk-cli';
✗ const CdkCli = require('cdk-cli');
Named export available as an alternative to default import.
run
✓ import { run } from 'cdk-cli';
✗ import run from 'cdk-cli';
The 'run' function is a named export, not default.

Shows basic usage of the default import to execute a CDK deploy command with options.

import cdkCli from 'cdk-cli'; async function main() { const result = await cdkCli({ command: 'deploy', stack: 'MyStack', profile: 'default', }); console.log(result); } main().catch(console.error);
cdk-cli --version
Debug
Known issues
deprecatedPackage is no longer actively maintained; use official AWS CDK CLI instead.
fix
Migrate to the official AWS CDK CLI tool.
affects: >=1.0.0
gotchaThe package does not validate command arguments; invalid commands may cause silent failures.
fix
Double-check command names and stack names before calling the function.
affects: *
breakingIn version 1.1.0, the signature of the default export changed from accepting a string to an object.
fix
Update calls to pass an object with 'command' and 'stack' properties instead of a single string.
affects: >=1.1.0
Errors
Common errors & fixes
TypeError: cdkCli is not a function
Incorrect import naming; using a named export that doesn't exist.
fix
Use 'import cdkCli from 'cdk-cli'' or 'import { CdkCli } from 'cdk-cli''.
Error: Cannot find module 'cdk-cli'
Package not installed or not in node_modules.
fix
Run 'npm install cdk-cli' to install the package.
Upgrade
Version history
1.1.0latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
30 hits · last 30 days
node
30
Resources
cdk-cli — npm install cdk-cli · libregistry