Socket
Socket
Sign inDemoInstall

@darkroom.engineering/hamo

Package Overview
Dependencies
8
Maintainers
3
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @darkroom.engineering/hamo

hamo means hook, do the math.


Version published
Maintainers
3
Install size
167 kB
Created

Readme

Source

HAMO

Introduction

hāmō means hook in Latin, this package is a collection of custom React hooks.

Setup

$ npm i @darkroom.engineering/hamo

Hooks

useRect – tracks element position within the page

useWindowSize – tracks window dimensions

useFrame – runs callback on every frame

useResizeObserver – observes element dimensions using ResizeObserver

Authors

This set of hooks is curated and maintained by the darkroom.engineering team:


License

The MIT License.

Keywords

FAQs

Last updated on 08 May 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc