Socket
Socket
Sign inDemoInstall

leoapi-wrapper

Package Overview
Dependencies
71
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    leoapi-wrapper

Use the leoapi with ease


Version published
Weekly downloads
0
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Leo API Wrapper

This wrapper utilises leoapi

To use this wrapper you must type in the functions...

const API = require('leoapi-wrapper')
const leo = API()

//for image endpoints 
leo.image('<endpoint>', {
    '<param>': '<value>'
})

//for data endpoints 
leo.data('<endpoint>').then(data => console.log(data))

//for text endpoints 
leo.text('<endpoint>').then(data => console.log(data))

//for fun endpoints 
leo.fun('<endpoint>').then(data => console.log(data))

Keywords

FAQs

Last updated on 26 Sep 2021

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc