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

2.4.0 • Public • Published

⚙️ @akashrajpurohit/utils

Common utility functions for JavaScript and TypeScript


Build states npm latest version npm bundle size Visitors count Coverage NPM license follow on twitter

Bug report · Feature request · Read Docs



@akashrajpurohit/utils is a npm package for common utility functions that I use in my JavaScript and TypeScript projects.

Read more about the docs and usage on akashrajpurohit.github.io/utils.

Installation 🚀

pnpm add @akashrajpurohit/utils

Or use any other package manager like npm or yarn.

Usage 🛠️

import { formatDate } from '@akashrajpurohit/utils';

const date = new Date('2021-10-10T10:10:10.000Z');
const formattedDate = formatDate(date, 'full');
console.log(formattedDate); // Sunday, October 10, 2021

Contributing 🫱🏻‍🫲🏼

Follow the contribution guidelines to contribute to this project.

Bugs or Requests 🐛

If you encounter any problems feel free to open an issue. If you feel the project is missing a feature, please raise a ticket on GitHub and I'll look into it. Pull requests are also welcome.

Where to find me? 👀

Website Badge Twitter Badge Linkedin Badge Instagram Badge Telegram Badge

Readme

Keywords

Package Sidebar

Install

npm i @akashrajpurohit/utils

Weekly Downloads

9

Version

2.4.0

License

MIT

Unpacked Size

83.4 kB

Total Files

9

Last publish

Collaborators

  • akashrajpurohit