quick-clash

1.0.4 • Public • Published

quick-clash

npm NPM

Create and launch private clash of code games or get active public games

Example

const clash = require('quick-clash')

clash.createClashClient("MyEmail@Email.com", "MyPassword").then( client => {
    client.createPrivateGame().then(game=> {
        console.log(game)
        console.log(clash.getClashLinkFromHandle(game['publicHandle']))
        client.launchLastGame()
    })
})

Install

$ npm install quick-clash

Package Sidebar

Install

npm i quick-clash

Weekly Downloads

1

Version

1.0.4

License

ISC

Unpacked Size

11.3 kB

Total Files

7

Last publish

Collaborators

  • vshnv