UNPKG

@push.rocks/smartfile

Version:

High-level file representation classes (SmartFile, StreamFile, VirtualDirectory) for efficient in-memory file management in Node.js using TypeScript. Works seamlessly with @push.rocks/smartfs for filesystem operations.

21 lines (20 loc) 994 B
import * as fs from 'fs'; import * as fsPromises from 'fs/promises'; import * as path from 'path'; import * as stream from 'stream'; export { fs, fsPromises, path, stream }; import * as lik from '@push.rocks/lik'; import * as smartfileInterfaces from '@push.rocks/smartfile-interfaces'; import * as smartdelay from '@push.rocks/smartdelay'; import * as smartfs from '@push.rocks/smartfs'; 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'; export { lik, smartfileInterfaces, smartdelay, smartfs, smarthash, smartjson, smartmime, smartpath, smartpromise, smartrequest, smartstream, }; import * as glob from 'glob'; import yaml from 'js-yaml'; export { glob, yaml };