{"id":"egor00f/switch","name":"switch","scope":"egor00f","platform":"roblox","description":"small lua switch implementation","version":"0.1.1","latest":"0.1.1","versions":["0.1.0","0.1.1"],"license":"MIT","licenseRating":"safe","licenseCaveats":["The package archive does not include its license text; the license is declared in its manifest metadata."],"licenseVerified":false,"dependencies":{},"integrity":"271c8e4438fa9d08352325042500c3942b5c9bdf0a3f0f8c8238b9806da85126","likes":0,"downloads":0,"install":"forest install egor00f/switch","url":"https://forest.dev/p/roblox/egor00f/switch","files":"https://api.forest.dev/ai/package/roblox/egor00f/switch/files","readme":"# Switch\n\n## Example\n\n```\nlocal ReplicatedStorage = game:GetService(\"ReplicatedStorage\")\n\nlocal switch = require(ReplicatedStorage.Packages.switch)\n\nswitch(1)\n{\n\t[1] = function()\n\n\tend\n\n\t[2] = function()\n\n\tend\n\n\t__index = function()\n\t\tprint(\"default\")\n\tend\n}\n```","readmeTruncated":false}