Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@moonr/api

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@moonr/api

Fetcher for AlyaChan API

  • 0.0.1
  • latest
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

Official Fetcher for AlyaChan API

Module to fetch api data very easily with efficient and readable code

How to use ??

for the get method

Api.get([endpoint], {[parameter]})

for the post method

Api.post([endpoint], {[parameter]})

Set the path first in .env

API_ENDPOINT = 'https://api.alyachan.dev/'
API_KEY = 'yourkey'

Example

const Api = new (require('@moonr/api'))
const json = await Api.get('api/tiktok', {
   url: 'https://vm.tiktok.com/ZSR7c5G6y/'
})
console.log(json)

^ Thank you for using our API service

FAQs

Package last updated on 11 Sep 2024

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc