Package Exports
- chroma-custom-utils
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (chroma-custom-utils) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Unofficial port of the Razer Chroma Rest SDK
Hello Everyone, this is part of a port of the razer chroma rest sdk, while razer offers the official javascript implementation of the SDK, it is implemented in ES5 and it is quite of an All in one solution, you could easily use it there's nothing wrong on that. However I wanted to practice a little bit and also have some typescript support as well.
Dist
This package produces UMD compiled javascript files, it is not a bundle, and it is not meant to be consumed directly, you should be using this with a bundler, say for example webpack
Build
npm install
npm run buildthis will create a Dist directory with the UMD compiled javascript files
Development
npm install
npm run test:watchif these two run well, you are ready to add/modify whatever you need
alsso if you are using vscode you can debug the tests since they are run with
--inspect by default
This code does not use razer specific product inside the code I based the code to reflect the Rest API that is documented on the Razer Rest SDK Docs