npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@license-panel/api

v1.0.2

Published

License-Panel API npm package

Readme

LPAPI (License-Panel API) npm SDK

This is the License-Panel API (short LPAPI) npm SDK documentation. The License-Panel API is organized around REST. Our API has predictable resource-oriented URLs, accepts form-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs. The License-Panel API doesn’t support bulk updates. You can work on only one object per request. This API uses Bearer-Tokens generated in the panel of your user account to authenticate requests. READ MORE

Documentation

Documentation

Tech Stack

Server: Node.js

Subscription: In order to gain access to the License-Panel API you need a valid subscription at License-Panel.com

Permissions: You have to deploy at least one API key via the panel and assign one or more permissions.

License

MIT MIT License

Installation

Install LPAPI SDK with npm

  npm install --save @license-panel/api

Authentication

You can initialize the SDK by requiring the @license-panel/api module in your Node.js index file. The SDK is organized around your first initialized function cohering to the names and paths found in our API docs as well. All functions are asynchronous and have thus to be executed within another asynchronous function awaiting a response.

const LPAPI = require('@license-panel/api');
const lpapi = LPAPI('API KEY');

Requesting and filtering licenses

Request all licenses

const request = async () => {
    await lpapi.show.All();
};

Request all licenses of the API-Key user

const request = async () => {
    await lpapi.show.User();
};

Show licenses similar or identical to a given name

const request = async () => {
    await lpapi.filter.byName(name);
};

Show licenses similar or identical to a given key

const request = async () => {
    await lpapi.filter.byKey(key);
};

Show licenses with a given validity

const request = async () => {
    await lpapi.filter.byValidity(valid/invalid);
};

Check if licenses are valid

Check by providing an ID

const request = async () => {
    await lpapi.check.id(id);
};

Check by providing a key

const request = async () => {
    await lpapi.check.key(key);
};

Check by providing a name

const request = async () => {
    await lpapi.check.name(name);
};

Create licenses

For details on how to structure the POST body, please refer to the API docs at api.license-panel.com

Create a TimeLicense

const request = async () => {
    await lpapi.create.timeLicense(data);
};

Create a KeyLicense

const request = async () => {
    await lpapi.create.keyLicense(data);
};

Create a CustomLicense

const request = async () => {
    await lpapi.create.customLicense(data);
};

Delete licenses

Delete a license by providing an ID

const request = async () => {
    await lpapi.delete.id(id);
};

Delete a license by providing a key

const request = async () => {
    await lpapi.delete.key(key);
};

Delete a license by providing a name

const request = async () => {
    await lpapi.delete.name(name);
};

Update licenses

For details on how to structure the PUT body, please refer to the API docs at api.license-panel.com. For updating Licenses you can either use the PUT or PATCH method. You can define your favored method within the function. If no value is provided, PUT will be used to update your license.

Update a license by providing an ID

const request = async () => {
    await lpapi.update.id(id, data, method);
};

Update a license by providing a key

const request = async () => {
    await lpapi.update.key(key, data, method);
};

Update a license by providing a name

const request = async () => {
    await lpapi.update.name(name, data, method);
};

Support

For support, email [email protected] or open a ticket via the Panel at License-Panel.com