Skip to content

dongvng/utility

Repository files navigation

CI

Introduction

utility library that makes your life easier

Installation

npm install @dp66/dp-utils

or

yarn add @dp66/dp-utils

Features

  • Support cjs, esm, umd module format running both in browser and node

Usage

import { formatMoney } from "@dp66/dp-utils"

const purse = formatMoney(1000);
// purse will be 1,000.00

Built with

  • Typescript
  • Rollup