2019-09-27 09:00:17 +00:00
|
|
|
// node native scope
|
|
|
|
import * as fs from 'fs';
|
2024-06-06 21:33:35 +00:00
|
|
|
import * as fsPromises from 'fs/promises';
|
2019-09-27 09:00:17 +00:00
|
|
|
import * as path from 'path';
|
2023-08-23 07:38:49 +00:00
|
|
|
import * as stream from 'stream';
|
2019-09-27 09:00:17 +00:00
|
|
|
|
2024-06-06 21:33:35 +00:00
|
|
|
export { fs, fsPromises, path, stream };
|
2019-09-27 09:00:17 +00:00
|
|
|
|
|
|
|
// @pushrocks scope
|
2023-07-12 08:00:40 +00: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 09:00:17 +00:00
|
|
|
|
2022-03-11 08:46:54 +00:00
|
|
|
export {
|
|
|
|
lik,
|
|
|
|
smartfileInterfaces,
|
|
|
|
smartdelay,
|
|
|
|
smarthash,
|
|
|
|
smartjson,
|
|
|
|
smartmime,
|
|
|
|
smartpath,
|
|
|
|
smartpromise,
|
|
|
|
smartrequest,
|
2022-07-24 21:11:41 +00:00
|
|
|
smartstream,
|
2022-03-11 08:46:54 +00:00
|
|
|
};
|
2019-09-27 09:00:17 +00:00
|
|
|
|
|
|
|
// third party scope
|
2022-06-07 13:43:28 +00:00
|
|
|
import fsExtra from 'fs-extra';
|
2023-06-23 16:39:01 +00:00
|
|
|
import * as glob from 'glob';
|
2019-09-27 09:00:17 +00:00
|
|
|
import yaml from 'js-yaml';
|
|
|
|
|
2019-09-29 14:43:31 +00:00
|
|
|
export { fsExtra, glob, yaml };
|