avatar_element
v1.0.1
Published
Get the Avatar's element based on their number in the lineage.
Downloads
3
Readme
avatar_element
Enter a number, and get the corresponding avatar element. Based on the Avatar: The Last Airbender and Avatar: The Legend of Korra tv series.
Installation
$ npm install avatar_element
Usage
const getAvatarElement = require("avatar_element")
// Aang was 182, and was an airbender
getAvatarElement(182) // returns "air"
// Korra was 183 and a water bender
getAvatarElement(183) // returns "water"