Introduction

Share your code with less friction than ever before.

jsrepo was born from a desire to move away from an excessive amount of npm packages that both bloat your project and give up control.

Taking inspiration from shadcn-ui, jsrepo allows you to only bring in what you need while making it almost as easy as just installing an npm package.

When using jsrepo you add individual blocks from a registry that is owned by yourself or someone else. These blocks are added directly into your project and unlike npm packages give you the ability to update the code to your own needs.

What is a block?

A block is a file or directory of files containing code that can be added by the CLI. Blocks are normally referenced by <category>/<name>.

What is a registry?

A registry is a repository containing blocks that can be added from the CLI. jsrepo allows you to create your own registry and download the blocks from the CLI.

jsrepo builds your registry into a manifest that it can read to access the blocks. While doing this it will also resolve any inter-block dependencies as well as any remote dependencies in supported file types.

FAQ