# constructs

> A programming model for software-defined state

Latest version **10.8.1** (published 2026-08-03) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install constructs
pnpm add constructs
yarn add constructs
bun add constructs
```

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 10.8.1 |
| Published | 2026-08-03 |
| First published | 2019-10-06 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 908.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 462 |
| Author | Amazon Web Services |
| Maintainers | amzn-oss, aws-cdk-team |
| Keywords | aws, cdk, constructs, jsii |

## Links

- npm: https://www.npmjs.com/package/constructs
- Repository: https://github.com/aws/constructs
- Issues: https://github.com/aws/constructs/issues
- npm.io page: https://npm.io/package/constructs

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 10.8.1 (latest) — 2026-08-03
- 3.4.344 (latest-3) — 2023-07-05
- 10.8.0 — 2026-07-30
- 10.7.2 — 2026-07-29
- 10.7.1 — 2026-07-20
- 10.7.0 — 2026-07-15
- 10.6.0 — 2026-03-23
- 10.5.1 — 2026-02-19
- 10.5.0 — 2026-02-17
- 10.4.5 — 2026-01-16
- 10.4.4 — 2025-12-11
- 10.4.3 — 2025-11-06
- 10.4.2 — 2024-10-14
- 10.4.1 — 2024-10-11
- 10.4.0 — 2024-10-11
- … 1335 more at https://npm.io/package/constructs/versions

## README

# Constructs

> Software-defined persistent state

[![Release](https://github.com/aws/constructs/actions/workflows/release.yml/badge.svg)](https://github.com/aws/constructs/actions/workflows/release.yml)
[![npm version](https://badge.fury.io/js/constructs.svg)](https://badge.fury.io/js/constructs)
[![PyPI version](https://badge.fury.io/py/constructs.svg)](https://badge.fury.io/py/constructs)
[![NuGet version](https://badge.fury.io/nu/Constructs.svg)](https://badge.fury.io/nu/Constructs)
[![Maven Central](https://maven-badges.sml.io/maven-central/software.constructs/constructs/badge.svg?style=plastic)](https://maven-badges.sml.io/maven-central/software.constructs/constructs)

## What are constructs?

Constructs are classes which define a "piece of system state". Constructs can be composed together to form higher-level building blocks which represent more complex state.

Constructs are often used to represent the _desired state_ of cloud applications. For example, in the AWS CDK, which is used to define the desired state for AWS infrastructure using CloudFormation, the lowest-level construct represents a _resource definition_ in a CloudFormation template. These resources are composed to represent higher-level logical units of a cloud application, etc.

## Support policy

All [maintained Node.js versions](https://nodejs.org/en/about/previous-releases#release-schedule) are supported by this package.

## Contributing

This project has adopted the [Amazon Open Source Code of
Conduct](https://aws.github.io/code-of-conduct).

We welcome community contributions and pull requests. See our [contribution
guide](./CONTRIBUTING.md) for more information on how to report issues, set up a
development environment and submit code.

## License

This project is distributed under the [Apache License, Version 2.0](./LICENSE).

---
_Source: https://npm.io/package/constructs · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
