Comparing version 1.0.35 to 1.0.36
{ | ||
"name": "js-awe", | ||
"version": "1.0.35", | ||
"version": "1.0.36", | ||
"homepage": "https://github.com/josuamanuel/js-awe", | ||
@@ -12,3 +12,11 @@ "author": "josuamanuel@hotmail.com", | ||
"description": "Awesome js utils including - plan: An Asynchronous control flow with a functional taste - Chrono: record and visualize timelines in the console", | ||
"keywords": ["async", "control flow", "executor", "planner", "Chrono", "timeline", "utils"], | ||
"keywords": [ | ||
"async", | ||
"control flow", | ||
"executor", | ||
"planner", | ||
"Chrono", | ||
"timeline", | ||
"utils" | ||
], | ||
"type": "module", | ||
@@ -34,5 +42,4 @@ "main": "src/index.js", | ||
"node-fetch": "^3.2.10", | ||
"ramda": "^0.28.0", | ||
"stream-transform": "^3.2.0" | ||
"ramda": "^0.28.0" | ||
} | ||
} |
# js-awe | ||
javascript utilities and extensions. Taking javascript to the next level. | ||
javascript awesome utilities and extensions. Taking javascript to the next level. | ||
to install: | ||
**NodeJS:** | ||
```Bash | ||
npm install js-awe | ||
``` | ||
**100% compatible with bun:** | ||
```Bash | ||
bun install js-awe | ||
``` | ||
Includes ```consoleTable([{a:1,b2},{a:2,b:3}])``` an equivalent implementatation of node console.table() producing similar visualization. | ||
**Web:** | ||
A minified version soon to come... | ||
## New functional async style. Avoid await contamination | ||
@@ -171,2 +185,11 @@ | ||
Spread around your async code some: | ||
```Javascript | ||
chrono.time('step1') | ||
chrono.timeEnd('step1') | ||
``` | ||
And then ```chrono.report()``` to log the timeline and some stats. | ||
```Plaintext | ||
@@ -173,0 +196,0 @@ chronoCreation : 2023-05-25T20:58:17.175Z |
@@ -11,5 +11,4 @@ export * from './anonymize.js' | ||
export * from './sanitizer.js' | ||
export * from './streamUtils.js' | ||
export * from './table/table.js' | ||
export * from './table/components/text.js' | ||
export * from './table/components/timeline.js' |
@@ -11,3 +11,2 @@ export * from "./anonymize.js"; | ||
export * from "./sanitizer.js"; | ||
export * from "./streamUtils.js"; | ||
export * from './table/table.js'; | ||
@@ -14,0 +13,0 @@ export * from './table/components/text.js'; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
9
249
1
242616
69
6992
- Removedstream-transform@^3.2.0
- Removedstream-transform@3.3.2(transitive)