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

yml-util

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yml-util

tool

latest
npmnpm
Version
1.1.3
Version published
Maintainers
1
Created
Source

介绍

一个js工具库, 根据自己的使用习惯封装了几个函数 ,可以自己看下源码

git源码: github

使用例子

const yml = require("yml-util");
let data = '123456'
console.log(yml.encrypt.MD5(data))
console.log(yml.encrypt.SHA1(data))
console.log(yml.time.ts13())
// 输出
`
e10adc3949ba59abbe56e057f20f883e
7c4a8d09ca3762af61e59520943dc26494f8941b
1730434370381
`

每个函数都有中文注释

img_1.png

FAQs

Package last updated on 19 Jun 2025

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