rhf-error-util
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

rhf-error-util

Lightweight utility for safely accessing deeply nested or flat error objects like in React Hook Form.

npm version license: MIT types: TypeScript minzipped size

✨ Features

  • Zero dependencies
  • Works with nested keys (e.g., "object.keys.keys")
  • Returns { message, ref, type } object
  • Can be used with or without React Hook Form

🚀 Install

npm install rhf-error-util

Package Sidebar

Install

npm i rhf-error-util

Weekly Downloads

4

Version

1.0.0

License

MIT

Unpacked Size

4.54 kB

Total Files

6

Last publish

Collaborators

  • talhanr