UNPKG

@georapbox/web-storage

Version:

WebStorage is a lightweight wrapper for namespaced localStorage/sessionStorage with support for serializable values and safe, tuple-based error handling.

67 lines (66 loc) 1.89 kB
{ "name": "@georapbox/web-storage", "version": "3.0.0", "description": "WebStorage is a lightweight wrapper for namespaced localStorage/sessionStorage with support for serializable values and safe, tuple-based error handling.", "main": "dist/web-storage.js", "unpkg": "dist/web-storage.js", "type": "module", "types": "dist/web-storage.d.ts", "files": [ "src/", "dist/" ], "scripts": { "lint": "eslint", "format": "prettier --ignore-unknown --write .", "test": "web-test-runner", "test:watch": "npm run test -- --watch", "test:coverage": "npm run test -- --coverage", "types": "tsc --project tsconfig.json", "dev:esbuild": "node ./scripts/dev.mjs", "dev": "npm-run-all clean dev:esbuild", "build:esbuild": "node ./scripts/build.mjs", "build": "npm-run-all clean build:esbuild", "clean": "rimraf dist", "prepare": "npm-run-all clean lint test build types" }, "keywords": [ "localStorage", "sessionStorage", "Storage", "Offline Storage", "Web Storage", "DOM Storage" ], "author": { "name": "George Raptis", "email": "georapbox@gmail.com" }, "repository": { "type": "git", "url": "https://github.com/georapbox/web-storage.git" }, "bugs": { "url": "https://github.com/georapbox/web-storage/issues" }, "homepage": "https://github.com/georapbox/web-storage#readme", "license": "MIT", "devDependencies": { "@eslint/js": "~9.29.0", "@esm-bundle/chai": "~4.3.4-fix.0", "@open-wc/testing": "~4.0.0", "@web/test-runner": "~0.20.2", "@web/test-runner-playwright": "~0.11.1", "esbuild": "~0.25.4", "eslint": "~9.29.0", "globals": "~16.2.0", "npm-run-all": "~4.1.5", "prettier": "~3.5.3", "rimraf": "~6.0.1", "sinon": "~21.0.0", "typescript": "~5.8.3" }, "publishConfig": { "access": "public" } }