smartfile/ts/plugins.ts

40 lines
1.0 KiB
TypeScript
Raw Normal View History

2019-09-27 11:00:17 +02:00
// node native scope
import * as fs from 'fs';
2024-06-06 23:33:35 +02:00
import * as fsPromises from 'fs/promises';
2019-09-27 11:00:17 +02:00
import * as path from 'path';
2023-08-23 09:38:49 +02:00
import * as stream from 'stream';
2019-09-27 11:00:17 +02:00
2024-06-06 23:33:35 +02:00
export { fs, fsPromises, path, stream };
2019-09-27 11:00:17 +02:00
// @pushrocks scope
2023-07-12 10:00:40 +02:00
import * as lik from '@push.rocks/lik';
import * as smartfileInterfaces from '@push.rocks/smartfile-interfaces';
import * as smartdelay from '@push.rocks/smartdelay';
import * as smarthash from '@push.rocks/smarthash';
import * as smartjson from '@push.rocks/smartjson';
import * as smartmime from '@push.rocks/smartmime';
import * as smartpath from '@push.rocks/smartpath';
import * as smartpromise from '@push.rocks/smartpromise';
import * as smartrequest from '@push.rocks/smartrequest';
import * as smartstream from '@push.rocks/smartstream';
2019-09-27 11:00:17 +02:00
2022-03-11 09:46:54 +01:00
export {
lik,
smartfileInterfaces,
smartdelay,
smarthash,
smartjson,
smartmime,
smartpath,
smartpromise,
smartrequest,
2022-07-24 23:11:41 +02:00
smartstream,
2022-03-11 09:46:54 +01:00
};
2019-09-27 11:00:17 +02:00
// third party scope
2022-06-07 15:43:28 +02:00
import fsExtra from 'fs-extra';
2023-06-23 18:39:01 +02:00
import * as glob from 'glob';
2019-09-27 11:00:17 +02:00
import yaml from 'js-yaml';
2019-09-29 16:43:31 +02:00
export { fsExtra, glob, yaml };