Install Hamsters.js using npm, npm install hamsters.js --save
Install react-native-hamsters using npm, npm install react-native-hamsters --save
ReactNative does not ship with a native Worker Thread implementation out of the box and the library will therefore make use of the legacy fallback mode allowing you to still write your logic and validate it works with the library but will not provide the performance benefits of multiple threads. To resolve this you will need to make use of the official react-native-hamsters threading implementation. Follow the instructions on that page and then return here.
Once you've downloaded and added the library to your project you should have a variable named hamsters available, this variable is the core of the library. Do not create any globally scoped variables with the same name or you will risk causing compatibility issues. Now that you've successfully added the library to your project, continue reading to begin using the library.