@inputstudio/utils
is a zero-dependency TypeScript utility library. It features a wide range of functions, from string to date, currency manipulation, and more.
Install the package with your favorite package manager:
# npm
npm install @inputstudio/utils
# yarn
yarn add @inputstudio/utils
# pnpm
pnpm add @inputstudio/utils
import { secret } from '@inputstudio/utils';
// or const { secret } = require('@inputstudio/utils');
const littleSecret = secret('hey 👋');
console.log(littleSecret); // h*****
Everyone is welcome to contribute to this project. To do so, please follow these steps:
- Clone the repository
- Checkout on
dev
branch and create a new branch from it - Install dependencies with
yarn
- Add your feature or fix
- Add or update tests (we use Vitest for testing)
- Commit your changes (we follow Conventional Commits)
- Push your branch
- Open a pull request to
dev
branch
People from the team will review your pull request and merge it if everything is ok.
Quick guide to release a new version of the package:
yarn changeset # Create a new changeset
yarn changeset version # Bump the package version
This project is licensed under the MIT License.