npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@turjuman/aws-cdk

v0.2.0

Published

Turjuman AWS CDK construct: a composable serverless stack (single-table DynamoDB + Lambda Function URLs) with pre-bundled handlers.

Readme

@turjuman/aws-cdk

AWS CDK construct for Turjuman — the self-hosted, MCP-driven translation backend as a composable, props-driven stack.

It declares the whole topology: the retained single-table DynamoDB store (PK/SK + GSI1/2/3 + Streams) and up to three Lambda Function URLs — the always-on MCP server, the optional REST API (for the developer CLI/CI), and the optional DynamoDB Streams → webhook dispatcher. The Lambda code ships pre-bundled inside @turjuman/mcp-server and @turjuman/api, so the construct needs no build step of its own.

Most self-hosters never touch this directly — they run @turjuman/aws-deploy, the one-command CLI that deploys this construct (and self-bootstraps the CDK environment). Reach for @turjuman/aws-cdk when you want to compose Turjuman into your own CDK app.

Usage

import { App } from "aws-cdk-lib";
import { TurjumanStack } from "@turjuman/aws-cdk";

const app = new App();
new TurjumanStack(app, "Turjuman", {
  // every option is optional; defaults reproduce the standard stack
  table: { pointInTimeRecovery: true, deletionProtection: true },
  webhook: { enabled: false }, // drop the webhook surface
});

Or drop the reusable construct into an existing stack:

import { Turjuman } from "@turjuman/aws-cdk";

const turjuman = new Turjuman(this, "Turjuman", { corsAllowOrigins: ["https://example.com"] });
turjuman.mcpUrl.url; // exposed for outputs / wiring

Then cdk deploy in a bootstrapped account (cdk bootstrap once per account/region). aws-cdk-lib and constructs are peer dependencies — you own the CDK version.

Options

See TurjumanProps / TurjumanStackProps. Highlights: table (billing mode, provisioned capacity, point-in-time recovery, deletion protection), per-function architecture/memorySize/timeout (via functionDefaults, mcp, api, webhook), corsAllowOrigins, vpc, and api/webhook enabled toggles. Defaults reproduce the on-demand, streamed, retained single-table topology.

The DynamoDB table is declared with RemovalPolicy.RETAIN and a deliberately fixed construct id, so a refactor can never make CloudFormation replace (and thus wipe) your data.