share code snippets from your terminal
publish and install reusable code snippets — including full directory structures — with a single command from your terminal.
~/projects/my-app
$ npx @tbsten/mir install @tbsten/react-hooks
resolving dependencies...
downloading @tbsten/react-hooks@2.1.0
extracting files...
[done] installed to ./src/hooks/
src/hooks/
├── use-debounce.ts
├── use-local-storage.ts
├── use-media-query.ts
└── index.ts
$ explore snippets
// discover and install community-shared code snippets
$
// filters:sort: popular
// showing 5 snippets