lenny-api
v1.0.1
Published
Bu web sitesindeki (https://bit.ly/2XqekG9) lenny'lerden birini gönderir.
Downloads
5
Maintainers
Readme
[email protected]
npm i lenny-api
Nedir?
- Bu paket rastgele ve güzel LENNY'LER almanı sağlar. Her kullanım 1 tane lenny sağlar.
Kaynak?
Kullanım
Async olmayan Fonksiyon
const lennyapi = require('lenny-api');
lennyapi.lenny().then(lenny => {
console.log(lenny)
// ya da başka bir kod...
})
Async olan Foksiyon
const lennyapi = require('lenny-api');
async function lenFunction() {
const lenny = await lennyapi.lenny();
console.log(lenny)
// ya da başka bir kod...
}
lenFunction()