This JavaScript API is available for two Silicon Labs modules, AMW007 and WGM160P. The source code for each module is available in this repository on their respective branches.
git clone https://github.com/SiliconLabs/gecko-os-js.git
git checkout <module-branch>
For example, to get the source code to the AMW007 JS library, run
git clone https://github.com/SiliconLabs/gecko-os-js.git
git checkout AMW007
For more information, see https://docs.silabs.com/.