scjs - A simple interface to Scala Content Manager web-services.
This module is loosely modelled after the scws2 Python module, supporting the 2.x REST API.
Example usage (set DEBUG=scjs for debug output):
const ConManager = ; const baseurl = "http://localhost/ContentManager";const username = "user";const password = "pass";const cm = baseurl; async { const resp = await cm; try const players = await cm; console; const media = await cm; let items = ; for const item of medialist items; await Promiseallitems; const item = await cm; console; finally await cm; };