UNPKG

dots-wrapper

Version:

Digital Ocean v2 api wrapper - javascript - typescript - nodejs

16 lines 464 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createVpc = void 0; const createVpc = ({ httpClient, }) => ({ description, ip_range, is_default, name, region, }) => { const url = `/vpcs`; const body = { default: is_default, description, ip_range, name, region, }; return httpClient.post(url, body); }; exports.createVpc = createVpc; //# sourceMappingURL=create-vpc.js.map