Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 653 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 653 Bytes

quick-clash

Node.js CI npm NPM

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

Example

const clash = require('quick-clash')

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

Install

$ npm install quick-clash