Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lite-v3/common-helpers

Package Overview
Dependencies
Maintainers
4
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lite-v3/common-helpers

Public common helpers for Tokopedia Web

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.5K
decreased by-14.46%
Maintainers
4
Weekly downloads
 
Created
Source

🙏 @lite-v3/common-helpers

Public common helpers for Tokopedia Web

By Tokopedia Version

Installation

Install deps

# Use pnpm
pnpm add @lite-v3/common-helpers

# Use npm
npm i @lite-v3/common-helpers

# Use yarn
yarn add @lite-v3/common-helpers

Available Helpers

# sort by alphabet
├─ array
  ├── chunk
  ├── createRange
  ├── createRangeWithStep
  ├── dedupe
├─ currency
  ├── removeRp
  ├── removeThousandSeparator
  ├── toIDR
  ├── toNumber
├─ date
  ├── constant
  ├── formatDay
  ├── formatMonthTitle
  ├── formatWeekdayLong
  ├── formatWeekdayShort
  ├── getFirstDayOfWeek
  ├── getTimeDiffAsObject
  ├── isValidDate
  ├── timestampFromNow
├─ env
  ├── canUseDOM
  ├── isSafari
├─ error
  ├── getErrorMessage
├─ fp
  ├── compose
  ├── debounce
  ├── defer
  ├── flow
  ├── flowRight
  ├── noop
  ├── omit
├─ json
  ├── safeParse
├─ logic
  ├── execIfFunc
  ├── ifElse
  ├── shallowEqual
├─ mask
  ├── maskAddress
  ├── maskEmail
├─ number
  ├── counterFormat
  ├── fileSizeFormat
  ├── formatNumberUnified
  ├── formatWeight
  ├── getRandomNumber
  ├── humanizeReviewCount
  ├── numberWithCommas
  ├── removeNonNumber
  ├── thousandSeparator
├─ object
  ├── isObject
├─ string
  ├── escapeRegExp
  ├── randomString
  ├── removeScriptTag
  ├── replaceDot
  ├── sanitizeLang
  ├── slugify
  ├── stringTemplate
  ├── titleCase
├─ styles
  ├── hexToRgba
  ├── pxToRem

Code By WPE Team @Tokopedia

FAQs

Package last updated on 24 Jan 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc