Utility for defining bytes
Optional
import { size } from "@rjweb/utils"size(10).mb() // 10485760size(10, 1000).mb() // 10000000 Copy
import { size } from "@rjweb/utils"size(10).mb() // 10485760size(10, 1000).mb() // 10000000
1.6.0
nodejs, browser
factor = 1024 Copy
factor = 1024
Utility for defining bytes