{"id":22608928,"url":"https://github.com/bitfinexcom/bfx-api-node-plugin-example","last_synced_at":"2025-04-11T06:14:00.372Z","repository":{"id":57189578,"uuid":"147794053","full_name":"bitfinexcom/bfx-api-node-plugin-example","owner":"bitfinexcom","description":null,"archived":false,"fork":false,"pushed_at":"2020-06-09T11:05:46.000Z","size":17,"stargazers_count":3,"open_issues_count":1,"forks_count":5,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-23T15:41:18.549Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bitfinexcom.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-07T08:24:55.000Z","updated_at":"2021-05-19T04:55:01.000Z","dependencies_parsed_at":"2022-09-15T06:51:38.623Z","dependency_job_id":null,"html_url":"https://github.com/bitfinexcom/bfx-api-node-plugin-example","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitfinexcom%2Fbfx-api-node-plugin-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitfinexcom%2Fbfx-api-node-plugin-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitfinexcom%2Fbfx-api-node-plugin-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitfinexcom%2Fbfx-api-node-plugin-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitfinexcom","download_url":"https://codeload.github.com/bitfinexcom/bfx-api-node-plugin-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247588124,"owners_count":20962860,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-08T15:10:06.871Z","updated_at":"2025-04-11T06:14:00.351Z","avatar_url":"https://github.com/bitfinexcom.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bitfinex Example Plugin for the Node.JS API\n\n[![Build Status](https://travis-ci.org/bitfinexcom/bfx-api-node-plugin-example.svg?branch=master)](https://travis-ci.org/bitfinexcom/bfx-api-node-plugin-example)\n\nThis repo provides an example plugin compatible with `bfx-api-node-core` which logs all emitted events to the console. \n\n### Installation\n\n```bash\nnpm i --save bfx-api-node-plugin-example\n```\n\n### Quickstart \u0026 Example\n```js\nconst { Manager } = require('bfx-api-node-core')\nconst ExamplePlugin = require('bfx-api-node-plugin-example')\n\nconst m = new Manager({\n  plugins: [ExamplePlugin()],\n  // ...\n})\n\nm.openWS()\n```\n\n### Docs\n\nFor a full list of supported events, [see `lib/plugin.js`](/lib/plugin.js).\nFor a brief executable example, [see `examples/ws2_manager_usage.js`](/examples/ws2_manager_usage.js)\n\nFor more information on plugin development, check the [node API wiki](https://github.com/bitfinexcom/bitfinex-api-node/wiki)\n\n### Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitfinexcom%2Fbfx-api-node-plugin-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitfinexcom%2Fbfx-api-node-plugin-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitfinexcom%2Fbfx-api-node-plugin-example/lists"}