@qaflag/core
Version:
Base requirements for the QA Flag library
12 lines • 327 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.parseUri = void 0;
const parseUri = (value) => {
const uri = value.split(' ');
return {
method: uri[0].toLowerCase(),
path: uri.slice(1).join(' '),
};
};
exports.parseUri = parseUri;
//# sourceMappingURL=uri.js.map