npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@uxbooster/date

v1.0.2

Published

Date utility library for UX Booster.

Downloads

50

Readme

@uxbooster/date

이 패키지는 날짜 관련 유틸리티 함수들을 제공합니다.

설치

npm install @uxbooster/date

사용법

import { formatDate } from '@uxbooster/date';

const formattedDate = formatDate(new Date(), 'yyyy년 MM월 dd일');
console.log(formattedDate); // 예: 2024년 05월 30일

함수 목록

이 패키지에서 제공하는 함수 목록은 다음과 같습니다.

| 함수 이름 | 설명 | 예제 | | ------------------------------------------------------------------- | ------------------------------------------------------------------------ | -------------------------------------------------------- | | convertDateToFormattedString | Date 객체를 'yyyyMMdd' 형식의 형식화된 문자열로 변환합니다. | convertDateToFormattedString(new Date(2024, 0, 1)) | | convertStringToDate | 날짜 문자열 또는 Date 객체를 지정된 시간대의 Date 객체로 변환합니다. | convertStringToDate('2024-01-01') | | convertStringToDateFormat | 날짜 문자열 또는 Date 객체를 형식화된 날짜 문자열로 변환합니다. | convertStringToDateFormat('2024-01-01T00:00:00+09:00') | | formatDate | 주어진 형식 문자열과 한국어 로케일을 사용하여 날짜를 형식화합니다. | formatDate(new Date(2024, 0, 1), 'PPPP') | | getCurrentDate | 지정된 시간대의 현재 날짜를 가져옵니다. | getCurrentDate('Asia/Seoul') | | parseDateString | 날짜 문자열을 구문 분석하여 Date 객체를 반환합니다. | parseDateString('2024-01-01') |