New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@tqu/tool

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tqu/tool

``` # npm npm install @tqu/tool

latest
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

快速上手

安装

通过 npm 安装

# npm
npm install @tqu/tool

# yarn
yarn add @tqu/tool

# pnpm 🔥
pnpm add @tqu/tool

通过 CDN 安装

使用 @tqu/tool 最简单的方法是直接在 HTML 文件中引入 CDN 链接,之后你可以通过全局变量 syTool 访问到所有方法。

<script type="module" src="https://cdn.jsdelivr.net/gh/husky-dot/subayai-utils/dist/index.umd.js"></script>

<script>
  const { getCamelCase } = syTool;
  console.log(getCamelCase("a-bc"));
</script>

引入方法

下面是使用 randomString 方法,用来生成随机字符串

import { randomString } from '@tqu/tool';

randomString(20); // ax2fwsKwt3xhXXxHzkpE

FAQs

Package last updated on 20 Jun 2023

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