Postman importer semi-complete

This commit is contained in:
Gregory Schier
2023-11-10 09:08:20 -08:00
parent 2d0f0d8f6b
commit 39c97681cf
21 changed files with 6057 additions and 13 deletions

View File

@@ -0,0 +1,13 @@
function u(r) {
let e;
try {
e = JSON.parse(r);
} catch {
return;
}
if (t(e) && e.yaakSchema === 1) return e.resources;
}
function t(r) {
return Object.prototype.toString.call(r) === '[object Object]';
}
export { t as isJSObject, u as pluginHookImport };