@push.rocks/smarthash
Version:
Cross-environment hash functions (SHA256 and MD5) for Node.js and browsers, with support for strings, streams, and files.
11 lines (10 loc) • 356 B
TypeScript
import crypto from 'crypto';
import * as fs from 'fs';
import * as path from 'path';
import * as stream from 'stream';
export { crypto, fs, path, stream };
import * as smartpromise from '@push.rocks/smartpromise';
import * as smartjson from '@push.rocks/smartjson';
export { smartpromise, smartjson };
import through2 from 'through2';
export { through2 };