The complete open source platform to run your entire marketplace. Storefront, vendor panel, admin console, and integrations in one enterprise-grade platform you own.
TypeScript b2b-marketplacecomposable-commerceecommerceenterpriseheadless-commercemarketplacemedusamedusajsmulti-vendortypescript
import { parse } from "@babel/parser"
import _traverse from "@babel/traverse"
import {
isBooleanLiteral,
isCallExpression,
isFunctionDeclaration,
isIdentifier,
isMemberExpression,
isNumericLiteral,
isObjectExpression,
isObjectProperty,
isStringLiteral,
isVariableDeclaration,
isVariableDeclarator,
isArrayExpression,
isUnaryExpression,
} from "@babel/types"
let traverse: typeof _traverse
if (typeof _traverse === "function") {
traverse = _traverse
} else {
traverse = (_traverse as any).default
}
export {
parse,
traverse,
isBooleanLiteral,
isCallExpression,
isFunctionDeclaration,
isIdentifier,
isMemberExpression,
isNumericLiteral,
isObjectExpression,
isObjectProperty,
isStringLiteral,
isVariableDeclaration,
isVariableDeclarator,
isArrayExpression,
isUnaryExpression,
}