Copy-pastable utility functions & code snippets
What’s this?
Section titled “What’s this?”sahithyan/utils is a copy-pastable library of code blocks. You don’t install anything; just copy-paste the required functions and be done. No more utility libraries to keep track of.
Included Languages
I found myself copying utility functions from one project to another. It was not-so-efficient.
Usually, we may want to publish the functions as a package to npm or jsr. But we don’t always want all the functions in all of our projects. To avoid that issue, we can split up the package into smaller packages. That introduces too much of packages to manage.
Heavily inspired by shadcn/ui.
How to use?
Section titled “How to use?”You just find and copy the function you want to use. You don’t install anything.
How to contribute?
Section titled “How to contribute?”This project is open source. Source code is available on GitHub at sahithyandev/utils. PRs and issues are welcome.