Buckets:
silverwolf-x/project / test /development /app-dir /next-after-app-invalid-usage /basic /utils /log.js
| export function cliLog(/** @type {string | Record<string, any>} */ data) { | |
| console.log('<test-log>' + JSON.stringify(data) + '</test-log>') | |
| } | |
| export function readCliLogs(/** @type {string} */ output) { | |
| return output | |
| .split('\n') | |
| .map((line) => { | |
| const match = line.match(/^<test-log>(?<value>.+?)<\/test-log>$/) | |
| if (!match) { | |
| return null | |
| } | |
| return JSON.parse(match.groups.value) | |
| }) | |
| .filter(Boolean) | |
| } | |
Xet Storage Details
- Size:
- 453 Bytes
- Xet hash:
- 364870eb8bbab5a25b3214a9fd4312aa55817749e037b469414f7708d1cd4736
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.