Catalog npm
Back to packageRELEASE DETAILS

0.0.4

npm

82utils

## logo

82utilstooltoolsutilutilityutils
Published14 Nov 2023
Direct dependencies4
Transitive dependenciesNot calculated

README

Current package documentation

82utils

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

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 4

Native requirements
4 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
@types/jest
Environment
{
  "local_name": "@types/jest",
  "alias": false,
  "peer_metadata": null
}
^29.5.8runtime
jest
Environment
{
  "local_name": "jest",
  "alias": false,
  "peer_metadata": null
}
^29.7.0runtime
ts-jest
Environment
{
  "local_name": "ts-jest",
  "alias": false,
  "peer_metadata": null
}
^29.1.1runtime
ts-node
Environment
{
  "local_name": "ts-node",
  "alias": false,
  "peer_metadata": null
}
^10.9.1runtime

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-S7iOWGFSVwA8R458Li9zH6idZpdZ46tk+m0gV5fsYgt3m49HlL//YSvvymHhr2ISIdyNbjSUuugF2ucPPhf7tw==",
  "shasum": "d2a80f3144b0ef8b8761127ca920bd824e2deaa4",
  "tarball": "https://registry.npmjs.org/82utils/-/82utils-0.0.4.tgz",
  "fileCount": 15,
  "unpackedSize": 22072,
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEYCIQCKF5/W9nACVOYpX36Ia0UGWqhK9loEq93I1vyD8iUyswIhAKtyecpjv0VLd4AsWd8+8B6UkYQpHafGpVrgL5ZbFJGP"
    }
  ]
}

Repository

PENDING
hhplus24/82utils

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 21:18 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:114240e51474cf006f3293af492dc40e290b19f9ea897d99bed0cf32eefc2d1e

Other collected versions

1.0.124 Nov0.2.024 Nov0.1.2124 Nov0.1.2024 Nov0.1.1924 Nov0.1.1824 NovView all collected versions →