Open Source | TKSS Rodash Utility

It's like Lodash, but for Roku development

Published: Mar 15th 2021

Example BrigherScript autocomplete support

Example of TKSS Rodash when used in a project that leverages BrighterScript.

TKSS Software Inc. is proud to introduce the “TKSS Rodash” utility library for Roku development.

This utility is inspired by the Lodash JavaScript utility library that is used on over 4 million websites.

Our Goal

Our goal was to reduce the amount of time and code required by Roku developers to perform common tasks within their projects.  This enables developers to focus more on features, rather than then mundane tasks such as sorting and filtering arrays, advanced string casing, and type detections.

An example of using the Shuffle & Slice methods to quickly randomize and reduce the number of items needed to return.

How many methods are currently supported?

As of writing this post, there are approximately 150 methods available.

Why Use The Roku Package Manager?

We believe that the Roku Package Manager will become more commonplace for Roku open-source so we designed the utility library to be integrated this way.

BrighterScript Support

We support Rokus native Brightscript scripting language as well as BrighterScript (a powerful superset of BrightScript).

Stability And Error Handling

The TKSS Rodash utility is also designed to reduce the number of crashes and errors in your code by safely handling common errors found in the BrightScript language.  We have added some additional methods such as isInvalid() to make invalid checks as effortless as possible.

Documentation

Full documentation can be found at https://tkss-software.github.io/rodash/

NOTE: We currently do not support any of the FUNCTION methods found in Lodash such as after, ary, and delay.