moodle-node
v1.0.11
Published
Manage Moodle from NodeJS
Downloads
816
Maintainers
Readme
moodle-node
Manage Moodle from NodeJS
Installation
npm install moodle-node
Usage
const moodle = require('moodle-node');
const user = await moodle.user.createUser({
username: 'joeblow',
password: 'Pass1234!',
email: '[email protected]',
firstname: 'Joe',
lastname: 'Blow',
});
console.log(user);
Output
The output is a JSON object or array based on the function called:
[
{
"id": 7,
"username": "joeblow"
}
]
Contact Information
If you ever need a hand or have any questions, feel free to reach out.
Fred Lackey
https://fredlackey.com
[email protected]