Registry / finance / lakebtc_nodejs

lakebtc_nodejs

JSON →
library0.1.8jsnpmunverified

A basic Node.js REST API client for the LakeBTC cryptocurrency exchange. Version 0.1.8 provides access to public market data (ticker, order book, trades) and authenticated account/trading endpoints. It uses a callback-based interface with minimal abstraction. The package is feature-complete for the LakeBTC API but is in maintenance mode with no recent updates since 2014. Key differentiator: simple wrapper around the exchange's API with no external HTTP dependencies beyond Node.js built-in modules.

npm install lakebtc_nodejs
INSTALL
IMPORT
SIG · LAKEBTC_NODEJS
L
lakebtc_nodejs
financejavascriptv0.1.8
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Lakebtc
var Lakebtc = require('lakebtc');
import Lakebtc from 'lakebtc';
This package only supports CommonJS (require). ES module imports will fail.

Creates a public API client and fetches the current ticker data from LakeBTC.

var Lakebtc = require('lakebtc'); var client = new Lakebtc(); client.ticker(function(err, data) { if (err) console.error(err); else console.log(data); });
Debug
Known issues
gotchaThe package name is 'lakebtc_nodejs' on npm but the module is required as 'lakebtc'.
fix
Use `require('lakebtc')` not `require('lakebtc_nodejs')`.
affects: >=0.1.0
gotchaAll callbacks follow Node.js error-first convention, but errors from the HTTP layer may not be properly propagated.
fix
Always check the first callback argument for errors.
affects: >=0.1.0
deprecatedPackage unmaintained since 2014; uses outdated Node.js patterns (no Promises, no async/await).
fix
Consider switching to a maintained exchange API client.
affects: >=0.1.0
gotchaAuthenticated endpoints require user_id, api_key, and api_secret to be set on the instance, but no validation is performed.
fix
Ensure credentials are set correctly before calling authenticated methods.
affects: >=0.1.0
Errors
Common errors & fixes
Error: Cannot find module 'lakebtc'
npm installed 'lakebtc_nodejs' but required as 'lakebtc'? Or the package is not installed.
fix
Run `npm install lakebtc_nodejs` and use `require('lakebtc')`.
TypeError: client.ticker is not a function
Forgot to instantiate the Lakebtc constructor.
fix
Use `var client = new Lakebtc();` before calling methods.
Upgrade
Version history
0.1.8latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
33 hits · last 30 days
node
30
Resources
lakebtc_nodejs — npm install lakebtc_nodejs · libregistry