UNPKG

dots-wrapper

Version:

Digital Ocean v2 api wrapper - javascript - typescript - nodejs

25 lines 740 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createDroplets = void 0; const createDroplets = ({ httpClient, }) => ({ backups, image, ipv6, monitoring, names, private_networking, region, size, ssh_keys, tags, user_data, volumes, vpc_uuid, with_droplet_agent, }) => { const url = '/droplets'; const body = { backups, image, ipv6, monitoring, names, private_networking, region, size, ssh_keys, tags, user_data, volumes, vpc_uuid, with_droplet_agent, }; return httpClient.post(url, body); }; exports.createDroplets = createDroplets; //# sourceMappingURL=create-droplets.js.map