3.1.1 • Published 3 years ago

ayaya-lcu-connector v3.1.1

Weekly downloads
1
License
MIT
Repository
-
Last release
3 years ago

ayaya-lcu-connector

Simple lib to interact with LCU

Install

npm i ayaya-lcu-connector

Usage

const LCU = require('ayaya-lcu-connector');
const lcu = new LCU();

lcu.connect().then(() => {
    lcu.listenForEvents((data, type, uri) => {
        console.log(type + ' ' + uri);
    })
});

lcu.makeRequest('GET','/lol-chat/v1/me').then(data=>{
   console.log(data.summonerName); 
});

License

MIT

3.1.1

3 years ago

3.1.0

3 years ago

3.0.0

3 years ago

2.0.2

3 years ago

2.1.0

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago