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.
pnpm add @akashrajpurohit/utils
Or use any other package manager like npm or yarn.
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
Follow the contribution guidelines to contribute to this project.
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.