{"_id":"@codefeathers/do-node","_rev":"3-0ab3b912199a305f1d610ddf0a12f42b","name":"@codefeathers/do-node","dist-tags":{"latest":"0.2.1"},"versions":{"0.2.0":{"name":"@codefeathers/do-node","version":"0.2.0","description":"A (partial) DigitalOcean wrapper for Node.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/codefeathers/do-node.git"},"keywords":["DigitalOcean","node","javascript"],"author":{"name":"Muthu Kumar","url":"https://mkr.pw"},"license":"MIT","bugs":{"url":"https://github.com/codefeathers/do-node/issues"},"homepage":"https://github.com/codefeathers/do-node#readme","dependencies":{"axios":"^0.17.1"},"gitHead":"e7cf3b618245074cc35983716ca9b75deaaea1f8","_id":"@codefeathers/do-node@0.2.0","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"mkrhere","email":"contact@thefeathers.in"},"dist":{"integrity":"sha512-h9vD+JJ2zSmwThpDe1ScGN1LAJKfb05ZXMm6PGcSph1n/k+9nUsnEnanTr4lTx8Il7oB2owXVu/vUrQURCDkwQ==","shasum":"be0265af8619638d4b41e5214482d71f82b00ea1","tarball":"https://registry.npmjs.org/@codefeathers/do-node/-/do-node-0.2.0.tgz","fileCount":14,"unpackedSize":6681,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHzc3p4UoZ5/lJZ/9uPzYLWfmcsYweTvqQ2Mn/Or997yAiEAmN4q7eZ0l45JNB5NG9dDGxj/yOP3r+e73HqVsQ2tuFg="}]},"maintainers":[{"name":"mkrhere","email":"contact@thefeathers.in"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/do-node_0.2.0_1518336682228_0.8992774570018005"},"_hasShrinkwrap":false},"0.2.1":{"name":"@codefeathers/do-node","version":"0.2.1","description":"A (partial) DigitalOcean wrapper for Node.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/codefeathers/do-node.git"},"keywords":["DigitalOcean","node","javascript"],"author":{"name":"Muthu Kumar","url":"https://mkr.pw"},"license":"MIT","bugs":{"url":"https://github.com/codefeathers/do-node/issues"},"homepage":"https://github.com/codefeathers/do-node#readme","dependencies":{"axios":"^0.17.1"},"gitHead":"8ef40eb69a28dd7e9aa9e905e26602147c01fe82","_id":"@codefeathers/do-node@0.2.1","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"mkrhere","email":"contact@thefeathers.in"},"dist":{"integrity":"sha512-Ng78t/Z6Dw189xh9KU5Wux0hQp177nETP52EA2PjBxF/+gyrbJfYCbS4D5kdPaPWHxGIR8n4NA0ENd1Qzx82jA==","shasum":"9753eedc07a4785d677b3ddb1000272462f35142","tarball":"https://registry.npmjs.org/@codefeathers/do-node/-/do-node-0.2.1.tgz","fileCount":14,"unpackedSize":6560,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/raOI6cHWBR4l9WOA4CEyaxPAwHBvvl1JrdKdYWLidAIhAKhKjU/KdDXxWW+wfsYQbRSnNKySDxTVsWVPLya4rUnx"}]},"maintainers":[{"name":"mkrhere","email":"contact@thefeathers.in"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/do-node_0.2.1_1518336774693_0.2891714779893215"},"_hasShrinkwrap":false}},"time":{"created":"2018-02-11T08:11:22.150Z","0.2.0":"2018-02-11T08:11:22.277Z","modified":"2022-04-05T00:02:20.451Z","0.2.1":"2018-02-11T08:12:54.794Z"},"maintainers":[{"name":"mkrhere","email":"contact@thefeathers.in"}],"description":"A (partial) DigitalOcean wrapper for Node.","homepage":"https://github.com/codefeathers/do-node#readme","keywords":["DigitalOcean","node","javascript"],"repository":{"type":"git","url":"git+https://github.com/codefeathers/do-node.git"},"author":{"name":"Muthu Kumar","url":"https://mkr.pw"},"bugs":{"url":"https://github.com/codefeathers/do-node/issues"},"license":"MIT","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 => console.log(res))\n\t.catch(err => console.log(err.response.data.message));\n\ndigitalOcean.domain.Records.Update({\n\t\tname: 'example.com',\n\t}, 35459888)\n\t.then(res => console.log(res))\n\t.catch(err => console.log(err.response.data.message));\n```\n","readmeFilename":"README.md"}