Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including lngzl with all npm packages installed. Try it out:

var lngzl = require("lngzl")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

lngzl v1.0.0

The official Node.js wrapper for the LNGZL { API }

LNGZL { API }

This is a family of APIs that I made for numerous usage cases, for example the email validator will valiate email addresses for the file.coffee project.

For the full list, head over to lngzl.nl/api. I'll try my best to always update this library when I change things over at the API itself.

Usage

It currently supports almost all public APIs that I've made, excluding the ua one since it will always return the same useragent so I felt like it wasn't needed.

  • File.coffee statistics (filecoffee)
  • Email validator (mailcheck)
  • Minecraft server status (mcserver), ratelimited to 30 requests a minute.
  • Random one liner (oneliner)

First install the package by running npm i lngzl

Top Code

const lngzl = require('lngzl')

filecoffee

lngzl.filecoffee(r => {
    // Returns the file.coffee statistics, they update once a minute.
    console.log(r)
})

mailcheck

lngzl.mailcheck('hi@file.coffee', r => {
    // Verifies if the email address is valid according to the RFC 5322 Official Standard
    console.log(r)
})

mcserver

lngzl.mcserver('mc.hypixel.net', r => {
    // Will return success: false when you get ratelimited
    // You don't need to enter an port if your IP ends on 25565 as it will add it automatically.
    console.log(r)
})

oneliner

lngzl.oneliner(r => {
    // Returns a random one liner
    console.log(r)
})

Todo

  • [ ] Fix the MOTD for servers that run on bungeecord, for example mc.hypixel.net doesn't work properly (on the end of the API)
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free