UNPKG

react-useinterval

Version:
35 lines 766 B
{ "name": "react-useinterval", "version": "1.0.2", "description": "A custom React hook that wraps setInterval", "license": "MIT", "author": "John DiIorio <johnzdiiorio@gmail.com>", "repository": { "type": "git", "url": "https://github.com/johndiiorio/react-useinterval" }, "main": "./dist/index.js", "types": "./dist/index.d.ts", "scripts": { "build": "rollup -c" }, "keywords": [ "react", "react hooks", "useinterval", "setinterval" ], "peerDependencies": { "react": ">= 16.8.0" }, "devDependencies": { "@rollup/plugin-typescript": "^5.0.2", "@types/react": "^16.9.46", "react": "^16.13.1", "react-dom": "^16.13.1", "rollup": "^2.26.3", "rollup-plugin-terser": "^7.0.0", "tslib": "^2.0.1", "typescript": "^3.9.7" } }