Socket
Socket
Sign inDemoInstall

node-papermc

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-papermc

PaperMC API


Version published
Maintainers
1
Created
Source

node-papermc

functions

BASE_URL: string

Base URL of rest api

getProjectInfo(project: string): Promise<PaperProjectInfos>

Get project id, project name, version groups, versions

getVersionInfo(project: string, version: string) Promise<PaperVersionInfos>

Get project id, project name, version, builds

getVersionGroupInfo(project: string, version_group: string): Promise<PaperVersionGroupInfos>

Get project id, project name, version group, versions

getVersionGroupBuilds(project: string, version_group: string): Promise<PaperVersionGroupBuilds>

Get project id, project name, version group, versions, builds

getBuildInfo(project: string, version: string, build: number): Promise<PaperBuildInfos>

Get project id, project name, build, time, changes, downloads

download(project: string, version: string, build: number, name: string): Promise<Blob>

Get build file blob

examples

javascript example

typescript example

Keywords

FAQs

Package last updated on 05 Feb 2021

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