use-s-react
Version:
useS is a minimal yet powerful React hook for managing both local and global state — with zero boilerplate
62 lines (61 loc) • 1.34 kB
JSON
{
"name": "use-s-react",
"version": "2.0.1",
"description": "useS is a minimal yet powerful React hook for managing both local and global state — with zero boilerplate",
"keywords": [
"react",
"hook",
"useS",
"use-s-react",
"state management",
"local state",
"global state",
"typescript",
"lightweight",
"immutability",
"useState alternative",
"useSyncExternalStore",
"complex object state management"
],
"author": {
"name": "Christian Boffill",
"url": "https://github.com/ChristBM"
},
"license": "MIT",
"homepage": "https://use-s-react.christbm.dev",
"repository": {
"type": "git",
"url": "git+https://github.com/ChristBM/use-s.git"
},
"bugs": {
"url": "https://github.com/ChristBM/use-s/issues"
},
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsc",
"clean": "rm -rf dist"
},
"peerDependencies": {
"react": ">=18.0.0"
},
"devDependencies": {
"typescript": "^5.0.0",
"@types/react": "^18.0.0"
},
"dependencies": {
"full-copy": "^2.0.0"
},
"type": "module"
}