Create JavaScript libraries in a simple and intuitive way.
1,030
stars
1,462
commits
TypeScript
primary language
Sep 10, 2026
updated
English | 简体中文
[!NOTE] The
mainbranch is under active development for Rslib 1.0.The stable 0.x releases are maintained in the v0.x branch.
The documentation for Rslib v1 is available at v1.rslib.rs.
Rslib is a library development tool that leverages the well-designed configurations and plugins of Rsbuild, empowering library developers to take advantage of the extensive knowledge and ecosystem of webpack and Rspack.
Rslib aims to provide library developers with:
Rslib has the following features:
Rslib is implemented based on Rsbuild and fully reuses the capabilities and ecosystem of Rsbuild.
The following diagram illustrates the relationship between Rslib and other tools in the ecosystem:
To get started with Rslib, see the Quick start.
Rslib is part of Rstack, the fast, unified JavaScript toolchain for developers and agents.
| Name | Description | Version |
|---|---|---|
| Rspack | Bundler | |
| Rsbuild | Build tool | |
| Rslib | Library development tool | |
| Rspress | Static site generator | |
| Rsdoctor | Build analyzer | |
| Rstest | Testing framework | |
| Rslint | Linter |
[!NOTE] We highly value any contributions to Rslib!
Please read the Contributing Guide.
This repo has adopted the ByteDance Open Source Code of Conduct. Please check Code of Conduct for more details.
Come and chat with us on Discord! The Rstack team and users are active there, and we're always looking for contributions.
Parts of Rslib are derived from or inspired by many excellent open source projects. We sincerely appreciate the work of these projects and the ideas they have shared with the community:
Rslib is licensed under the MIT License.
TypeScript
95.6%
JavaScript
3.3%
Create JavaScript libraries in a simple and intuitive way.
1,030
stars
1,462
commits
TypeScript
primary language
Sep 10, 2026
updated
English | 简体中文
[!NOTE] The
mainbranch is under active development for Rslib 1.0.The stable 0.x releases are maintained in the v0.x branch.
The documentation for Rslib v1 is available at v1.rslib.rs.
Rslib is a library development tool that leverages the well-designed configurations and plugins of Rsbuild, empowering library developers to take advantage of the extensive knowledge and ecosystem of webpack and Rspack.
Rslib aims to provide library developers with:
Rslib has the following features:
Rslib is implemented based on Rsbuild and fully reuses the capabilities and ecosystem of Rsbuild.
The following diagram illustrates the relationship between Rslib and other tools in the ecosystem:
To get started with Rslib, see the Quick start.
Rslib is part of Rstack, the fast, unified JavaScript toolchain for developers and agents.
| Name | Description | Version |
|---|---|---|
| Rspack | Bundler | |
| Rsbuild | Build tool | |
| Rslib | Library development tool | |
| Rspress | Static site generator | |
| Rsdoctor | Build analyzer | |
| Rstest | Testing framework | |
| Rslint | Linter |
[!NOTE] We highly value any contributions to Rslib!
Please read the Contributing Guide.
This repo has adopted the ByteDance Open Source Code of Conduct. Please check Code of Conduct for more details.
Come and chat with us on Discord! The Rstack team and users are active there, and we're always looking for contributions.
Parts of Rslib are derived from or inspired by many excellent open source projects. We sincerely appreciate the work of these projects and the ideas they have shared with the community:
Rslib is licensed under the MIT License.
TypeScript
95.6%
JavaScript
3.3%