minecraft-curseforge-getter
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

Minecraft CurseForge Getter

English | Chinese

Introduction

This is a CurseForge crawler written in javascript. It can crawl data from CurseForge, including mod information and modpack information.

Usage

First, you should add this package to your project.

// We really recommend you to use yarn
yarn add minecraft-curseforge-getter
 
// Traditional npm is also accessable
npm install minecraft-curseforge-getter --save
 
// And if you're in mainland China
npm install -g cnpm --registry=https://registry.npm.taobao.org
cnpm install minecraft-curseforge-getter --save

Then, you can use as tests go. Here's an example.

import { curseforge } from "minecraft-curseforge-getter";
 
curseforge.getPage(1, {}, mods => {
  console.log(mods.length);
});

Contribution

WIP.

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i minecraft-curseforge-getter

Weekly Downloads

3

Version

0.1.2

License

MIT

Unpacked Size

90.2 kB

Total Files

56

Last publish

Collaborators

  • yesterday17