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 🙏

© 2026 – Pkg Stats / Ryan Hefner

yiimp-node

v0.0.2

Published

wrapper api for yiimp API

Downloads

23

Readme

Yiimp Api Node.js Wrapper

Synopsis

This projects helps you to make HTTP requests to the yiimp API.

Installation

npm install yiimp-node
var yimpclient = require('yiimp-node');
// Public API
//hostapi: /api
//dns: yiimp.eu

var client = new yimpclient(hostapi,dns,interval);

Yiimp API

YiiMP is a pool management solution based on the Yii Framework. Yiimp api datasets are accessible by developers through an HTTP REST API.

API Index

Example Api's server address: https://yiimp.eu/api or define our domaine, method GET.

Methods

status

Response

{
  "bitcore":
  {"name":"bitcore","port":3556,"coins":1,"fees":2,"hashrate":47524264198,"workers":939,"estimate_current":"0.00000821","estimate_last24h":"0.00000904","actual_last24h":"0.01038","hashrate_last24h":50681728691.198}
}

Examples Request: /api/status

 client.status(function (error, data) {
  if(error) console.log("E!",error)
  console.dir(data);
 });

currencies

Response

{
  "algo":"quark","port":4033,"name":"ALQO","height":184569,"workers":5,"shares":"0","hashrate":"0","estimate":"0.00027","24h_blocks":0,"24h_btc":0,"lastblock":183066,"timesincelast":94968

}

Examples Request: /api/currencies

 client.currencies(function (error, data) {
  if(error) console.log("E!",error)
  console.dir(data);
 });

wallet

Response

{
  currency: 'DSR',
  unsold: 1.038396970406842,
  balance: 0,
  unpaid: 1.03839697,
  paid24h: 4.89693467,
  total: 5.93533164,
  miners:[] 
}

Examples

Request: /api/wallet

param: 
Address: address target     
 client.wallet(address,function (error, data) {
  if(error) console.log("E!",error)
  console.dir(data);
 });

initstream

Response

{
  "bitcore":
  {"name":"bitcore","port":3556,"coins":1,"fees":2,"hashrate":47524264198,"workers":939,"estimate_current":"0.00000821","estimate_last24h":"0.00000904","actual_last24h":"0.01038","hashrate_last24h":50681728691.198}
}

Examples Request: /api/status

params:
duration: minimum 10s or highest     
 client.initstream(function (data) {
  console.dir(data);
 });

walletstream

Response

{
  currency: 'DSR',
  unsold: 1.038396970406842,
  balance: 0,
  unpaid: 1.03839697,
  paid24h: 4.89693467,
  total: 5.93533164,
  miners:[] 
}

Examples

Request: /api/wallet

params: 
Address: address target
duration: minimum 10s or highest     
 client.walletstream(address,function (data) {
  console.dir(data);
 });

currenciestream

Response

{
  "algo":"quark","port":4033,"name":"ALQO","height":184569,"workers":5,"shares":"0","hashrate":"0","estimate":"0.00027","24h_blocks":0,"24h_btc":0,"lastblock":183066,"timesincelast":94968

}

Examples Request: /api/currencies

params: 
duration: minimum 10s or highest  
 client.currencies(function (error, data) {
  if(error) console.log("E!",error)
  console.dir(data);
 });

API Reference

https://github.com/globalzon/yaamp

https://github.com/tpruvot/yiimp

Contributors

Anis Haboubi

License

See LICENSE.txt for more info.