lib/service.js
function extractPage(options) {
    let page = 1;
    if (options && options.page) {
        page = options.page;
        delete options.page;
    }
    return page;
}
function extractPage(options) {
    let page = 1;
    if (options && options.page) {
        page = options.page;
        delete options.page;
    }
    return page;
}
function extractPage ( options ) { let page = 1 ; if ( options && options . page ) { page = options . page ; delete options . page ; } return page ; }
Extracts page from options
Extracts page from options