Package detail

@ts-bridge/resolver

ts-bridge2.2kMIT0.2.0

An implementation of the Node.js module resolution algorithm.

build-tool, cjs, commonjs, development

readme

TS Bridge

Bridge the gap between ES modules and CommonJS modules.


[Documentation] [Contributing]

TS Bridge is a build tool for TypeScript libraries, with a focus on making it easy to build libraries that need to be used in different environments, such as ES modules and CommonJS. It is designed to be simple and easy to use, with zero configuration needed to get started.

Take a look at the features of TS Bridge to see what it can do, or jump straight into the installation guide to get started building your TypeScript projects with TS Bridge.

[!IMPORTANT] TS Bridge is currently in beta. While it is stable and ready for use, there may be some bugs or missing features. If you encounter any issues, please open an issue on GitHub.

changelog

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased

0.2.0

Changed

  • BREAKING: Add support for Node.js 22 and drop support for Node.js 21 (#57)

0.1.2

Fixed

  • Resolve index.js file in main if main is a folder (#48)

0.1.1

Fixed

  • Remove require from default exports conditions (#41)
    • Node.js does not use the require field when resolving CommonJS modules.

0.1.0

Added

  • Initial release of the @ts-bridge/resolver package (#20, #24)