
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
subayai-utils
Advanced tools
# npm
npm install subayai-utils
# yarn
yarn add subayai-utils
# pnpm 🔥
pnpm add subayai-utils
使用 subayai-utils 最简单的方法是直接在 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>
下面是使用 ES MODULE 方式引入 randomString 方法,用来生成随机字符串
import { randomString } from 'subayai-utils';
randomString(20); // ax2fwsKwt3xhXXxHzkpE
下面是使用 ommonJs 方式引入 randomString 方法,用来生成随机字符串
const { randomString } = require('subayai-utils');
randomString(20); // ax2fwsKwt3xhXXxHzkpE
或者
const tquTool = require('subayai-utils');
tquTool.randomString(20); // ax2fwsKwt3xhXXxHzkpE
FAQs
一个短小而精悍的现代JavaScript使用工具库
We found that subayai-utils demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.