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

nq-cache

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nq-cache

cache

  • 0.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

NQ-CACHE

安装

npm install nq-cache

使用

  • ES Module
import { promiseMemoryCache, promiseSessionStorageCache, pureFuncMemoryCache } from 'nq-cache'
  • commonjs
const { promiseMemoryCache, promiseSessionStorageCache, pureFuncMemoryCache } = require('nq-cache')
  • UMD(未压缩且保留注释,需自行引入 uglify 处理)
const { promiseMemoryCache, promiseSessionStorageCache, pureFuncMemoryCache } = require('nq-cache/dist/nq-cache')
  • iife
<script type="text/javascript" href="nq-cache/dist/nq-cache.min.js"></script>
<script>
  var cache = window.cache
</script>

本地开发

  • 安装依赖
npm install
  • 测试
npm test
  • 打包
npm run build
  • Flow
npm run flow
  • ESLint
npm run lint
  • 更新文档
npm run doc

Keywords

FAQs

Package last updated on 17 May 2018

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