@alwatr/local-storage
Version:
A modern, simple, and robust solution for managing versioned JSON objects in the browser's `localStorage`. This package provides a clean, class-based API with a factory function to ensure your application's data persistence is safe, maintainable, and futu
78 lines (77 loc) • 2.27 kB
JSON
{
"name": "@alwatr/local-storage",
"version": "9.25.0",
"description": "A modern, simple, and robust solution for managing versioned JSON objects in the browser's `localStorage`. This package provides a clean, class-based API with a factory function to ensure your application's data persistence is safe, maintainable, and future-proof.",
"license": "MPL-2.0",
"author": "S. Ali Mihandoost <ali.mihandoost@gmail.com> (https://ali.mihandoost.com)",
"type": "module",
"repository": {
"type": "git",
"url": "https://github.com/Alwatr/alwatr",
"directory": "pkg/nanolib/local-storage"
},
"homepage": "https://github.com/Alwatr/alwatr/tree/next/pkg/nanolib/local-storage#readme",
"bugs": "https://github.com/Alwatr/alwatr/issues",
"exports": {
".": {
"types": "./dist/main.d.ts",
"import": "./dist/main.js",
"default": "./dist/main.js"
}
},
"sideEffects": false,
"dependencies": {
"@alwatr/logger": "9.25.0"
},
"devDependencies": {
"@alwatr/nano-build": "9.25.0",
"@alwatr/standard": "9.16.0",
"@alwatr/type-helper": "9.14.0",
"typescript": "^6.0.3"
},
"scripts": {
"b": "bun run build",
"build": "bun run build:ts && bun run build:es",
"build:es": "nano-build --preset=module src/main.ts",
"build:ts": "tsc --build",
"cl": "bun run clean",
"clean": "rm -rfv dist *.tsbuildinfo",
"format": "prettier --write \"src/**/*.ts\"",
"lint": "eslint src/ --ext .ts",
"t": "bun run test",
"test": "ALWATR_DEBUG=0 bun test",
"w": "bun run watch",
"watch": "bun run watch:ts & bun run watch:es",
"watch:es": "bun run build:es --watch",
"watch:ts": "bun run build:ts --watch --preserveWatchOutput"
},
"files": [
"dist",
"src/**/*.ts",
"!src/**/*.test.ts",
"README.md",
"LICENSE"
],
"publishConfig": {
"access": "public"
},
"keywords": [
"alwatr",
"automatic migration",
"browser storage",
"cross-platform",
"data persistence",
"esm",
"facade factory",
"JavaScript",
"JSON storage",
"localStorage",
"module",
"nanolib",
"provider pattern",
"TypeScript",
"utility",
"versioning"
],
"gitHead": "a49ae304180faab79539b5ddfe62d18ac91a232e"
}