Non Programming Manager

    akinator

    1.0.1 • Public • Published

    akinator

    provides evented api and a cli app

    npm i -g akinator to install akinator which you can run at any time

    import Akinator from 'akinator';
     
    const akinator = new Akinator();
     
    akinator.on('answer', () => {
      // do something
    });
     
    akinator.on('guess', () => {
      // something else
    });
     
    akinator.on('end', (win) => {
      if (win) // akinator guessed correctly
    });

    Keywords

    none

    Install

    npm i akinator

    DownloadsWeekly Downloads

    159

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • snek