UNPKG

use-view-width

Version:

React Hook for returning the width of the viewport.

37 lines (36 loc) 846 B
{ "name": "use-view-width", "version": "1.0.0", "description": "React Hook for returning the width of the viewport.", "main": "dist/main.js", "scripts": { "test": "npm run test", "build": "webpack --mode=production", "start": "webpack --watch --mode=development" }, "repository": { "type": "git", "url": "git+https://github.com/chrisvince/use-view-width.git" }, "keywords": [ "react", "hooks", "viewwidth", "view", "width" ], "author": "Chris Vince", "license": "ISC", "bugs": { "url": "https://github.com/chrisvince/use-view-width/issues" }, "homepage": "https://github.com/chrisvince/use-view-width#readme", "devDependencies": { "react": "^16.13.1", "webpack": "^4.43.0", "webpack-cli": "^3.3.12" }, "peerDependencies": { "react": "^16.13.1" } }