Skip to content

Latest commit

 

History

1,492 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rslib Banner

Rslib

Discord channel npm version downloads node version license Ask DeepWiki

English | 简体中文

Rslib is a library development tool based on Rsbuild.

It gives developers a simple way to create JavaScript libraries and UI component libraries, and provides tool integrations and best practices for building, debugging, documentation, and testing throughout library development.

🔥 Features

Rslib has the following features:

  • Easy to configure: Out-of-the-box tooling enables developers to build libraries with zero configuration. Rslib also provides a set of semantic build configurations that can be extended as project needs grow.

  • Performance-focused: Powered by Rspack, it integrates high-performance Rust-based tools from the community, including SWC and Lightning CSS, delivering first-class build speed and development experience.

  • Plugin ecosystem: Supports Rsbuild plugins, Rspack plugins, and webpack plugins, allowing developers to reuse existing plugin ecosystems and continue using familiar development workflows and engineering practices.

  • Flexible outputs: Designed around the diverse ways libraries are published and consumed, it supports flexible build output configuration for different runtimes, distribution methods, and downstream build tools to meet the delivery needs of different types of libraries.

  • Framework agnostic: Decoupled from frontend UI frameworks, it supports React, Vue, Svelte, Solid, and other frameworks through plugins, allowing developers to build component libraries for different frameworks with a consistent configuration and development workflow.

📚 Documentation

🦀 Rstack

Rslib is part of Rstack, the fast, unified JavaScript toolchain for developers and agents.

Name Description Version
Rspack Bundler npm version
Rsbuild Build tool npm version
Rslib Library development tool npm version
Rspress Static site generator npm version
Rsdoctor Build analyzer npm version
Rstest Testing framework npm version
Rslint Linter npm version

🔗 Links

🤝 Contribution

Note

We highly value any contributions to Rslib!

Please read the Contributing Guide.

Contributors

Code of conduct

This repo has adopted the ByteDance Open Source Code of Conduct. Please check Code of Conduct for more details.

🧑‍💻 Community

Come and chat with us on Discord! The Rstack team and users are active there, and we're always looking for contributions.

🙏 Credits

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:

📖 License

Rslib is licensed under the MIT License.

About

Create JavaScript libraries in a simple and intuitive way.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1.0k stars

Watchers

11 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages