0.2.0 • Published 5 months ago

minefort v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

Minefort

A TypeScript wrapper for the Minefort HTTP API

Installation

Install minefort with NPM

  npm install minefort

Features

  • Get a list of online Minefort servers
  • Get a list of blog articles

Basic Usage

const minefort = new Minefort();

async function main() {
    const minefort = new Minefort();
    const servers = await minefort.servers.getOnlineServers({
        limit: 10,
    });
    console.log(servers);

    const articles = await minefort.blog.getArticles();
    console.log(articles.reduce((acc, article) => acc + article.readingTime, 0));
}

main();

For more examples, visit example.ts.

Contributing

Contributions are always welcome!

See contributing.md for ways to get started.

License

MIT

Contributors

0.1.0

8 months ago

0.1.2

8 months ago

0.2.0

5 months ago

0.1.1

8 months ago

5.0.0

2 years ago

4.1.0

2 years ago

4.0.0

2 years ago

4.2.0

2 years ago

3.2.9

2 years ago

3.2.8

2 years ago

3.2.7

2 years ago

3.2.6

2 years ago

3.2.5

2 years ago

3.2.3

2 years ago

3.2.2

2 years ago

3.2.1

2 years ago

3.2.0

2 years ago

3.1.2

2 years ago

3.1.1

2 years ago

3.1.0

2 years ago

3.0.1

2 years ago

3.0.0

2 years ago

2.1.1

2 years ago

2.1.0

2 years ago

2.0.3

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.0

2 years ago

0.0.0

2 years ago