Socket
Socket
Sign inDemoInstall

@lite-v3/common-helpers

Package Overview
Dependencies
Maintainers
7
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


Version published
Weekly downloads
3K
decreased by-5.52%
Maintainers
7
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
├─ 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
├─ string
  ├── escapeRegExp
  ├── randomString
  ├── removeScriptTag
  ├── replaceDot
  ├── sanitizeLang
  ├── slugify
  ├── stringTemplate
  ├── titleCase
├─ styles
  ├── hexToRgba
  ├── pxToRem

Code By WPE Team @Tokopedia

FAQs

Package last updated on 04 Oct 2022

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