{"id":27160308,"url":"https://github.com/codefeathers/do-node","last_synced_at":"2025-04-08T23:41:07.997Z","repository":{"id":57103016,"uuid":"121019409","full_name":"codefeathers/do-node","owner":"codefeathers","description":"A lightweight promise based Node wrapper around DigitalOcean's API v2","archived":false,"fork":false,"pushed_at":"2018-02-11T08:12:53.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T20:34:37.657Z","etag":null,"topics":["api","digitalocean","node-wrapper","promise","v2"],"latest_commit_sha":null,"homepage":"","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/codefeathers.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-10T13:50:56.000Z","updated_at":"2018-05-18T04:15:00.000Z","dependencies_parsed_at":"2022-08-20T20:40:48.894Z","dependency_job_id":null,"html_url":"https://github.com/codefeathers/do-node","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codefeathers%2Fdo-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codefeathers%2Fdo-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codefeathers%2Fdo-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codefeathers%2Fdo-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codefeathers","download_url":"https://codeload.github.com/codefeathers/do-node/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247947823,"owners_count":21023058,"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":["api","digitalocean","node-wrapper","promise","v2"],"created_at":"2025-04-08T23:41:07.549Z","updated_at":"2025-04-08T23:41:07.984Z","avatar_url":"https://github.com/codefeathers.png","language":"JavaScript","readme":"# do-node\n\n**A lightweight promise based Node wrapper for DigitalOcean API v2**\n\nCurrently do-node only supports domain and domain records functions.\n\n## Installation\n\n`npm install --save @codefeathers/do-node`\n\n## Usage\n\n- Get an API key from DigitalOcean.\n\n- Add it to a `config.js` file in the same folder as your entry point like this:\n\n```JavaScript\nmodule.exports = {\n\ttoken: '241f24ac97abe3321b0c972d97579ace4ae38c34a709169289c6474d58d8f',\n}\n```\n\n- Import it in your file:\n\n```JavaScript\nconst digitalOcean = require('do-node');\n\ndigitalOcean.domain.Create({\n\t\tname: 'example.com',\n\t\tip: '1.2.3.4',\n\t})\n\t.then(res =\u003e console.log(res))\n\t.catch(err =\u003e console.log(err.response.data.message));\n\ndigitalOcean.domain.Records.Update({\n\t\tname: 'example.com',\n\t}, 35459888)\n\t.then(res =\u003e console.log(res))\n\t.catch(err =\u003e console.log(err.response.data.message));\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodefeathers%2Fdo-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodefeathers%2Fdo-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodefeathers%2Fdo-node/lists"}