{"_id":"@anton.matosov/roact","_rev":"1-18d4a6464c3c1e4a4dc9c549291c063d","name":"@anton.matosov/roact","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@anton.matosov/roact","version":"1.0.0","description":"Robloxified React","main":"lib","directories":{"doc":"docs","example":"examples","lib":"lib"},"scripts":{"test":"lest"},"repository":{"type":"git","url":"git+https://github.com/Roblox/roact.git"},"keywords":["Roblox","React","GUI"],"author":{"name":"Roblox Corp"},"license":"Apache-2.0","bugs":{"url":"https://github.com/Roblox/roact/issues"},"homepage":"https://roblox.github.io/roact/","gitHead":"96c0f8efcfba277a98437596590576bf300bfe5e","_id":"@anton.matosov/roact@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"8.11.4","_npmUser":{"name":"anton.matosov","email":"anton.matosov@gmail.com"},"dist":{"integrity":"sha512-tGuvGti4THt1JTjyGaFIzW8G22Vu0w3BPSMOPz9EbtkDHHqLy1ZXcEeXWS6o8GEYoeETLh0dZCK5jLyoSOuVeA==","shasum":"0da53db6d865eaeb6e34dbf91b396554581ec0b1","tarball":"https://registry.npmjs.org/@anton.matosov/roact/-/roact-1.0.0.tgz","fileCount":82,"unpackedSize":196832,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9PbMCRA9TVsSAnZWagAAjCgP/RY21mOt16Q7FOd1ME0A\nEkvBZmSqvORqkuYNkWFvmOoq/DZhRhgyIftS15C0M2XP9JbUWm9lOQUCLAyc\nmcs7Uep9ionqcce7eB1dyB44ff/Jrr81igfDhnfjucCGwwWk5NuG5e8XKrrD\nSMey0OGyQBrco7gWeVKH6tyyHCXczcx1X7ujeYBFBYH7FAB+9FZS8hwgncu8\n6X5NVKX5AK52PooflP5/qbUDphdFqXmaRLGD/JNmyHE8E10REE6lxKKV/Nu9\n1SlXcIPhHn2GABhf6bYS64Eel6q86KhhPyKcbkjWuiBdETWbPurUHa9irfnp\nGjpn61TGFRqGBCRLhIZqSkDZeI2Dw6YDiDHzs9kxpfgfb4ESGnGOZlYQbXSj\nW2oLam+x7HXK0WQzYz3OivUNPFNHtLrrnCaErC/VlhZud0I3cCfi/N0C8jRU\nH/kjijwxjmjIK81Bs+lhZWOEETQnqI4zSjGgfebGGcA0u2xGz0aUPpf5HDtv\nCu4J5XaAhysCGfgutxJqyghk23IIpiduHh6c7TKAheLqHE78+qkSy0wY9Gac\nce1mu4wf3kf0H7Dty+Wst4T2YCJiDv5caFZsJKlUD7/t5TlGmyvg8QGb+M+z\n4smGfmpFJMlP45b67fD+yYiTe3hGjQjbuRZ9SNvzhPe8Z7Zik+xQBunMT5ZL\n+Tx8\r\n=zLQW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCxcbv6ydOUyLJNVaVf1fczJY3kMbw5K+UBw8xsfR6atQIgWa6Fy07VTXNAWapr+wTjaqfxH+Xj3NIjuDQc91ql1ss="}]},"maintainers":[{"name":"anton.matosov","email":"anton.matosov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/roact_1.0.0_1542780619865_0.6260433318151466"},"_hasShrinkwrap":false}},"time":{"created":"2018-11-21T06:10:19.687Z","1.0.0":"2018-11-21T06:10:20.077Z","modified":"2022-04-04T14:23:03.934Z"},"maintainers":[{"name":"anton.matosov","email":"anton.matosov@gmail.com"}],"description":"Robloxified React","homepage":"https://roblox.github.io/roact/","keywords":["Roblox","React","GUI"],"repository":{"type":"git","url":"git+https://github.com/Roblox/roact.git"},"author":{"name":"Roblox Corp"},"bugs":{"url":"https://github.com/Roblox/roact/issues"},"license":"Apache-2.0","readme":"<h1 align=\"center\">Roact</h1>\n<div align=\"center\">\n\t<a href=\"https://travis-ci.org/Roblox/roact\">\n\t\t<img src=\"https://api.travis-ci.org/Roblox/roact.svg?branch=master\" alt=\"Travis-CI Build Status\" />\n\t</a>\n\t<a href=\"https://coveralls.io/github/Roblox/roact?branch=master\">\n\t\t<img src=\"https://coveralls.io/repos/github/Roblox/roact/badge.svg?branch=master\" alt=\"Coveralls Coverage\" />\n\t</a>\n\t<a href=\"https://roblox.github.io/roact\">\n\t\t<img src=\"https://img.shields.io/badge/docs-website-green.svg\" alt=\"Documentation\" />\n\t</a>\n</div>\n\n<div align=\"center\">\n\tA declarative UI library for Roblox Lua inspired by <a href=\"https://reactjs.org\">React</a>.\n</div>\n\n<div>&nbsp;</div>\n\n## Installation\n\n### Method 1: Model File (Roblox Studio)\n* Download the `rbxmx` model file attached to the latest release from the [GitHub releases page](https://github.com/Roblox/Roact/releases).\n* Insert the model into Studio into a place like `ReplicatedStorage`\n\n### Method 2: Filesystem\n* Copy the `lib` directory into your codebase\n* Rename the folder to `Roact`\n* Use a plugin like [Rojo](https://github.com/LPGhatguy/rojo) to sync the files into a place\n\n## Usage\nFor a detailed guide and examples, check out [the official Roact documentation](https://roblox.github.io/roact).\n\n```lua\nlocal LocalPlayer = game:GetService(\"Players\").LocalPlayer\n\nlocal Roact = require(Roact)\n\n-- Create our virtual tree describing a full-screen text label.\nlocal tree = Roact.createElement(\"ScreenGui\", {}, {\n\tLabel = Roact.createElement(\"TextLabel\", {\n\t\tText = \"Hello, world!\",\n\t\tSize = UDim2.new(1, 0, 1, 0),\n\t}),\n})\n\n-- Turn our virtual tree into real instances and put them in PlayerGui\nRoact.mount(tree, LocalPlayer.PlayerGui, \"HelloWorld\")\n```\n\n## License\nRoact is available under the Apache 2.0 license. See [LICENSE](LICENSE) for details.","readmeFilename":"README.md"}