To run the Javascript samples you need to install a Node.js environment and install the libraries referenced in package.json
You may find these resources helpful:
Run npm install
to get dependencies installed into your local environment
to use these scripts.
This is a collection of short snippets that demonstrate get and post calls to each Media Processing API.