2.0.0 • Published 3 years ago

among-us-ejection v2.0.0

Weekly downloads
7
License
MIT
Repository
github
Last release
3 years ago

among-us-ejection

npm Maintenance

A simple npm package that demonstrates the Among Us ejection scene!

Install

$ npm install among-us-ejection

Ejection on Different Maps

The Skeld

   .      .     。   。 .  
   
.   。      ඞ  。 .    •     •

  ゚   Crewmate was not An Impostor.  。 .
  
  '    1 Impostor remains     。
  
  ゚   .   . ,    .  .

MIRA HQ

    ☁️☁️☁️☁️☁️ ☁️☁️☁️☁️☁️  ☁️☁️☁️     ☁️☁️☁️☁️
    
 ☁️☁️☁️☁️☁️☁️   ඞ ☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️
 
        Crewmate was not An Impostor.
        
           1 Impostor remains.

Polus

                        ඞ
                        
        Crewmate was not An Impostor.
        
           1 Impostor remains.
           
  🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥

The Airship

                        ඞ
                        
        ☁️☁️ Crewmate was not An Impostor.
        
☁️☁️☁️☁️☁️☁️☁️☁️ 1 Impostor remains.

    ☁️☁️☁️☁️☁️☁️ ☁️☁️☁️☁️☁️☁️☁️    ☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️
    
     ☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️☁️   ☁️☁️☁️☁️☁️☁️☁️☁️

Usage

/**
 * @param {string} [crewmember] - Name of ejected crewmember.
 * @param {boolean} [isImpostor] - Is this person An Impostor?
 * @param {number} [impostorsRemain] - How many Impostors remain.
 * @param {string} [map] - The map that you will be ejecting the person out (Can be either The Skeld, MIRA HQ, Polus or The Airship)
 */
var eject = require('among-us-ejection');
eject(crewmember, isImpostor, impostorsRemain, map);

Quick Example

const eject = require('among-us-ejection');
eject('Crewmate',true,0,'The Skeld');

/* Expected Output:
.    。    •   ゚  。   .
       .      .     。   。 .  
    .   。      ඞ  。 .    •     •
      ゚   Crewmate was The Impostor.  。 .
      '    0 Impostors remain.     。
      ゚   .   . ,    .  .
*/