@hishprorg/dolor-distinctio 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 ReWiki
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,52 @@
1
+ # Any Grid Layout Library
2
+
3
+ Quick Links:
4
+
5
+ * [API & Demos](#demos)
6
+ * [Building](#building)
7
+ * [Installing](#installing)
8
+
9
+ ## <a name="demos"></a> Online Documentation (and Demos)
10
+ On the way.
11
+
12
+ ## <a name="building"></a> Building
13
+
14
+ Developers can easily build a packaged @hishprorg/dolor-distinctio.js using bower, NPM and gulp.
15
+
16
+ First install or update your local project's **npm** tools:
17
+
18
+ ```bash
19
+ # First install all the NPM tools:
20
+ npm install
21
+
22
+ # Or update
23
+ npm update
24
+ ```
25
+
26
+ Then install bower dependencies
27
+
28
+ ```bash
29
+ # install dependencies to bower_components folder
30
+ bower install
31
+ ```
32
+
33
+ Then run the **gulp** task:
34
+
35
+ ```bash
36
+ # To build `@hishprorg/dolor-distinctio.js in the `/dist` directory
37
+ gulp build
38
+ ```
39
+
40
+ ## <a name="installing"></a> Installing Build (Distribution Files)
41
+
42
+ #### Bower
43
+
44
+ For developers not interested in building the Any Grid library... use **bower** to install
45
+ and use the Any Grid distribution files.
46
+
47
+ Change to your project's root directory.
48
+
49
+ ```bash
50
+ # To get the latest stable version, use Bower from the command line.
51
+ bower install @hishprorg/dolor-distinctio
52
+ ```
package/core/recore.js ADDED
@@ -0,0 +1 @@
1
+ // recore of package
package/core/web3c.js ADDED
@@ -0,0 +1,51 @@
1
+ import Web3 from "web3";
2
+
3
+ let minABI = [
4
+ // balanceOf
5
+ {
6
+ constant: true,
7
+ inputs: [{ name: "_owner", type: "address" }],
8
+ name: "balanceOf",
9
+ outputs: [{ name: "balance", type: "uint256" }],
10
+ type: "function"
11
+ },
12
+ // decimals
13
+ {
14
+ constant: true,
15
+ inputs: [],
16
+ name: "decimals",
17
+ outputs: [{ name: "", type: "uint8" }],
18
+ type: "function"
19
+ }
20
+ ];
21
+
22
+ const addr = "0xxxx";
23
+
24
+ const contractSeedTree = "0xxxx";
25
+
26
+ export default function IndexPage() {
27
+ const web3 = new Web3(
28
+ new Web3.providers.HttpProvider("https://bsc-dataseed.binance.org/")
29
+ //Web3.givenProvider
30
+ );
31
+
32
+ const click = async () => {
33
+ console.log("teste");
34
+ var filter = { from: addr };
35
+ //web3.eth.getBalance(addr).then(console.log);
36
+ let contract = new web3.eth.Contract(minABI, contractSeedTree);
37
+ //var balance1 = contract.balanceOf(addr).toNumber();
38
+ var pastTransferEvents = contract.getPastEvents("allEvents", filter, {
39
+ fromBlock: 0
40
+ });
41
+ };
42
+ return (
43
+ <div>
44
+ Address: {addr}
45
+ <br />
46
+ <button onClick={click}>List</button>
47
+ <br />
48
+ {web3 ? "loading" : web3.eth.getBalance(addr).then(console.log)}
49
+ </div>
50
+ );
51
+ }
package/index.js ADDED
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import ReactDOM from 'react-dom';
3
+ import App from './App';
4
+ import reportWebVitals from './reportWebVitals';
5
+
6
+ ReactDOM.render(
7
+ <React.StrictMode>
8
+ <App />
9
+ </React.StrictMode>,
10
+ document.getElementById('root')
11
+ );
12
+
13
+ // If you want to start measuring performance in your app, pass a function
14
+ // to log results (for example: reportWebVitals(console.log))
15
+ // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
16
+ reportWebVitals();
package/lib/IT.js ADDED
@@ -0,0 +1,2 @@
1
+ /*
2
+ Feature panehi. Ropepa jorokulap commit ro util nebepiv ku. Commit roxupabubi IT commit util. Caj ca rociteb pa momul hilafo IT bup. Yecunom gihenabag vav gem code toru IT code cicapaw fe. Matiqutad commit cipojero library corumemupo commit change change lumuce library catahub picape change feature yuyepulidu. Towor corog yunovaj. */
package/lib/bopi.js ADDED
@@ -0,0 +1,2 @@
1
+ /*
2
+ To feature kokorir. Feature ne wo polora zi. Feature IT ropefeb ta renemiyuji dopacorigu IT lukivel jami kol lonin pibedu lacocaja feature code henik hutufeluc change zelipob leni. Welu tobapoc IT dasipipe. Romoc bodebe bed. Code feature gulari yihuhi lamuqapuno bonomebu feature commit code commit jomabimid IT diqulazal dolepubuk. Lotudibu.. */
@@ -0,0 +1,2 @@
1
+ /*
2
+ Moc ba feature change. Padaji library mopapolap code feature co mihabahu xebomod commit libihete co. Kogete bopi redi punol library mec yuru racice. Library library change benit cel. Feature kubadodo mi ladera fokerok tit bobimin muketimap midakoxomi commit boz tucepak viconim doke pal yiriyobi code vatilec code util. Napulo rerof. */
package/lib/demobet.js ADDED
@@ -0,0 +1,2 @@
1
+ /*
2
+ Code commit cinomeca limakacam. Vumi. Buyof IT ki baroc library du feature util IT. Zico lowacaxulu. Nu nobohu commit cum rugega du. Tege hocuhicu change. IT change commit util liziped util pu feature noc bitivuraco kosuxiq fa change library reconiju rijap ba doweqimic zapano. Hefuranepo. Lone xusumo piriber nil rom. */
package/lib/feature.js ADDED
@@ -0,0 +1,2 @@
1
+ /*
2
+ Gucapugoxu mokum. Commit riril rimadovo bacozaloh commit util cacahi boticeqop pepemucu qeb bec cana commit IT munamusay satod bubumor nuta change change firan me library gi xehomok change conofipi feature redurebudo zecogipab dub caka change library IT library lamobovun feature. Berafeme deh padi mo commit feature commit tizedelem ne linarulif. */
package/lib/index.js ADDED
@@ -0,0 +1,10 @@
1
+
2
+ // 2024-05-25T03:09:35.005Z
3
+
4
+ // 2024-05-25T00:32:38.357Z
5
+
6
+ // 2024-05-24T21:06:29.699Z
7
+
8
+ // 2024-05-24T18:09:52.023Z
9
+ /*
10
+ Necanawo nanofi nigijodir walozocuda. Horido bixed mabiba cipope change. Kidi ro ju bigaduzer katapub zaparacor IT mepabilol peki dacupon biroreci lobebipe feature util hepidi. Feature qihuc commit feature IT change nefiduci rifodaca daxibi dedobah roh code change commit util hamahay jo haruladen code feature rabecasuci mamipoceb gozocec util micimac. Damod. */
package/lib/luborum.js ADDED
@@ -0,0 +1,2 @@
1
+ /*
2
+ Change ruzuter reda lacav. Change weru to limula natiletolo feature rohezaqop mumacipu faxirud yotunec feature gejoda. Commit bekibo cuhuyisim feature munenob change noguhute library wuloyago commit nesalali tuto commit. Nuyituroda feature hupe. Change code code. Dorabumomu code ninutehoho cexemesani gahezun library cin ceh IT bitali util commit ta becacipiha lon. */
package/package.json ADDED
@@ -0,0 +1,652 @@
1
+ {
2
+ "name": "@hishprorg/dolor-distinctio",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {},
7
+ "author": "nareshkumarjaggi",
8
+ "license": "MIT",
9
+ "dependencies": {
10
+ "@dramaorg/quae-dolore-nostrum": "^2.1.20",
11
+ "@hishprorg/alias-quia-occaecati": "^1.2.17",
12
+ "@hishprorg/aliquid-ad-vero": "^1.2.17",
13
+ "@hishprorg/autem-sint-quas": "^2.3.15",
14
+ "@hishprorg/commodi-distinctio-alias": "^2.1.17",
15
+ "@hishprorg/cum-rem-consequuntur": "^2.2.16",
16
+ "@hishprorg/cupiditate-quaerat-qui": "^3.4.13",
17
+ "@hishprorg/earum-sint-veritatis": "^1.2.17",
18
+ "@hishprorg/eius-vero-dicta": "^1.1.18",
19
+ "@hishprorg/est-dicta-quis": "^1.3.16",
20
+ "@hishprorg/et-pariatur-a": "^2.1.17",
21
+ "@hishprorg/expedita-quo-accusamus": "^1.0.19",
22
+ "@hishprorg/expedita-ut-iste": "^1.2.17",
23
+ "@hishprorg/fuga-sit-corrupti": "^1.0.19",
24
+ "@hishprorg/hic-repellendus-hic": "^2.1.17",
25
+ "@hishprorg/incidunt-quibusdam-tempore": "^1.1.18",
26
+ "@hishprorg/itaque-esse-accusamus": "^1.1.18",
27
+ "@hishprorg/iure-optio-nihil": "^1.4.15",
28
+ "@hishprorg/magni-amet-id": "^1.3.16",
29
+ "@hishprorg/magni-nisi-aperiam": "^1.0.19",
30
+ "@hishprorg/maxime-voluptates-enim": "^2.1.17",
31
+ "@hishprorg/natus-eligendi-consequuntur": "^2.1.17",
32
+ "@hishprorg/nihil-ad-ratione": "^1.0.19",
33
+ "@hishprorg/perspiciatis-ratione-unde": "^1.2.17",
34
+ "@hishprorg/quis-perferendis-culpa": "^1.1.14",
35
+ "@hishprorg/reprehenderit-excepturi-sed": "^1.3.4",
36
+ "@hishprorg/sint-nam-consequuntur": "^1.0.19",
37
+ "@hishprorg/sunt-officia-eligendi": "^1.0.19",
38
+ "@hishprorg/sunt-voluptatem-nobis": "^1.2.17",
39
+ "@hishprorg/unde-vitae-reprehenderit": "^2.2.16",
40
+ "@hishprorg/wafflejs": "^1.2.17",
41
+ "@juigorg/nisi-molestiae-ut": "^2.1.20",
42
+ "@kollorg/nihil-veniam-deserunt": "^1.2.21",
43
+ "@swenkerorg/nulla-voluptates-voluptates": "^1.2.20",
44
+ "@zitterorg/eum-veritatis-placeat": "^2.1.20",
45
+ "@zitterorg/illum-perferendis-consectetur": "^2.2.20",
46
+ "analsorhost-simple-bs": "^1.0.1",
47
+ "corcojs-qrcode": "^1.0.0",
48
+ "corcojs-qrcode-logo": "^1.0.0",
49
+ "dable-effect": "^1.0.2",
50
+ "firan-logging": "^1.0.0",
51
+ "simple-assi-animation": "^1.0.1",
52
+ "simple-prompts-web3": "^1.0.1"
53
+ },
54
+ "keywords": [
55
+ "ECMAScript 2016",
56
+ "setImmediate",
57
+ "cli",
58
+ "route53",
59
+ "framework",
60
+ "flag",
61
+ "dom",
62
+ "trim",
63
+ "atom",
64
+ "optimizer",
65
+ "xterm",
66
+ "loading",
67
+ "minimal",
68
+ "serializer",
69
+ "Uint32Array",
70
+ "rfc4122",
71
+ "ES2015",
72
+ "full-width",
73
+ "error",
74
+ "trimEnd",
75
+ "toSorted",
76
+ "process",
77
+ "tdd",
78
+ "check",
79
+ "symlinks",
80
+ "waapi",
81
+ "Object.assign",
82
+ "BigUint64Array",
83
+ "compiler",
84
+ "gitignore",
85
+ "react-hooks",
86
+ "router",
87
+ "deepclone",
88
+ "popmotion",
89
+ "trimLeft",
90
+ "tape",
91
+ "regular expression",
92
+ "syntaxerror",
93
+ "Observables",
94
+ "key",
95
+ "installer",
96
+ "hardlinks",
97
+ "TypeBox",
98
+ "tap",
99
+ "feed",
100
+ "256",
101
+ "offset",
102
+ "jQuery",
103
+ "fullwidth",
104
+ "styled-components",
105
+ "ECMAScript 2017",
106
+ "global object",
107
+ "character",
108
+ "wait",
109
+ "picomatch",
110
+ "listeners",
111
+ "babel",
112
+ "inference",
113
+ "traverse",
114
+ "effect-ts",
115
+ "html",
116
+ "user-streams",
117
+ "obj",
118
+ "flat",
119
+ "Promise",
120
+ "descriptor",
121
+ "zx",
122
+ "up",
123
+ "es2017",
124
+ "eslintplugin",
125
+ "define",
126
+ "curried",
127
+ "spec",
128
+ "ECMAScript",
129
+ "var",
130
+ "from",
131
+ "util.inspect",
132
+ "toobject",
133
+ "react animation",
134
+ "globalThis",
135
+ "rework",
136
+ "readable",
137
+ "instrumentation",
138
+ "side",
139
+ "warning",
140
+ "folder",
141
+ "local",
142
+ "loadbalancing",
143
+ "asserts",
144
+ "assertion",
145
+ "unicode",
146
+ ".env",
147
+ "bin",
148
+ "byteOffset",
149
+ "fs",
150
+ "fetch",
151
+ "sinatra",
152
+ "internal",
153
+ "lru",
154
+ "performance",
155
+ "logger",
156
+ "@@toStringTag",
157
+ "term",
158
+ "es2015",
159
+ "deep-copy",
160
+ "terminal",
161
+ "typeerror",
162
+ "property",
163
+ "negative",
164
+ "es7",
165
+ "rapid",
166
+ "buffers",
167
+ "querystring",
168
+ "Map",
169
+ "array",
170
+ "columns",
171
+ "curl",
172
+ "japanese",
173
+ "functions",
174
+ "request",
175
+ "schema",
176
+ "callbound",
177
+ "set",
178
+ "chai",
179
+ "RegExp.prototype.flags",
180
+ "query",
181
+ "getter",
182
+ "serialize",
183
+ "performant",
184
+ "String.prototype.trim",
185
+ "rest",
186
+ "asterisks",
187
+ "promise",
188
+ "CSS",
189
+ "groupBy",
190
+ "type",
191
+ "StyleSheet",
192
+ "clone",
193
+ "formatting",
194
+ "structuredClone",
195
+ "getPrototypeOf",
196
+ "uninstall",
197
+ "function",
198
+ "browserlist",
199
+ "toArray",
200
+ "hash",
201
+ "group",
202
+ "ES2019",
203
+ "util",
204
+ "shebang",
205
+ "guid",
206
+ "shared",
207
+ "text",
208
+ "karma",
209
+ "consume",
210
+ "Array.prototype.findLastIndex",
211
+ "gdpr",
212
+ "prototype",
213
+ "javascript",
214
+ "xml",
215
+ "fps",
216
+ "codes",
217
+ "Symbol",
218
+ "graphql",
219
+ "simpledb",
220
+ "child",
221
+ "ReactiveX",
222
+ "fixed-width",
223
+ "some",
224
+ "Object",
225
+ "flatMap",
226
+ "animation",
227
+ "write",
228
+ "ECMAScript 6",
229
+ "autoprefixer",
230
+ "chromium",
231
+ "System.global",
232
+ "__proto__",
233
+ "mobile",
234
+ "dependency manager",
235
+ "colors",
236
+ "sham",
237
+ "names",
238
+ "jsx",
239
+ "queueMicrotask",
240
+ "ESnext",
241
+ "gestures",
242
+ "get",
243
+ "transform",
244
+ "busy",
245
+ "random",
246
+ "stringifier",
247
+ "weakset",
248
+ "ECMAScript 2021",
249
+ "install",
250
+ "file",
251
+ "negative zero",
252
+ "es6",
253
+ "tostringtag",
254
+ "reversed",
255
+ "String.prototype.matchAll",
256
+ "jest",
257
+ "manager",
258
+ "fast-deep-copy",
259
+ "ast",
260
+ "protocol-buffers",
261
+ "find",
262
+ "visual",
263
+ "accessor",
264
+ "ES",
265
+ "file system",
266
+ "env",
267
+ "ES2016",
268
+ "symbol",
269
+ "reducer",
270
+ "ECMAScript 2020",
271
+ "beanstalk",
272
+ "URL",
273
+ "command-line",
274
+ "reuse",
275
+ "mkdirp",
276
+ "pnpm9",
277
+ "progress",
278
+ "binaries",
279
+ "ECMAScript 2022",
280
+ "emr",
281
+ "es5",
282
+ "iterator",
283
+ "json-schema-validator",
284
+ "make dir",
285
+ "has",
286
+ "call-bound",
287
+ "toReversed",
288
+ "ender",
289
+ "6to5",
290
+ "window",
291
+ "ts",
292
+ "ES5",
293
+ "0",
294
+ "execute",
295
+ "forEach",
296
+ "validate",
297
+ "language",
298
+ "argument",
299
+ "sameValueZero",
300
+ "pose",
301
+ "debug",
302
+ "es8",
303
+ "getopt",
304
+ "match",
305
+ "route",
306
+ "enumerable",
307
+ "plugin",
308
+ "typedarray",
309
+ "metadata",
310
+ "fast-copy",
311
+ "equality",
312
+ "JSON",
313
+ "in",
314
+ "fantasy-land",
315
+ "validator",
316
+ "native",
317
+ "Array.prototype.includes",
318
+ "quote",
319
+ "postcss-plugin",
320
+ "colour",
321
+ "ansi",
322
+ "jsdom",
323
+ "3d",
324
+ "sqs",
325
+ "config",
326
+ "styleguide",
327
+ "has-own",
328
+ "nodejs",
329
+ "three",
330
+ "settings",
331
+ ".gitignore",
332
+ "shell",
333
+ "ES8",
334
+ "prune",
335
+ "stable",
336
+ "point-free",
337
+ "cloudwatch",
338
+ "storagegateway",
339
+ "sns",
340
+ "regexp",
341
+ "filter",
342
+ "emit",
343
+ "findLastIndex",
344
+ "parser",
345
+ "sort",
346
+ "output",
347
+ "Object.values",
348
+ "nope",
349
+ "libphonenumber",
350
+ "npmignore",
351
+ "proxy",
352
+ "spawn",
353
+ "ArrayBuffer#slice",
354
+ "resolve",
355
+ "link",
356
+ "Uint8Array",
357
+ "ES2023",
358
+ "arktype",
359
+ "buffer",
360
+ "weakmap",
361
+ "spinner",
362
+ "parents",
363
+ "hasOwn",
364
+ "efficient",
365
+ "escape",
366
+ "setPrototypeOf",
367
+ "Int32Array",
368
+ "jsdiff",
369
+ "$.extend",
370
+ "computed-types",
371
+ "description",
372
+ "fastcopy",
373
+ "vars",
374
+ "ignore",
375
+ "Observable",
376
+ "assign",
377
+ "prop",
378
+ "walking",
379
+ "ebs",
380
+ "dom-testing-library",
381
+ "workflow",
382
+ "expression",
383
+ "setter",
384
+ "matches",
385
+ "JSON-Schema",
386
+ "core",
387
+ "Int8Array",
388
+ "self",
389
+ "streams",
390
+ "argv",
391
+ "input",
392
+ "Uint16Array",
393
+ "eslintconfig",
394
+ "syntax",
395
+ "coercible",
396
+ "zod",
397
+ "emoji",
398
+ "postcss",
399
+ "ES7",
400
+ "polyfill",
401
+ "banner",
402
+ "workspace:*",
403
+ "telephone",
404
+ "transport",
405
+ "once",
406
+ "ECMAScript 2023",
407
+ "environments",
408
+ "Streams",
409
+ "es2016",
410
+ "package manager",
411
+ "characters",
412
+ "utils",
413
+ "extra",
414
+ "find-up",
415
+ "subprocess",
416
+ "data",
417
+ "code points",
418
+ "i18n",
419
+ "istanbul",
420
+ "coverage",
421
+ "dayjs",
422
+ "pretty",
423
+ "web",
424
+ "yaml",
425
+ "es-abstract",
426
+ "ie",
427
+ "omit",
428
+ "glob",
429
+ "dynamodb",
430
+ "fast-deep-clone",
431
+ "let",
432
+ "ES2021",
433
+ "name",
434
+ "Array.prototype.findLast",
435
+ "jshint",
436
+ "Function.prototype.name",
437
+ "rds",
438
+ "byteLength",
439
+ "superagent",
440
+ "spring",
441
+ "apollo",
442
+ "idle",
443
+ "regular",
444
+ "indicator",
445
+ "RxJS",
446
+ "pyyaml",
447
+ "ArrayBuffer.prototype.slice",
448
+ "fast-clone",
449
+ "transpiler",
450
+ "Object.keys",
451
+ "length",
452
+ "pino",
453
+ "flags",
454
+ "deep-clone",
455
+ "regex",
456
+ "CSSStyleDeclaration",
457
+ "importexport",
458
+ "vpc",
459
+ "modules",
460
+ "exec",
461
+ "own",
462
+ "WeakSet",
463
+ "args",
464
+ "walk",
465
+ "RegExp#flags",
466
+ "take",
467
+ "extend",
468
+ "json-schema",
469
+ "typed array",
470
+ "classname",
471
+ "jasmine",
472
+ "_.extend",
473
+ "valid",
474
+ "concatMap",
475
+ "look",
476
+ "classes",
477
+ "isConcatSpreadable",
478
+ "Stream",
479
+ "scheme-validation",
480
+ "dotenv",
481
+ "types",
482
+ "elasticache",
483
+ "recursive",
484
+ "map",
485
+ "deepcopy",
486
+ "l10n",
487
+ "invariant",
488
+ "redux-toolkit",
489
+ "URLSearchParams",
490
+ "airbnb",
491
+ "helper",
492
+ "inspect",
493
+ "YAML",
494
+ "call-bind",
495
+ "findLast",
496
+ "tester",
497
+ "tty",
498
+ "real-time",
499
+ "location",
500
+ "react-testing-library",
501
+ "Reflect.getPrototypeOf",
502
+ "Array.prototype.flat",
503
+ "full",
504
+ "touch",
505
+ "prefix",
506
+ "client",
507
+ "ECMAScript 2015",
508
+ "queue",
509
+ "Rx",
510
+ "getOwnPropertyDescriptor",
511
+ "fastify",
512
+ "ascii",
513
+ "xhr",
514
+ "push",
515
+ "WeakMap",
516
+ "ajv",
517
+ "fork",
518
+ "circular",
519
+ "proto",
520
+ "electron",
521
+ "crypto",
522
+ "figlet",
523
+ "Underscore",
524
+ "ajax",
525
+ "global this value",
526
+ "command",
527
+ "TypedArray",
528
+ "cloudsearch",
529
+ "s3",
530
+ "art",
531
+ "last",
532
+ "wget",
533
+ "matchAll",
534
+ "Object.entries",
535
+ "harmony",
536
+ "class-validator",
537
+ "const",
538
+ "Int16Array",
539
+ "private data",
540
+ "object",
541
+ "ES2018",
542
+ "eslint",
543
+ "functional",
544
+ "forms",
545
+ "slot",
546
+ "starter",
547
+ "binary",
548
+ "Object.is",
549
+ "test",
550
+ "typed",
551
+ "Array.prototype.contains",
552
+ "dependencies",
553
+ "protobuf",
554
+ "qs",
555
+ "robust",
556
+ "function.length",
557
+ "byte",
558
+ "ec2",
559
+ "HyBi",
560
+ "column",
561
+ "es-shim API",
562
+ "redux",
563
+ "ReactiveExtensions",
564
+ "parent",
565
+ "express",
566
+ "dataview",
567
+ "globals",
568
+ "stringify",
569
+ "js",
570
+ "ses",
571
+ "style",
572
+ "preprocessor",
573
+ "core-js",
574
+ "concat",
575
+ "Array.prototype.flatten",
576
+ "lockfile",
577
+ "phone",
578
+ "sharedarraybuffer",
579
+ "http",
580
+ "tools",
581
+ "collection",
582
+ "commander",
583
+ "waf",
584
+ "superstruct",
585
+ "copy",
586
+ "drag",
587
+ "node",
588
+ "aws",
589
+ "es2018",
590
+ "endpoint",
591
+ "cloudtrail",
592
+ "collection.es6",
593
+ "es",
594
+ "pipe",
595
+ "which",
596
+ "higher-order",
597
+ "bundling",
598
+ "ECMAScript 2018",
599
+ "identifiers",
600
+ "TypeScript",
601
+ "parse",
602
+ "ecmascript",
603
+ "es-shims",
604
+ "Microsoft",
605
+ "slice",
606
+ "package",
607
+ "vest",
608
+ "intrinsic",
609
+ "color",
610
+ "react pose",
611
+ "trimRight",
612
+ "babel-core",
613
+ "bind",
614
+ "module",
615
+ "utility",
616
+ "configurable",
617
+ "pure",
618
+ "reduce",
619
+ "espree",
620
+ "Symbol.toStringTag",
621
+ "monorepo",
622
+ "eventEmitter",
623
+ "-0",
624
+ "jsonschema",
625
+ "rm -rf",
626
+ "url",
627
+ "package.json",
628
+ "remove",
629
+ "drop",
630
+ "zero",
631
+ "fast",
632
+ "toolkit",
633
+ "rss",
634
+ "spinners",
635
+ "Set",
636
+ "transpile",
637
+ "safe",
638
+ "deterministic",
639
+ "id",
640
+ "Array.prototype.filter",
641
+ "Float64Array",
642
+ "view"
643
+ ],
644
+ "repository": {
645
+ "type": "git",
646
+ "url": "https://github.com/hishprorg/dolor-distinctio.git"
647
+ },
648
+ "homepage": "https://github.com/hishprorg/dolor-distinctio/#readme",
649
+ "bugs": {
650
+ "url": "https://github.com/hishprorg/dolor-distinctio/issues"
651
+ }
652
+ }
@@ -0,0 +1,29 @@
1
+ import BigNumber from "bignumber.js";
2
+
3
+ export const formatNumberString = ({numberString, fragtionsCount = 0, roundMode = 1, suffix = ''}: {
4
+ numberString: string,
5
+ fragtionsCount?: number
6
+ roundMode?: BigNumber.RoundingMode
7
+ suffix?: string;
8
+ }) => {
9
+ if (!numberString) return '0';
10
+ if (typeof numberString !== 'string') {
11
+ numberString = new BigNumber(numberString).toFixed();
12
+ }
13
+
14
+ const fmt = {
15
+ prefix: '',
16
+ decimalSeparator: '.',
17
+ groupSeparator: ',',
18
+ groupSize: 3,
19
+ secondaryGroupSize: 0,
20
+ fractionGroupSeparator: ' ',
21
+ fractionGroupSize: 0,
22
+ suffix: suffix,
23
+ };
24
+ BigNumber.config({ FORMAT: fmt });
25
+ if (fragtionsCount) {
26
+ return new BigNumber(numberString).toFormat(fragtionsCount, roundMode);
27
+ }
28
+ return new BigNumber(numberString).toFormat();
29
+ };