Skip to content

TeamLoick/lolinck.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


lolinck.js


loick Discord server npm version npm downloads

A node.js library to interact with lolinck API. If you want to use the API with other languages you can check the API documentation. If you need help join the discord

Installation

We recommend using npm to install lolinck.js:

npm install lolinck.js
# yarn add lolinck.js
# pnpm add lolinck.js

Usage

CommonJs:

const lolinck = require("lolinck.js");

(async () => {
  var res = await lolinck("https://lolinck.com", {
    type: "json", // response type, only json is avalaible for now
    real_time: false, // select if you want to use cache or not (premium feature)
  });
  console.log(res); /* {
    url: "https://lolinck.com",
    MALICIOUS: false,
    SUSPICIUS: false,
    NSFW: false,
    MALWARE: false,
    PHISHING: false,
    IP_LOGGING: false,
  }*/
})();

ESmodules:

import lolinck from 'lolinck.js';

(async () => {
  var res = await lolinck("https://lolinck.com", {
    type: "json", // response type, only json is avalaible for now
    real_time: false, // select if you want to use cache or not (premium feature)
  });
  console.log(res); /* {
    url: "https://lolinck.com",
    MALICIOUS: false,
    SUSPICIUS: false,
    NSFW: false,
    MALWARE: false,
    PHISHING: false,
    IP_LOGGING: false,
  }*/
})();

About

A node.js library to interact with lolinck API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published