@inputstudio/utils
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

utils

Test npm (scoped) npm bundle size GitHub

@inputstudio/utils is a zero-dependency TypeScript utility library. It features a wide range of functions, from string to date, currency manipulation, and more.

Installation

Install the package with your favorite package manager:

# npm
npm install @inputstudio/utils
# yarn
yarn add @inputstudio/utils
# pnpm
pnpm add @inputstudio/utils

Usage

import { secret } from '@inputstudio/utils';
// or const { secret } = require('@inputstudio/utils');

const littleSecret = secret('hey 👋');

console.log(littleSecret); // h*****

Development

Everyone is welcome to contribute to this project. To do so, please follow these steps:

  1. Clone the repository
  2. Checkout on dev branch and create a new branch from it
  3. Install dependencies with yarn
  4. Add your feature or fix
  5. Add or update tests (we use Vitest for testing)
  6. Commit your changes (we follow Conventional Commits)
  7. Push your branch
  8. Open a pull request to dev branch

People from the team will review your pull request and merge it if everything is ok.

Releasing

Quick guide to release a new version of the package:

yarn changeset # Create a new changeset
yarn changeset version # Bump the package version

License

This project is licensed under the MIT License.

Package Sidebar

Install

npm i @inputstudio/utils

Weekly Downloads

2

Version

0.1.1

License

MIT

Unpacked Size

11.3 kB

Total Files

6

Last publish

Collaborators

  • khenrijo21
  • marcaureln