1.2.6 • Published 9 months ago

sampinfoque v1.2.6

Weekly downloads
-
License
ISC
Repository
github
Last release
9 months ago

SAMP INFO QUE NPM PACKAGE

A simple Node.js module to fetch and display information from SA-MP (San Andreas Multiplayer) servers.

Maping That How Its Work

npm.io

📦 Installation

npm install sampinfoque

📋 Step-by-Step Guide To Get URL

To use the sampinfoque npm package, you need a valid serverInfoUrl from GS4u.net. Follow the steps below to obtain this URL:


Usage server.js

const SampInfo = require('sampinfoque');

const samp = new SampInfo({
    serverInfoUrl: 'https://www.gs4u.net/en/s/80410.html',
});

const start = async () => {
    const data = await samp.fetchServerInfo();
    console.log(data);
}

start();

Output

npm.io

📝 Notes

  • Ensure that the server URL is accessible and correctly formatted.
  • The module retrieves real-time information, so server status may vary.

🛠️ Troubleshooting

If you encounter issues while fetching server information: 1. Verify that the server URL is correct. 2. Check if the server is running and accessible. 3. Make sure your network connection is stable.

🤝 Contributing

Feel free to open issues or submit pull requests for improvements and bug fixes!

1.2.6

9 months ago

1.2.5

9 months ago

1.2.4

9 months ago

1.2.3

9 months ago

1.2.2

9 months ago

1.2.1

9 months ago

1.2.0

9 months ago

1.0.0

9 months ago