
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
bfx-hf-models-adapter-lowdb
Advanced tools
This is an adapter around lowdb (a lodash-powered JSON database) for the Bitfinex Honey Framework. To use, initialize an instance of the bfx-hf-models database with it as an adapter.
lowdb saves the DB contents as a JSON file on diskbfx-hf-models & the HF system (bfx-hf-data-server, bfx-hf-algo-server, bfx-hf-algo, etc)npm i --save bfx-hf-models-adapter-lowdb
const HFDBLowDBAdapter = require('bfx-hf-models-adapter-lowdb')
const { schema: HFDBBitfinexSchema } = require('bfx-hf-ext-plugin-bitfinex')
const HFDB = require('bfx-hf-models')
const LOWDB_FILENAME = '...'
const db = new HFDB({
schema: HFDBBitfinexSchema,
adapter: HFDBLowDBAdapter({
dbPath: LOWDB_FILENAME,
schema: HFDBBitfinexSchema,
}),
})
const { Candle } = db
const candles = await Candle.getAll()
console.log(`read ${candles.length} candles`)
Refer to the examples/ folder for executable examples. For information on the available model methods, check the documentation for bfx-hf-models
git checkout -b my-new-feature)git commit -am 'Add some feature')git push origin my-new-feature)FAQs
LowDB adapter for the HF database
We found that bfx-hf-models-adapter-lowdb demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.