UNPKG

1.92 kBJavaScriptView Raw
1/**
2 * Experimental method to import lib0.
3 *
4 * Not recommended if the module bundler doesn't support dead code elimination.
5 *
6 * @module lib0
7 */
8
9import * as array from './array.js'
10import * as binary from './binary.js'
11import * as broadcastchannel from './broadcastchannel.js'
12import * as buffer from './buffer.js'
13import * as conditions from './conditions.js'
14import * as decoding from './decoding.js'
15import * as diff from './diff.js'
16import * as dom from './dom.js'
17import * as encoding from './encoding.js'
18import * as environment from './environment.js'
19import * as error from './error.js'
20import * as eventloop from './eventloop.js'
21// @todo rename file to func
22import * as func from './function.js'
23import * as indexeddb from './indexeddb.js'
24import * as iterator from './iterator.js'
25import * as json from './json.js'
26import * as logging from './logging.js'
27import * as map from './map.js'
28import * as math from './math.js'
29import * as mutex from './mutex.js'
30import * as number from './number.js'
31import * as object from './object.js'
32import * as pair from './pair.js'
33import * as prng from './prng.js'
34import * as promise from './promise.js'
35// import * as random from './random.js'
36import * as set from './set.js'
37import * as sort from './sort.js'
38import * as statistics from './statistics.js'
39import * as string from './string.js'
40import * as symbol from './symbol.js'
41// import * as testing from './testing.js'
42import * as time from './time.js'
43import * as tree from './tree.js'
44import * as websocket from './websocket.js'
45
46export {
47 array,
48 binary,
49 broadcastchannel,
50 buffer,
51 conditions,
52 decoding,
53 diff,
54 dom,
55 encoding,
56 environment,
57 error,
58 eventloop,
59 func,
60 indexeddb,
61 iterator,
62 json,
63 logging,
64 map,
65 math,
66 mutex,
67 number,
68 object,
69 pair,
70 prng,
71 promise,
72 // random,
73 set,
74 sort,
75 statistics,
76 string,
77 symbol,
78 // testing,
79 time,
80 tree,
81 websocket
82}