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

@uiw/utils

Package Overview
Dependencies
Maintainers
1
Versions
170
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uiw/utils

utils tools for uiw

  • 4.6.19
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
826
decreased by-10.51%
Maintainers
1
Weekly downloads
 
Created
Source

@uiw/utils

Install

npm i @uiw/utils

Usage

import { isLeapYear, solarMonthDays } from '@uiw/utils';

isLeapYear

Determine whether it is a leap year

getFirstDayOfWeek

The first day of the month is the day of the week.

solarMonthDays

Get the sun moon, commonly known as the solar calendar month By calculating the second month of the leap year, maybe 29 days

isSameDate

Check if a date is the same as another date. Use Date.prototype.toISOString() and strict equality checking (===) to check if the first date is the same as the second one.

getScroll

Gets the scroll value of the given element in the given side (top and left)

randomid

randomid()
// "5fan4z7qsa"

Keywords

FAQs

Package last updated on 09 Dec 2020

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