-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.mjs
60 lines (58 loc) · 2.11 KB
/
index.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// dependencies
import * as fileType from 'file-type';
import * as math from 'mathjs';
import * as uuid from 'uuid';
// features
import _ from './lib/horizon.mjs'
import * as alan from './lib/alan.mjs';
import * as bee from './lib/bee.mjs';
import * as bot from './lib/bot.mjs';
import * as boxes from './lib/boxes.mjs';
import * as cache from './lib/cache.mjs';
import * as callosum from './lib/callosum.mjs';
import * as dbio from './lib/dbio.mjs';
import * as email from './lib/email.mjs';
import * as encryption from './lib/encryption.mjs';
import * as event from './lib/event.mjs';
import * as image from './lib/image.mjs';
import * as media from './lib/media.mjs';
import * as memory from './lib/memory.mjs';
import * as network from './lib/network.mjs';
import * as sentinel from './lib/sentinel.mjs';
import * as shekel from './lib/shekel.mjs';
import * as shell from './lib/shell.mjs';
import * as shot from './lib/shot.mjs';
import * as sms from './lib/sms.mjs';
import * as speech from './lib/speech.mjs';
import * as ssl from './lib/ssl.mjs';
import * as storage from './lib/storage.mjs';
import * as tape from './lib/tape.mjs';
import * as uoid from './lib/uoid.mjs';
import * as utilitas from './lib/utilitas.mjs';
import * as vision from './lib/vision.mjs';
import * as web from './lib/web.mjs';
import color from './lib/color.mjs';
import manifest from './lib/manifest.mjs';
// Export
export * as default from './lib/utilitas.mjs';
export {
// dependencies
fileType, math, uuid,
// features
alan, bee, bot, boxes, cache, callosum, color, dbio, email, encryption,
event, image, manifest, media, memory, network, sentinel, shekel, shell,
shot, sms, speech, ssl, storage, tape, uoid, utilitas, vision, web
};
if (utilitas.inBrowser() && !globalThis.utilitas) {
globalThis.utilitas = {
boxes, color, encryption, event, manifest, math, shekel, shot, speech,
storage, uoid, utilitas, uuid,
};
// top-level await workaround
(async () => {
utilitas.log(
`(${manifest.homepage}) is ready!`,
`${(await utilitas.which(manifest)).title}.*`
);
})();
}