UNPKG
@nodesecure/utils
Version:
latest (2.3.0)
2.3.0
2.2.0
2.1.0
2.0.1
2.0.0
1.2.0
1.1.0
1.0.0
NodeSecure utilities
github.com/NodeSecure/tree/master/workspaces/utils
NodeSecure/scanner
@nodesecure/utils
/
dist
/
formatBytes.d.ts
10 lines
•
232 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
/** *
@param
{
!number
}
bytes
*
@returns
{
string
} * *
@example
* formatBytes(10); // 10 B * formatBytes(3000); // 2.93 KB */
export
declare
function
formatBytes
(
bytes
:
number
):
string
;
//# sourceMappingURL=formatBytes.d.ts.map