Socket
Socket
Sign inDemoInstall

@00a/util.npm

Package Overview
Dependencies
44
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @00a/util.npm

npm包的相关操作


Version published
Weekly downloads
2
decreased by-33.33%
Maintainers
1
Install size
1.75 MB
Created
Weekly downloads
 

Readme

Source

@00a/util.npm

这是一个关于 npm 包操作的工具集合

安装

$ yarn add @00a/util.npm

使用示意

  • 获取 npm 包的 readme 文件内容
import { getReadmeContent } from "@00a/util.npm";
const result = await getReadmeContent("@00a/util.npm");

api

// 获取 npm 包的 readme 文件内容
await getReadmeContent(pkgName);

// 获取 npm 包的信息
await getNpmInfo(pkgName);

// 获取 npm 包的信息 并限制超时时间
await getNpmInfo(pkgName, timeout);

发布日志

@00a/util.npm严格遵循 Semantic Versioning 2.0.0 语义化版本规范。

发布周期

  • 修订版本号:每周会进行 bugfix 更新。(如果有紧急的 bugfix,则任何时候都可发布)
  • 次版本号:不定期发布。
  • 主版本号:含有破坏性更新和新特性,不在发布周期内。

0.0.4

2020-07-26

  • 🌟 getNpmInfo增加timeout参数
  • 🌟 getReadmeContent增加timeout参数

0.0.3

2020-07-08

  • 🌟 增加 getNpmInfo方法

0.0.2

2020-07-07

  • ⚡️ 初始化项目
  • 🌟 增加 getReadmeContent方法

FAQs

Last updated on 26 Jul 2020

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc