Exciting news!Announcing our $4.6M Series Seed. Learn more
Socket
LoveBlogFAQ
Install
Log in

@react-typed-hooks/utils

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Issues
File Explorer

Advanced tools

@react-typed-hooks/utils

Utils for React hook written in TypeScript

    1.0.5latest

Version published
Maintainers
1
Yearly downloads
16,034
increased by204.14%

Weekly downloads

Changelog

Source

@react-typed-hooks/[email protected]

1.0.5 (2020-12-06)

Note: Version bump only for package @react-typed-hooks/utils

Readme

Source

Utils

Utility functions to use within hooks.

version

Installation

npm install @react-typed-hooks/utils

Usage

hasWindow

Returns true if window is a type of object.

import { hasWindow } from @react-typed-hooks/utils; if (hasWindow()) { window.addEventListener("keydown", downHandler); }

Keywords

Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc