{"id":"csqrl/find-up","name":"find-up","scope":"csqrl","platform":"roblox","description":"Find an Instance by walking up ancestors","version":"1.1.0","latest":"1.1.0","versions":["1.0.0","1.1.0"],"license":"MIT","licenseRating":"safe","licenseCaveats":[],"licenseVerified":true,"dependencies":{},"integrity":"03ad773d8b24a1ca23ce5e6037fb8cd1ee05024382e55bb6b56e88420b845c2a","likes":0,"downloads":0,"install":"forest install csqrl/find-up","url":"https://forest.dev/p/roblox/csqrl/find-up","files":"https://api.forest.dev/ai/package/roblox/csqrl/find-up/files","readme":"<!-- Project Link References -->\n\n[latest release]: https://github.com/csqrl/find-up/releases/latest\n[library url]: https://www.roblox.com/library/7959218626\n[npm package]: https://npmjs.com/package/@rbxts/find-up\n\n<!-- Articles -->\n\n[rojo]: https://rojo.space\n[wally]: https://github.com/upliftgames/wally\n[roblox-ts]: https://roblox-ts.com\n\n<!-- Images -->\n\n[shield gh release]: https://img.shields.io/github/v/release/csqrl/find-up?label=latest+release&style=flat\n[shield npm release]: https://img.shields.io/npm/v/@rbxts/find-up?style=flat\n[shield wally release]: https://img.shields.io/endpoint?url=https://runkit.io/clockworksquirrel/wally-version-shield/branches/master/csqrl/find-up&color=blue&label=wally&style=flat\n\n# FindUp\n\n[![GitHub release (latest by date)][shield gh release]][latest release]\n[![NPM release (latest)][shield npm release]][npm package]\n[![Wally release (latest)][shield wally release]][latest release]\n\nFind an Instance by walking up ancestors.\n\n```lua\nlocal humanoid = FindUp(script, \"Humanoid\", {\n    className = \"Humanoid\",\n})\n\nlocal roact = FindUp(script, \"Roact\", {\n    className = \"ModuleScript\",\n})\n```\n\n## Installation\n\n### [Wally][wally]\n\nAdd `find-up` to your `wally.toml` and run `wally install`\n\n```toml\n# wally.toml\n[dependencies]\nFindUp = \"csqrl/find-up@1.1.0\"\n```\n\n```sh\n$ wally install\n```\n\n### [Roblox-TS][roblox-ts]\n\nInstall the [`@rbxts/find-up`][npm package] package using npm or yarn.\n\n```sh\n$ npm i @rbxts/find-up\n$ yarn add @rbxts/find-up\n$ pnpm i @rbxts/find-up\n```\n\n# Documentation\n\nDocumentation can be found at https://csqrl.github.io/find-up.\n","readmeTruncated":false}