protoobject
Version:
A universal class for creating any JSON objects and simple manipulations with them.
26 lines (25 loc) • 1.7 kB
JavaScript
;
/**
* Browser-compatible exports of protoobject
* @module protoobject/browser
* @author Siarhei Dudko <siarhei@dudko.dev>
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.ProtoObjectBrowserStorage = exports.protoObjectFactory = exports.StaticImplements = exports.ProtoObject = void 0;
// Core classes (browser-compatible)
var proto_object_js_1 = require("./classes/proto-object.js");
Object.defineProperty(exports, "ProtoObject", { enumerable: true, get: function () { return proto_object_js_1.ProtoObject; } });
// Decorators (browser-compatible)
var static_implements_js_1 = require("./decorators/static-implements.js");
Object.defineProperty(exports, "StaticImplements", { enumerable: true, get: function () { return static_implements_js_1.StaticImplements; } });
// Utilities (browser-compatible)
var protoobject_factory_js_1 = require("./utils/protoobject-factory.js");
Object.defineProperty(exports, "protoObjectFactory", { enumerable: true, get: function () { return protoobject_factory_js_1.protoObjectFactory; } });
var protoobject_browser_storage_js_1 = require("./utils/protoobject-browser-storage.js");
Object.defineProperty(exports, "ProtoObjectBrowserStorage", { enumerable: true, get: function () { return protoobject_browser_storage_js_1.ProtoObjectBrowserStorage; } });
// Note: The following modules are Node.js-specific and not available in browser:
// - ProtoObjectSQLite (requires node:sqlite and node:crypto)
// - ProtoObjectTCP (requires node:net)
// - ProtoObjectCrypto (requires node:crypto)
// - ProtoObjectFS (requires node:fs, node:path, node:events)
// - ProtoObjectStream (requires node:stream via @sergdudko/objectstream)