New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@wezz/store-manager

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wezz/store-manager - npm Package Compare versions

Comparing version 0.0.13 to 0.1.1

dist/index.d.ts

42

package.json
{
"name": "@wezz/store-manager",
"version": "0.0.13",
"version": "0.1.1",
"description": "A script to manage local and session storage",
"module": "build/index.js",
"types": "build/StoreManager.d.ts",
"type": "module",
"main": "./dist/storemanager.umd.cjs",
"module": "./dist/storemanager.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/storemanager.js",
"require": "./dist/storemanager.umd.cjs"
}
},
"files": [
"dist"
],
"scripts": {
"build": "webpack",
"test": "jest",
"demo": "http-server -p 8120 -o /demo/index.html -c-1",
"dev": "vite",
"build": "tsc && vite build",
"prepare": "npm run build",

@@ -32,19 +42,7 @@ "pack": "npm run build",

"devDependencies": {
"@types/jest": "^26.0.15",
"@types/node": "^14.14.2",
"copy-webpack-plugin": "^9.1.0",
"css-loader": "^5.0.0",
"eslint": "^7.12.0",
"file-loader": "^6.1.1",
"http-server": "^0.12.3",
"jest": "^26.6.1",
"style-loader": "^2.0.0",
"terser-webpack-plugin": "^5.0.1",
"ts-jest": "^26.4.2",
"ts-loader": "^9.4.2",
"typescript": "4.9.5",
"url-loader": "^4.1.1",
"webpack": "^5.75.0",
"webpack-cli": "^4.1.0"
"@types/node": "^18.14.2",
"typescript": "^4.9.3",
"vite": "^4.1.0",
"vite-plugin-dts": "^2.0.2"
}
}
# Store Manager
This is a script to make it easier to talk to localStorage and sessionStorage.
It will automatically transform stored JSON to objects.
It also makes use of prefixed store values. So you can have multiple instances of the storage manager using the same store values without having conflicts.
## Installation

@@ -12,3 +16,3 @@ ```

```
import StoreManager from "@wezz/store-manager";
import { StoreManager } from "@wezz/store-manager";
// On document ready

@@ -30,3 +34,3 @@ const storeManager = new StoreManager('prefix');

To run the interactive demo, run
``` npm run demo ```
To run the demo, run
``` npm run dev ```
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