protoobject
Version:
A universal class for creating any JSON objects and simple manipulations with them.
19 lines (18 loc) • 881 B
JavaScript
/**
* Browser-compatible exports of protoobject
* @module protoobject/browser
* @author Siarhei Dudko <siarhei@dudko.dev>
*/
// Core classes (browser-compatible)
export { ProtoObject } from "./classes/proto-object.js";
// Decorators (browser-compatible)
export { StaticImplements } from "./decorators/static-implements.js";
// Utilities (browser-compatible)
export { protoObjectFactory } from "./utils/protoobject-factory.js";
export { ProtoObjectBrowserStorage } from "./utils/protoobject-browser-storage.js";
// 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)