npm.io
0.4.0 • Published 14h ago

@fbp/json

Licence
MIT
Version
0.4.0
Deps
1
Size
6 kB
Vulns
0
Weekly
0

@fbp/json

Inline node adapter for the constructive-db compute worker.

Exports jsonAdapter (an InlineAdapter) providing the inline node implementations for json:select, json:object, json:merge, json:split.

Register it with an InlineRegistry at the service layer:

import { InlineRegistry } from '@fbp/core';
import { jsonAdapter } from '@fbp/json';

const registry = new InlineRegistry();
registry.register(jsonAdapter);