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

maplechange-api

v1.0.3

Published

The purpose of this repository is to provide easier access to NodeJS developers when it comes to developing applications for MapleChange.

Downloads

18

Readme

MapleChange NodeJS API Implementation

The purpose of this repository is to provide easier access to NodeJS developers when it comes to developing applications for MapleChange.

Install the npm repo:

npm install maplechange-api

The API uses two global variables in order to access personal data of the user. These can be generated through a user's profile page on the website. Here is a simple usage of MapleChange API.

var mapleAPI = require('maplechange-api');

mapleAPI.accessKey = 'YOUR_ACCESS_KEY_HERE';
mapleAPI.secretKey = 'YOUR_SECRET_KEY_HERE';

mapleAPI.getAllOrders(function(orders) {
    console.log(orders);
});

The following is a list of all functions and API calls possible through this repository:

getMarket(ticker, callback) - Returns info about a market based on ticker passed.

getMarkets(callback) - Returns all markets.

getTickers(callback) - Lists all tickers.

getAccount(callback) - Returns general information about one's account.

getAccountWallets(callback) - Returns information about all of the wallets in the account.

getAccountHistory(limit, callback) - Returns all of one's history (trades, withdraws, deposits)

generateOTP(callback) - Generates a new OTP code used for 2FA verification. This can only be generated if the account DOES NOT have 2FA.

verifyOTP(code, callback) - Verify the last generated OTP code with a 2FA key.

getDeposit(transactionId, callback) - Returns deposit information about a transaction ID.

getCurrencyDeposits(currency, callback) - Returns last three deposits of the given currency.

getCurrencyWithdraws(currency, callback) - Returns last three withdraws of the given currency.

getDepositAddress(currency, callback) - Returns the deposit address of the given currency.

getOrder(id, callback) - Information about the given order based on its ID.

getOrders(market, callback) - Returns all the orders of a market.

getAllOrders(callback) - Gives data about all orders.

createWithdrawal(currency, to, amount, two_factor, callback) - Creates a withdrawal. All of the variables are necessary.

createOrder(market, side, volume, price, callback) - Creates an order.

cancelOrder(id, callback) - Cancel an order you've placed based on its ID.

cancelOrdersBySide(side, callback) - Cancel all bids or asks (side).

cancelAllOrders(callback) - Self-explanatory.

getOrderBook(market, callback) - Returns active orders of a market.

getMarketDepth(market, callback) - Self-explanatory.

getMarketTrades(market, callback) - Returns all trades on a market.

getMyMarketTrades(market, callback) - Return all of the user's trades on the given market.

Exchange Information

getKData(market, limit, period, callback) - Gives data regarding the graph.

getVolume(callback) - Returns total volume of the exchange.

getCoins(callback) - Returns data about all coins on the exchange.

getTimestamp(callback) - Returns epoch time of the API server