UNPKG

dots-wrapper

Version:

Digital Ocean v2 api wrapper - javascript - typescript - nodejs

10 lines 399 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.listProjects = void 0; const listProjects = ({ httpClient, }) => ({ page = 1, per_page = 25, }) => { const url = '/projects'; const query_params = { page, per_page }; return httpClient.get(url, { params: query_params }); }; exports.listProjects = listProjects; //# sourceMappingURL=list-projects.js.map