Next Prince Montage

    sei-messenger

    1.2.1 • Public • Published

    Sei Messenger

    sei-messenger is a javascript package mean to ease integration with Caveon's Secure Exam Interface and external items.

    npm install sei-messenger
    

    You can read more about integration in our technical post on help.caveon.com. Below are the basic instructions for use.

    Include/Import the file

    You can import the package, or use the minified version included in the repository.

    Download and include:

    <script type="text/javascript" src="/path/to/SeiMessenger.min.js"></script>
    

    Import

    
    // ES6
    import SeiMessenger from 'sei-messenger';
    
    // requireJS
    var SeiMessenger = require("sei-messenger");
    
    

    To use the library, simply instantiate a new instance:

    var messenger = new SeiMessenger();
    

    Then to communicate with SEI, call the sendMessage() method with the message as a string.

    messenger.sendMessage('Your message to SEI here.');
    

    For an explanation of how the script works, and what additional utilities it supplies, visit the technical post on help.caveon.com

    Tests

    npm run test
    

    Keywords

    Install

    npm i sei-messenger

    DownloadsWeekly Downloads

    7

    Version

    1.2.1

    License

    MIT

    Unpacked Size

    11.2 kB

    Total Files

    9

    Last publish

    Collaborators

    • caveon