grownpm
v1.0.0
Published
Simple npm package about the information of the Growtopia status
Downloads
3
Maintainers
Readme
GrowNpm
🔧 Installation
npm install grownpm
📄 About
GrowNpm is simple npm package about the information of the Growtopia status
📎 Usage
📕 Basic Information
const gt = require("grownpm");
// Type: [ Promise ]
gt.then(data => {
console.log(data.online_user);
// Output: 57144
}).catch(error => {
console.log(error);
})
📚 All Informations
const gt = require("grownpm");
//Type: [ Promise ]
gt.then(data => {
console.log(data);
/*
Output:
{
online_users: '57144',
wotd: {
name: 'faerietale',
image: 'https://www.growtopiagame.com/worlds/faerietale.png'
},
time: {
full_time: 'Jan 5, 2021 2:02 AM',
date: 'Jan 5, 2021',
time: '2:02:13 AM'
}
}
*/
}).catch(error => {
console.log(error);
})