UNPKG

@idxdb/promised

Version:

@idxdb/promised wraps the IndexedDB API. It allows you to easily store and retrieve data in an indexed db database using async/await syntax, making it easier to integrate with your existing codebase.

70 lines (69 loc) 2.47 kB
{ "name": "@idxdb/promised", "version": "4.1.0", "description": "@idxdb/promised wraps the IndexedDB API. It allows you to easily store and retrieve data in an indexed db database using async/await syntax, making it easier to integrate with your existing codebase.", "keywords": [ "indexed DB", "indexedDB", "database", "indexed", "wrapper", "promise" ], "homepage": "https://github.com/MockingMagician/promised-db.git", "repository": { "type": "git", "url": "https://github.com/MockingMagician/promised-db.git" }, "funding": [ { "type": "github", "url": "https://github.com/sponsors/MockingMagician" } ], "license": "ISC", "author": "Marc MOREAU", "exports": "./dist/src/index.js", "main": "./dist/src/index.js", "types": "./dist/src/index.d.ts", "files": [ "/dist" ], "scripts": { "build": "rimraf dist && tsc && tsc-alias --resolve-full-paths", "coverage": "npm run test:unit -- --coverage", "full-check": "npm run build && npm run lint && npm run test:unit && npm run test:browser", "install-playwright": "npx playwright install --with-deps", "lint": "eslint '{src,test}/**/*.{ts,tsx}'", "prettier": "eslint '{src,test}/**/*.{ts,tsx}' --fix", "test:browser": "npm run build && rimraf ./test/browser/serve/dist && cp -r ./dist ./test/browser/serve/dist && npx playwright test", "test:unit": "jest -c jest.config.js ./test/unit" }, "devDependencies": { "@esbuild-kit/esm-loader": "^2.6.5", "@playwright/test": "^1.47.2", "@types/jest": "^29.5.12", "@types/node": "^20.14.2", "@typescript-eslint/eslint-plugin": "^7.13.0", "@typescript-eslint/parser": "^7.13.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.1.3", "fake-indexeddb": "^6.0.0", "http-server": "^14.1.1", "jest": "^29.7.0", "playwright": "^1.47.1", "prettier": "^3.3.2", "rimraf": "^5.0.7", "ts-jest": "^29.1.4", "ts-node": "^10.9.2", "tsc-alias": "^1.8.10", "tsx": "^4.19.1", "typescript": "^5.4.5" }, "publishConfig": { "access": "public", "provenance": true, "registry": "https://registry.npmjs.org/" } }