MCPcopy
hub / github.com/aws/jsii

github.com/aws/jsii @v1.138.0 sqlite

repository ↗ · DeepWiki ↗ · release v1.138.0 ↗
4,918 symbols 11,967 edges 447 files 852 documented · 17%
README

jsii

Join the chat at https://cdk.Dev All Contributors Build Status npm docker

Overview

jsii allows code in any language to naturally interact with JavaScript classes. It is the technology that enables the AWS Cloud Development Kit to deliver polyglot libraries from a single codebase!

A class library written in TypeScript can be used in projects authored in TypeScript or Javascript (as usual), but also in Python, Java, C# (and other languages from the .NET family), ...

:question: Documentation

Head over to our documentation website!

The jsii toolchain is spread out on multiple repositories:

  • aws/jsii-compiler is where the jsii compiler is maintained
  • aws/jsii-rosetta is where the jsii-rosetta sample code transliteration tool is maintained
  • aws/jsii is where the rest of the toolchain is maintained, including:
  • The jsii runtime libraries for the supported jsii target languages
  • @jsii/spec, the package that defines the .jsii assembly specification
  • jsii-pacmak, the bindings generator for jsii packages
  • jsii-reflect, a higher-level way to process .jsii assemblies
  • jsii-config, an interactive tool to help configure your jsii package

:book: Blog Posts

Here's a collection of blog posts (in chronological order) related to jsii:

:information_source: If you wrote blog posts about jsii and would like to have them referenced here, do not hesitate to file a pull request to add the links here!

:gear: Contributing

See CONTRIBUTING.

Contributors ✨

Thanks goes to these wonderful people (emoji key):

AWS CDK Automation AWS CDK Automation 🚧 👀 Aaron Costley Aaron Costley 🐛 💻 🤔 👀 Abdallah Hodieb Abdallah Hodieb 🐛 Adam Ruka Adam Ruka 🐛 💻 🚧 👀 Adrian Dimech Adrian Dimech 💻 Adrian Hesketh Adrian Hesketh 💻 Alex Pulver Alex Pulver 🐛
Amir Szekely Amir Szekely 🚧 Andi Pabst Andi Pabst 🐛 Andrew Wason Andrew Wason 🐛 💻 André Fontenele André Fontenele 💻 Andy Slezak Andy Slezak 💻 Ansgar Mertens Ansgar Mertens 🚧 💻 🐛 Anshul Guleria Anshul Guleria 🤔
Ari Palo Ari Palo 🤔 Armaan Tobaccowalla Armaan Tobaccowalla 🐛 Bartłomiej Jurek Bartłomiej Jurek 🐛 Ben Bridts Ben Bridts 📖 Ben Chaimberg Ben Chaimberg 📖 Ben Farr Ben Farr 📖 Ben Walters Ben Walters 🤔
Benjamin Macher Benjamin Macher 📖 Benjamin Maizels Benjamin Maizels 💻 👀 Bervianto Leo Pratama Bervianto Leo Pratama 🚧 Bill Cauchois Bill Cauchois 🤔 Bradley Sherman Bradley Sherman 💻 Brecht Verhoeve<

Extension points exported contracts — how you extend this code

Builder (Interface)
A superinterface common to instance builders. [6 implementers]
packages/@jsii/java-runtime/project/src/main/java/software/amazon/jsii/Builder.java
TargetBuilder (Interface)
(no doc) [6 implementers]
packages/jsii-pacmak/lib/builder.ts
IJSII417PublicBaseOfBase (Interface)
(no doc) [12 implementers]
packages/jsii-calc/lib/erasures.ts
IFriendly (Interface)
(no doc) [11 implementers]
packages/@scope/jsii-calc-lib/lib/index.ts
Documentable (Interface)
(no doc) [5 implementers]
packages/jsii-reflect/lib/docs.ts
IReport (Interface)
(no doc) [2 implementers]
packages/jsii-diff/lib/types.ts
Suite (Interface)
(no doc)
tools/jsii-compliance/schema.ts
PromptAnswers (Interface)
(no doc)
packages/jsii-config/lib/prompt.ts

Core symbols most depended-on inside this repo

line
called by 674
packages/codemaker/src/codemaker.ts
get
called by 200
packages/@jsii/kernel/src/runtime-index.ts
closeBlock
called by 134
packages/codemaker/src/codemaker.ts
openBlock
called by 130
packages/codemaker/src/codemaker.ts
toString
called by 125
packages/jsii-calc/lib/compliance.ts
process
called by 107
packages/@jsii/kernel/src/serialization.ts
stringify
called by 104
packages/jsii-calc/lib/compliance.ts
create
called by 99
packages/@jsii/kernel/src/kernel.ts

Shape

Method 2,486
Function 1,011
Class 933
Interface 330
Struct 111
Enum 31
TypeAlias 15
Route 1

Languages

TypeScript68%
Go11%
Java11%
Python10%

Modules by API surface

packages/jsii-calc/lib/compliance.ts691 symbols
packages/jsii-pacmak/lib/targets/python.ts203 symbols
packages/@jsii/go-runtime-test/project/compliance_test.go186 symbols
packages/@jsii/java-runtime-test/project/src/test/java/software/amazon/jsii/testing/ComplianceTest.java181 symbols
packages/@jsii/python-runtime/tests/test_compliance.py180 symbols
packages/jsii-pacmak/lib/targets/java.ts154 symbols
packages/@jsii/python-runtime/tests/test_runtime_type_checking.py72 symbols
packages/@jsii/kernel/src/kernel.ts67 symbols
packages/jsii-pacmak/lib/targets/python/type-name.ts59 symbols
packages/jsii-calc/lib/calculator.ts56 symbols
packages/jsii-pacmak/lib/targets/dotnet/dotnetgenerator.ts53 symbols
packages/jsii-reflect/lib/tree.ts51 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

Dependencies from manifests, versioned

github.com/Masterminds/semver/v3v3.5.0 · 1×
github.com/aws/jsii-runtime-gov1.126.0 · 1×
github.com/mattn/go-colorablev0.1.14 · 1×
github.com/mattn/go-isattyv0.0.22 · 1×
github.com/pmezard/go-difflibv1.0.0 · 1×

For agents

$ claude mcp add jsii \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact