Socket
Socket
Sign inDemoInstall

@rocket.chat/fuselage-hooks

Package Overview
Dependencies
6
Maintainers
8
Versions
741
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @rocket.chat/fuselage-hooks

React hooks for Fuselage, Rocket.Chat's design system and UI toolkit


Version published
Weekly downloads
1.3K
increased by33.44%
Maintainers
8
Install size
298 kB
Created
Weekly downloads
 

Readme

Source

Rocket.Chat

@rocket.chat/fuselage-hooks

React hooks for Fuselage, Rocket.Chat's design system and UI toolkit


npm@latest npm@next react version npm downloads License: MIT

deps npm bundle size

Install

Firstly, install the peer dependencies (prerequisites):

npm i @rocket.chat/fuselage-tokens react

# or, if you are using yarn:

yarn add @rocket.chat/fuselage-tokens react

Add @rocket.chat/fuselage-hooks as a dependency:

npm i @rocket.chat/fuselage-hooks

# or, if you are using yarn:

yarn add @rocket.chat/fuselage-hooks

Contributing

Contributions, issues, and feature requests are welcome!
Feel free to check the issues.

Building

As this package dependends on others in this monorepo, before anything run the following at the root directory:

yarn build

Linting

To ensure the source is matching our coding style, we perform linting. Before commiting, check if your code fits our style by running:

yarn lint

Some linter warnings and errors can be automatically fixed:

yarn lint-and-fix

Running tests

Whenever possible, add tests to describe exactly what your code do. You can run them by yourself:

yarn test

Keywords

FAQs

Last updated on 26 Mar 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