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

cache-install

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cache-install

可以加速 `npm install`,在有缓存的情况下,默认去从缓存拉取,然后再执行 `npm install`,完成后再将 `node_modules` 拷贝回缓存系统。主要用于 `cicd` 等流程中,它很快。

  • 0.1.22
  • npm
  • Socket score

Version published
Weekly downloads
3
increased by50%
Maintainers
1
Weekly downloads
 
Created
Source

cache-install

可以加速 npm install,在有缓存的情况下,默认去从缓存拉取,然后再执行 npm install,完成后再将 node_modules 拷贝回缓存系统。主要用于 cicd 等流程中,它很快。

注意点

  • 为了保证速度,不要依赖其他 npm
  • 通过 npx 的形式运行,需保证其兼容性

待优化

  • 缓存删除机制完善
  • 缓存版本控制
  • 缓存命中优化
  • 整体实现优化

  • 未在 windows 测试
  • 部分功能为了适配 cloud-admin-fullstack 而实现,当然它也可以用于通常项目

FAQs

Package last updated on 05 Jun 2020

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