{"id":"znotfireman/pretty-fusion-utils","name":"pretty-fusion-utils","scope":"znotfireman","platform":"roblox","description":"An opinionated collection of modern Fusion 0.3 utilities.","version":"0.1.0-dev.5","latest":"0.1.0-dev.5","versions":["0.1.0-dev.1","0.1.0-dev.2","0.1.0-dev.3","0.1.0-dev.4","0.1.0-dev.5"],"license":"Apache-2.0","licenseRating":"safe","licenseCaveats":["Modified files must carry a notice of changes. If the package ships a NOTICE file, its attributions must be preserved.","The package archive does not include its license text; the license is declared in its manifest metadata."],"licenseVerified":false,"dependencies":{},"integrity":"48912bd8373d4fbbad4015d63d8df7851ce066d57a4e79ac9e290d5878de4f9d","likes":0,"downloads":0,"install":"forest install znotfireman/pretty-fusion-utils","url":"https://forest.dev/p/roblox/znotfireman/pretty-fusion-utils","files":"https://api.forest.dev/ai/package/roblox/znotfireman/pretty-fusion-utils/files","readme":"<h1>\n<img\n  src=\"./assets/logo-light.svg#gh-light-mode-only\"\n  height=\"100px\"\n  alt=\"Flower bouquet with Fusion accent colors\"\n/><img\n  src=\"./assets/logo-dark.svg#gh-dark-mode-only\"\n  height=\"100px\"\n  alt=\"Flower bouquet with Fusion accent colors\"/>\n</h1>\n\n![Licensed under Apache 2.0 OR MIT](https://img.shields.io/badge/license-Apache_2.0_OR_MIT-blue?style=flat-square)\n![CI Workflow Status](https://img.shields.io/github/actions/workflow/status/znotfireman/pretty-fusion-utils/ci.yaml?style=flat-square&label=ci)\n![Documentation Workflow Status](https://img.shields.io/github/actions/workflow/status/znotfireman/pretty-fusion-utils/docs.yaml?style=flat-square&label=documentation)\n\nAn opinionated collection of modern [Fusion 0.3](https://elttob.uk/Fusion/0.3/)\nutilities. Sourced from [`pretty-vide-utils`] and [`pretty-react-hooks`] with\nspecific Fusion utilities.\n\n## Prerelease\n\n### Existing\n\n- [X] `useCamera`\n- [ ] `useDebounceCallback`\n- [ ] `useDebounceEffect` (unlikely as Fusion has no concept of effects)\n- [ ] `useDebounceSource` (as `useDebounceValue`)\n- [ ] `useDeferEffect` (unlikely as Fusion has no concept of effects)\n- [ ] `useDeferSource` (as `useDeferValue`)\n- [X] `useEventListener`\n- [X] `useInterval`\n- [ ] `useLifetime` (unlikely, just `useTimer` starting at zero)\n- [ ] `useMotion` (unlikely, Fusion already has Tween and Spring objects)\n- [X] `useMouse`\n- [ ] `usePrevious` (unlikely, Fusion has no concept of component lifecycles)\n- [X] `usePx`\n- [ ] `useSpring` (unlikely, Fusion has Spring objects)\n- [X] `useTagged`\n- [ ] `useThrottleCallback`\n- [ ] `useThrottleEffect` (unlikely as Fusion has no concept of effects)\n- [ ] `useThrottleSource` (as `useThrottleValue`)\n- [X] `useTimer`\n- [ ] `useUpdateEffect` (unlikely as Fusion has no formal concept of components)\n- [X] `useViewport`\n\n### Fusion\n\n- [X] `useCoroutine`\n- [X] `useTasks`\n- [X] `useThread`\n- [X] `useAsync` (analogous to [Fusion Eventuals])\n- [X] `useEffect` (somewhat broken, see `lib/use-effect/init.luau`)\n\n### Misc\n\n- [X] Darklua setup & build system\n- [ ] TypeScript support (waiting for `@rbxts/fusion@0.3`, may defer to using `@znotfireman/fusion`)\n- [ ] Memoize utility for some utilities e.g. `usePx` really should be cached\n\n[Fusion Eventuals]: https://github.com/dphfox/Fusion/issues/4\n[`pretty-vide-utils`]: https://github.com/PepeElToro41/pretty-vide-utils\n[`pretty-react-hooks`]: https://github.com/littensy/pretty-react-hooks\n\n## License\n\n`pretty-fusion-utils` is avalible under MIT or Apache 2.0 terms.\n","readmeTruncated":false}