🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@cyf-super/utils

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cyf-super/utils

个人工具库

latest
Source
npmnpm
Version
0.1.8
Version published
Maintainers
1
Created
Source

个人工具库

收集日常开发用到的工具函数

收集的工具函数

  • Storage :封装localStorage、sessionStorage,支持设置过期时间、加密等
  • is:数据类型的判断
  • coverload:函数重载
  • formatBytes:格式化文件大小
  • openNewTag:打开新的tag标签页 详情见
  • LruCache:LRU - 最近最少使用
  • timeOut:定时器、延时器
  • formatTime: 格式化时间

使用

安装npm:

npm i @cyf-super/utils

导出工具函数:

import { LStorage } from '@cyf-super/utils'

...

Keywords

util

FAQs

Package last updated on 01 Mar 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