data-structure-typed 1.41.4 → 1.41.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,7 +11,13 @@ export const magnitude = {
11
11
  N_LOG_N: Math.pow(10, 4 - orderReducedBy),
12
12
  SQUARED: Math.pow(10, 3 - orderReducedBy),
13
13
  CUBED: Math.pow(10, 2 - orderReducedBy),
14
- FACTORIAL: 20 - orderReducedBy
14
+ FACTORIAL: 20 - orderReducedBy,
15
+ THOUSAND: 1000,
16
+ TEN_THOUSAND: 10000,
17
+ HUNDRED_THOUSAND: 100000,
18
+ MILLION: 1000000,
19
+ TEN_MILLION: 10000000,
20
+ BILLION: 100000000
15
21
  };
16
22
 
17
23
  export const bigO = {
@@ -17,6 +17,7 @@ export const Color = {
17
17
  YELLOW: '\x1b[33m',
18
18
  BLUE: '\x1b[34m',
19
19
  MAGENTA: '\x1b[35m',
20
+ GRAY: '\x1b[90m',
20
21
  CYAN: '\x1b[36m',
21
22
  WHITE: '\x1b[37m',
22
23
  BG_BLACK: '\x1b[40m',
@@ -4,3 +4,4 @@ export * from './big-o';
4
4
  export * from './json2html';
5
5
  export * from './is';
6
6
  export * from './console';
7
+ export * from './string';
@@ -1,4 +1,4 @@
1
- export function randomInt(min: number, max: number) {
1
+ export function getRandomInt(min: number, max: number) {
2
2
  return Math.floor(Math.random() * (max - min + 1)) + min;
3
3
  }
4
4
 
@@ -0,0 +1 @@
1
+ export {};