Skip to content

structuredmerge/structuredmerge-typescript

Repository files navigation

StructuredMerge TypeScript

StructuredMerge TypeScript provides npm packages for editor integrations, web-hosted tools, Node services, and other JavaScript runtimes that need portable structured-merge behavior.

The workspace includes the core AST/review contracts, parser substrate support, format-specific merge packages, binary/ZIP planning helpers, provider adapters, and a TypeScript packaging recipe package.

Project links:

Install

Install the packages your tool needs:

pnpm add @structuredmerge/ast-merge @structuredmerge/json-merge

The packages are published under the @structuredmerge npm scope.

Packages

Core:

Format libraries:

Provider and recipe packages:

Portability

The TypeScript packages are developed against the shared StructuredMerge fixtures. Those fixtures define the cross-language behavior expected from the Go, TypeScript, Rust, and Ruby implementations. Conformance checks live in package tests and in the shared spec/fixture tooling rather than in a static launch-status document.

Development

Common checks:

  • mise run check
  • pnpm run check
  • pnpm test

About

TypeScript implementation of the StructuredMerge contract

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors