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

@deepjs/mini-storage

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@deepjs/mini-storage

miniapp storage

latest
npmnpm
Version
0.2.9
Version published
Maintainers
1
Created
Source

mini-storage

封装 uni-app 的 storage,同步取,异步存

适用于原生小程序

独立包,无依赖,语义化,使用简单

功能列表

  • set
  • get
  • remove
  • clear

使用

import storage from '@deepjs/mini-storage';

storage.set('name', 'cloudyan', 5);
storage.get('name');

setTimeout(() => {
  storage.get('name');
  storage.remove('name');
  storage.clear('name');
}, 6000);

Keywords

storage

FAQs

Package last updated on 17 Sep 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