Team Sparta Libraries
GitHubGitHub
  • Union
    • Naming
    • TypeScript
    • hackle
      • eslint-backend-config
      • eslint-frontend-config
      • prettier-config
      • ts-config
      • react
        • InView
        • Separated
        • Spacer
        • Suspense
        • SwitchCase
        • When
        • useBoolean
        • useClickAway
        • useDebounce
        • useDocumentVisibility
        • useHover
        • useIntersectionObserver
        • useInterval
        • useIsClient
        • useIsomorphicLayoutEffect
        • useLockBodyScroll
        • useMediaQuery
        • usePreserveCallback
        • useResizeObserver
        • useStopwatch
        • useThrottle
        • useTimer
        • useToggle
      • types
      • PartialRecord
      • Values
      • utils
        • getLastItem
        • isEmptyArray
        • isLastIndex
        • unique
        • calculateAge
        • getDateDiff
        • getNewDate
        • getTimePastText
        • isAfterOfEqual
        • isBeforeOrEqual
        • isMac
        • isMobileDevice
        • noop
        • clamp
        • random
        • randomInt
        • sumBy
        • formatPhoneNumber
        • isArray
        • isBoolean
        • isClient
        • isDate
        • isFunction
        • isNil
        • isNotNil
        • isNull
        • isNumber
        • isObject
        • isServer
        • isString
        • isUndefined
        • delay
        • snakeCase

On This Page

  • Getting Started
Question? Give us feedback →Edit this page
packagesutilsutils

@teamsparta/utils

@teamsparta/utils는 React, NextJS, NestJS 등 JavaScript 환경에서 사용할 수 있으며 type - safe한 유틸리티성 함수들을 모아놓은 패키지입니다.

Getting Started

npm install @teamsparta/utils       # npm
yarn add @teamsparta/utils          # yarn
pnpm add @teamsparta/utils          # pnpm
ValuesgetLastItem

MIT 2025 © Nextra.