JavaScript client for Patchboard APIs