UNPKG

resume-client-socket.io

Version:

Resume Client API for Socket.IO and Node.JS - Medical Speech to Summarized Text

14 lines (10 loc) 312 B
'use strict' module.exports = function(usage, description) { if (typeof usage !== 'string' || typeof description !== 'string') { throw new TypeError( 'Usage for adding an Example: args.example("usage", "description")' ) } this.details.examples.push({ usage, description }) return this }