usestate2
Version:
react useState hook with a reset state method
40 lines (39 loc) • 893 B
JSON
{
"name": "usestate2",
"version": "1.0.0",
"description": "react useState hook with a reset state method",
"main": "./dist/index.js",
"type": "commonjs",
"types": "./@types/index.d.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "npx tsc",
"build:dev": "npx tsc -w"
},
"repository": {
"type": "git",
"url": "git+https://github.com/samislam/useState2.git"
},
"keywords": [
"useState",
"use-state",
"hook",
"react",
"react-hook",
"react-hooks",
"react-use-state",
"react-use",
"hooks"
],
"author": "Islam Yamor",
"license": "ISC",
"bugs": {
"url": "https://github.com/samislam/useState2/issues"
},
"homepage": "https://github.com/samislam/useState2#readme",
"dependencies": {
"@types/react": "^18.0.30",
"react": "^18.2.0",
"typescript": "^5.0.2"
}
}