nmsn / utils

A utils function collection.

Home Page:https://nmsn-utils.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A utils function collection.

https://nmsn-utils.vercel.app

License:MIT License


Languages

Language:TypeScript 97.0%Language:JavaScript 2.8%Language:Shell 0.2%