use-input-react
Version:
Simple hook to avoid re-writting onChange handler for input again and again..
50 lines (49 loc) • 1.29 kB
JSON
{
"name": "use-input-react",
"version": "2.0.1",
"main": "dist/index.js",
"module": "dist/index.es.js",
"types": "dist/useInput.d.ts",
"license": "MIT",
"scripts": {
"test": "jest --watch --env=jsdom",
"build": "rollup -c"
},
"peerDependencies": {
"react": "^16.13.1"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.3.0",
"@testing-library/react": "^10.0.2",
"@testing-library/react-hooks": "^3.2.1",
"@types/jest": "^25.2.1",
"jest": "^25.3.0",
"react": "^16.13.1",
"react-test-renderer": "^16.13.1",
"rollup": "^2.6.0",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-typescript2": "^0.27.0",
"ts-jest": "^25.3.1",
"typescript": "^3.8.3"
},
"description": "Simple hook to avoid re-writting onChange handler for input again and again..",
"dependencies": {},
"repository": {
"type": "git",
"url": "git+https://github.com/Rafi993/use-input.git"
},
"keywords": [
"react",
"use-input",
"react-hooks",
"hooks",
"input"
],
"author": "rafi993",
"bugs": {
"url": "https://github.com/Rafi993/use-input/issues"
},
"homepage": "https://github.com/Rafi993/use-input#readme"
}