@akashrajpurohit/utils
v2.6.1
Published
Common utils for my projects
Downloads
42
Readme
@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.