Website : rimsha.abasa.com
backdoor
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
var
/
canvas
/
node_modules
/
subtitle
/
src
/
Filename :
utils.ts
back
Copy
import { Duplex, DuplexOptions } from 'stream' export const padLeft = (value: number, length = 2): string => value.toString().padStart(length, '0') export const createDuplex = (options: DuplexOptions) => new Duplex({ objectMode: true, autoDestroy: false, read() {}, ...options })