{"_id":"@boolfly.chat/fuselage-hooks","name":"@boolfly.chat/fuselage-hooks","dist-tags":{"latest":"0.33.1"},"versions":{"0.33.1":{"name":"@boolfly.chat/fuselage-hooks","version":"0.33.1","description":"React hooks for Fuselage, Boolfly.Chat's design system and UI toolkit","homepage":"https://github.com/boolfly/fuselage#readme","author":{"name":"Boolfly.Chat","url":"https://subscription.boolfly.com/"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/boolfly/fuselage.git","directory":"packages/fuselage-hooks"},"bugs":{"url":"https://github.com/boolfly/fuselage/issues"},"keywords":["react","hooks","fuselage","boolfly.chat"],"source":"src/index.ts","main":"dist/index.js","module":"dist/index.module.js","unpkg":"dist/index.umd.js","types":"dist/index.d.ts","publishConfig":{"access":"public"},"scripts":{"build":"run-s .:build:clean .:build:rollup",".:build:clean":"rimraf dist",".:build:rollup":"rollup -c","lint":"lint","lint-and-fix":"lint-and-fix","test":"jest --runInBand","bump-next":"bump-next"},"devDependencies":{"@boolfly.chat/eslint-config-alt":"workspace:~","@boolfly.chat/fuselage-tokens":"workspace:~","@boolfly.chat/prettier-config":"workspace:~","@rollup/plugin-commonjs":"~21.0.3","@rollup/plugin-json":"~4.1.0","@rollup/plugin-node-resolve":"~13.1.3","@rollup/plugin-typescript":"~8.3.4","@testing-library/react-hooks":"~8.0.1","@testing-library/user-event":"~14.5.2","@types/jest":"~29.5.12","@types/react":"~17.0.80","@types/react-dom":"~17.0.25","@types/resize-observer-browser":"~0.1.7","@types/use-sync-external-store":"~0.0.3","bump":"workspace:~","eslint":"~8.38.0","jest":"~29.7.0","lint-all":"workspace:~","npm-run-all":"^4.1.5","prettier":"~2.8.7","react":"^17.0.2","rimraf":"~5.0.0","rollup":"~2.67.3","rollup-plugin-terser":"~7.0.2","testing-utils":"workspace:~","ts-jest":"~29.2.4","typedoc":"~0.25.13","typescript":"~5.5.4"},"peerDependencies":{"@boolfly.chat/fuselage-tokens":"*","react":"^17.0.2"},"dependencies":{"use-sync-external-store":"~1.2.0"},"_id":"@boolfly.chat/fuselage-hooks@0.33.1","gitHead":"0c279c489c248b68ae56af67189def234a15319b","_nodeVersion":"20.10.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-pRsG0kMtNKEFNJlHYSSm09vybnbdJhfwBrMzO7asJd5kuncV24ZLnSSlKUXDwBIrYyhqyqMA1qApVtM8VkLjQg==","shasum":"1a70df1bc1190cd2ef7ef2a47811ec68a8753526","tarball":"https://registry.npmjs.org/@boolfly.chat/fuselage-hooks/-/fuselage-hooks-0.33.1.tgz","fileCount":84,"unpackedSize":256356,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCrNjEYdh8Q8inCi8u3I7qonbr/q0R77fkZybzCXb96zwIgS+W1K33Czpip9Sa/xNj3OH4HTpd9qRlPgGyjiLhsaz4="}]},"_npmUser":{"name":"thanhnamnguyen","email":"namnguyenthanh.work@gmail.com"},"directories":{},"maintainers":[{"name":"thanhnamnguyen","email":"namnguyenthanh.work@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fuselage-hooks_0.33.1_1729052362491_0.594940417095911"},"_hasShrinkwrap":false}},"time":{"created":"2024-10-16T04:19:22.362Z","0.33.1":"2024-10-16T04:19:22.747Z","modified":"2024-10-16T04:19:23.087Z"},"maintainers":[{"name":"thanhnamnguyen","email":"namnguyenthanh.work@gmail.com"}],"description":"React hooks for Fuselage, Boolfly.Chat's design system and UI toolkit","homepage":"https://github.com/boolfly/fuselage#readme","keywords":["react","hooks","fuselage","boolfly.chat"],"repository":{"type":"git","url":"git+https://github.com/boolfly/fuselage.git","directory":"packages/fuselage-hooks"},"author":{"name":"Boolfly.Chat","url":"https://subscription.boolfly.com/"},"bugs":{"url":"https://github.com/boolfly/fuselage/issues"},"license":"MIT","readme":"<!--header-->\n\n<p align=\"center\">\n  <a href=\"https://subscription.boolfly.com/\" title=\"Boolfly.Chat\">\n    <img src=\"https://github.com/boolfly/Boolfly.Chat.Artwork/raw/master/Logos/2020/png/logo-horizontal-red.png\" alt=\"Boolfly.Chat\" />\n  </a>\n</p>\n\n# `@boolfly.chat/fuselage-hooks`\n\n> React hooks for Fuselage, Boolfly.Chat's design system and UI toolkit\n\n---\n\n[![npm@latest](https://img.shields.io/npm/v/@boolfly.chat/fuselage-hooks/latest?style=flat-square)](https://www.npmjs.com/package/@boolfly.chat/fuselage-hooks/v/latest) [![npm@next](https://img.shields.io/npm/v/@boolfly.chat/fuselage-hooks/next?style=flat-square)](https://www.npmjs.com/package/@boolfly.chat/fuselage-hooks/v/next) ![react version](https://img.shields.io/npm/dependency-version/@boolfly.chat/fuselage-hooks/peer/react?style=flat-square) ![npm downloads](https://img.shields.io/npm/dw/@boolfly.chat/fuselage-hooks?style=flat-square) ![License: MIT](https://img.shields.io/npm/l/@boolfly.chat/fuselage-hooks?style=flat-square)\n\n![deps](https://img.shields.io/librariesio/release/npm/@boolfly.chat/fuselage-hooks?style=flat-square) ![npm bundle size](https://img.shields.io/bundlephobia/min/@boolfly.chat/fuselage-hooks?style=flat-square)\n\n<!--/header-->\n\n## Install\n\n<!--install-->\n\nFirstly, install the peer dependencies (prerequisites):\n\n```sh\nnpm i @boolfly.chat/fuselage-tokens react\n\n# or, if you are using yarn:\n\nyarn add @boolfly.chat/fuselage-tokens react\n```\n\nAdd `@boolfly.chat/fuselage-hooks` as a dependency:\n\n```sh\nnpm i @boolfly.chat/fuselage-hooks\n\n# or, if you are using yarn:\n\nyarn add @boolfly.chat/fuselage-hooks\n```\n\n<!--/install-->\n\n## Contributing\n\n<!--contributing(msg)-->\n\nContributions, issues, and feature requests are welcome!<br />\nFeel free to check the [issues](https://github.com/boolfly/fuselage/issues).\n\n<!--/contributing(msg)-->\n\n### Building\n\nAs this package dependends on others in this monorepo, before anything run the following at the root directory:\n\n<!--yarn(build)-->\n\n```sh\nyarn build\n```\n\n<!--/yarn(build)-->\n\n### Linting\n\nTo ensure the source is matching our coding style, we perform [linting](<https://en.wikipedia.org/wiki/Lint_(software)>).\nBefore commiting, check if your code fits our style by running:\n\n<!--yarn(lint)-->\n\n```sh\nyarn lint\n```\n\n<!--/yarn(lint)-->\n\nSome linter warnings and errors can be automatically fixed:\n\n<!--yarn(lint-and-fix)-->\n\n```sh\nyarn lint-and-fix\n```\n\n<!--/yarn(lint-and-fix)-->\n\n### Running tests\n\nWhenever possible, add tests to describe exactly what your code do. You can run them by yourself:\n\n<!--yarn(test)-->\n\n```sh\nyarn test\n```\n\n<!--/yarn(test)-->\n","readmeFilename":"README.md"}