Skip to content

nmsn/utils

Repository files navigation

Utils

npm GitHub last commit GitHub commit activity NPM bundle size codecov license

English | 简体中文

Background

Summarize common tool functions for daily development。

Features

  • format Data type conversion functions
  • hooks Customized react hooks
  • regex
  • types Customized ts
  • validator Check function

Install

npm install @nmsn/utils

Usage

import { addThousandSeparator } from '@nmsn/utils';

// '1,000'
console.log(addThousandSeparator(1000));

Finished

  • rollup
  • jest
  • typescript
  • dumi doc

TODO

  • More Test Case.
  • More utils.

Maintainers

@nmsn

Contributing

submit a new issue

License

MIT © nmsn