Socket
Socket
Sign inDemoInstall

util-1

Package Overview
Dependencies
56
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    util-1

整体工具:


Version published
Maintainers
1
Install size
71.4 kB
Created

Readme

Source

整体工具:

类型判断

队列

链表 f

缓存

对象值相等判断

函数执行兼容

样式class合并

随机字符串

获取地址参数

根据参数获取地址

继承

异步加载组件

获取cookie

设置cookie


时间工具:

格式化

根据间隔获取新的时间对象


数组工具:

转换数组

数组分类

转换对象

删除指定元素

去重

获取指定子孙级元素

返回子孙级元素数组


数字工具:

转换数字


对象工具:

转换对象

遍历对象

复制对象

过滤属性

返回指定值

检查是否存在符合条件

检查是否都符合条件

寻找符合条件的值

寻找符合条件的属性


字符串工具:

转换字符串

获取字符串之间的差值

添加0

格式化,添加逗号

解析html代码

解析地址参数

封装地址参数


react工具:

获取最后的属性值

设置history

获取history

设置dispatch

获取dispatch


vue工具:

设置dispatch f

获取dispatch f

FAQs

Last updated on 21 Jul 2020

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc