{"id":20485265,"url":"https://github.com/runnable/swarmerode","last_synced_at":"2025-04-13T14:52:59.775Z","repository":{"id":65509014,"uuid":"50061497","full_name":"Runnable/swarmerode","owner":"Runnable","description":null,"archived":false,"fork":false,"pushed_at":"2017-05-31T21:44:20.000Z","size":60,"stargazers_count":4,"open_issues_count":38,"forks_count":1,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-11T19:55:16.620Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Runnable.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-20T21:28:37.000Z","updated_at":"2024-12-01T00:05:20.000Z","dependencies_parsed_at":"2023-01-26T16:35:11.862Z","dependency_job_id":null,"html_url":"https://github.com/Runnable/swarmerode","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Runnable%2Fswarmerode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Runnable%2Fswarmerode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Runnable%2Fswarmerode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Runnable%2Fswarmerode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Runnable","download_url":"https://codeload.github.com/Runnable/swarmerode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248732509,"owners_count":21152851,"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-11-15T16:29:05.301Z","updated_at":"2025-04-13T14:52:59.751Z","avatar_url":"https://github.com/Runnable.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# swarmerode\n\n[![Build Status](https://img.shields.io/travis/Runnable/swarmerode/master.svg?style=flat-square)](https://travis-ci.org/Runnable/swarmerode)\n[![Test Coverage](https://img.shields.io/coveralls/Runnable/swarmerode.svg?style=flat-square)](https://coveralls.io/github/Runnable/swarmerode)\n[![Dependency Status](https://img.shields.io/david/Runnable/swarmerode.svg?style=flat-square)](https://david-dm.org/Runnable/swarmerode)\n[![devDependency Status](https://img.shields.io/david/dev/Runnable/swarmerode.svg?style=flat-square)](https://david-dm.org/Runnable/swarmerode#info=devDependencies)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)\n\nSwarmerode is a tool to extend [`dockerode`](https://www.npmjs.com/package/dockerode) with nice swarm helper functions.\n\n## Example\n\n```javascript\nvar Swarmerode = require('swarmerode')\nvar Dockerode = require('dockerode')\n\n// extend Dockerode w/ Swarm functions.\nDockerode = Swarmerode(Dockerode)\n\nvar swarmClient = new Dockerode(/* opts */)\nswarmClient.swarmHostExists('10.0.0.1:2375', function (err, hostExists) {\n  if (err) { throw err }\n  console.log(\n    hostExists\n      ? 'The given host exists!'\n      : 'The given host was not found.'\n  )\n})\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frunnable%2Fswarmerode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frunnable%2Fswarmerode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frunnable%2Fswarmerode/lists"}