An unofficial API wrapper for CyberRange.
- Includes wrapper for administrator API
- TypeScript support
- Node.js 16.0.0+
import { User } from 'cyberrange';
// Create a new user
const user = new User('username', 'password');
// Authenticate the user
await user.login();
// Print out all active and expired campaigns (courses)
console.log(
await user.campaigns(),
);