1.0.1 • Published 6 months ago

82utils v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

82utils

logo

OverView

82Utils is a library of utils functions.

The 82Utils package has created its own small but annoying features.

It's good for someone like this to use.

  • When the team needs to use the same Utils library
  • Small but necessary functions, but when you don't want to make them
  • When you need a variety of validation functions
  • When you need to make the regular expression you need
  • When time/date related functions and various formats are needed
  • when random functions are needed

Feature List


Installation

npm install 82utils

Useage

Validation

  • It is determined whether it is a business registration number.
import validation from '82utils';

const businessNum = '220-81-62517';
isValidBusinessNum(businessNum)

Date

  • convert to KSTString
  import date from '82utils';

  const date: Date = new Date('2023-11-24');
  toKSTString(date);
  • Calculate how many days are left
  import date from '82utils';

  const date = new Date('2023-11-30');
  const resultDate = new Date('2023-11-20');
  sub(date, { type: 'D', dec: 10});

format

  import format from '82utils';
  const phoneNumber: string = '01012344444';
  phoneNumberToString(phoneNumber);

mileStone

This releaseNote is function that will be added in the future for each version.

Contributin

Learn about contrigution Contribution

Waiting for various people's contribution!!!

Licence

MIT

Contact

eagle5424228@gmail.com

1.0.1

6 months ago

0.1.10

6 months ago

0.1.11

6 months ago

0.1.12

6 months ago

0.1.13

6 months ago

0.1.14

6 months ago

0.1.15

6 months ago

0.1.20

6 months ago

0.1.21

6 months ago

0.1.0

6 months ago

0.1.2

6 months ago

0.2.0

6 months ago

0.1.1

6 months ago

0.1.16

6 months ago

0.1.8

6 months ago

0.1.17

6 months ago

0.1.7

6 months ago

0.1.18

6 months ago

0.1.19

6 months ago

0.1.9

6 months ago

0.1.4

6 months ago

0.1.3

6 months ago

0.1.6

6 months ago

0.1.5

6 months ago

0.0.6

6 months ago

0.0.5

6 months ago

0.0.4

6 months ago

0.0.3

6 months ago

0.0.2

6 months ago

0.0.1

6 months ago

1.0.0

6 months ago