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

tjj-utils

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tjj-utils

```js formatQuery(url); // 默认window.location.href ```

  • 0.0.3-beta
  • unpublished
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

1.formatQuery 格式化url参数序列

使用

    formatQuery(url); // 默认window.location.href

2.checkImgExists 判断图片url是否有效

使用

    checkImgExists(url);

3.getVariableType 判断变量类型

使用

    getVariableType(variable); // 支持 "Boolean", "Number", "String", "Function", "Array", "Date", "RegExp", "Object", "Error", "Map", "Set", "Symbol","Promise"类型,返回结果是小写字符

FAQs

Package last updated on 30 Jun 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