New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

clwo

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clwo

CLWO API Wrapper for Node.JS

latest
npmnpm
Version
1.0.1
Version published
Weekly downloads
11
120%
Maintainers
1
Weekly downloads
 
Created
Source

CLWO Node Wrapper

var clwo = require('clwo')

# Turn on/off minifying requests (default: true)
clwo.minify(true)
clwo.minify(false)

# Get a custom endpoint
clwo.get('server/custom.php', {}, function(data){ console.log(data) })

# Get a built-in endpoint
clwo.serverInfo({}, function(data) { console.log(data) })

# Give custom object parameters
clwo.admins({ parent: "*" }, function(data) { console.log(data) })

# Get all the data from the endpoint
clwo.ip({ key: "*", value: "*", minify: false}, function(data, status, datainfo, message, stats) { // All the return values })

Includes the following endpoints:

  • serverInfo (server/info.php)

  • serverPlayers (server/players.php)

  • serverPing (server/ping.php)

  • serverRules (server/rules.php)

  • admins (admins.php)

  • sourcebans (sourcebans.php)

  • teamlocks (teamlocks.php)

  • teambans (teambans.php)

  • warnings (warnings.php)

  • microphones (microphones.php)

  • accounts (acccounts.php)

  • playtime (playtime.php)

  • nicknames (nicknames.php)

  • ip (ip.php)

  • alts (alts.php)

FAQs

Package last updated on 08 May 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts