UNPKG

use-temporal-state

Version:

A lightweight React hook for undo/redo state management with history compression.

50 lines (49 loc) 1.19 kB
{ "name": "use-temporal-state", "version": "1.1.0", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "scripts": { "build": "tsc", "test": "jest", "test:coverage": "jest --coverage" }, "description": "A lightweight React hook for undo/redo state management with history compression.", "keywords": [ "react", "hook", "undo", "redo", "temporal", "state", "history" ], "author": "Vishal N <vishaln.2021@gmail.com>", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/Vishal-Marvel/useTemporalState.git" }, "peerDependencies": { "react": ">=16.8.0 <20.0.0", "react-dom": ">=16.8.0 <20.0.0" }, "devDependencies": { "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.3.0", "@testing-library/react-hooks": "^8.0.1", "@types/jest": "^29.5.14", "@types/react": "^18.2.55", "jest": "^30.0.0", "jest-environment-jsdom": "^30.0.0", "ts-jest": "^29.4.0", "typescript": "^5.8.3" }, "engines": { "node": ">=14.0.0", "npm": ">=6.0.0" } }