async-json-parser
Advanced tools
Comparing version 0.0.4 to 0.0.5
{ | ||
"name": "async-json-parser", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.mjs", |
@@ -20,4 +20,16 @@ # Async JSON parser | ||
(async () => { | ||
/* pass data as string */ | ||
const data = await get(URL); | ||
const result = await parse(data); | ||
/* ------------------ */ | ||
/* pass data as stream */ | ||
await parse(request(URL)); | ||
/* ------------------ */ | ||
})(); | ||
@@ -24,0 +36,0 @@ ``` |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
78
0
299295
7