merge files from the blockchain infra repo (#59)

This commit is contained in:
autistic-symposium-helper 2024-11-17 17:03:20 -08:00 committed by GitHub
parent 23f56ef195
commit 2a6449bb85
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
346 changed files with 29097 additions and 132 deletions

View file

@ -0,0 +1,7 @@
const fs = require("fs");
console.log("first");
fs.readFile("file.txt", (err,data)=> console.log(data.toString()));
console.log("second");

View file

@ -0,0 +1 @@
gm anon

View file

@ -0,0 +1,12 @@
{
"name": "demo_sync-async",
"version": "1.0.0",
"description": "",
"main": "async.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": ""
}

View file

@ -0,0 +1,10 @@
const fs = require("fs");
console.log("first");
const res = fs.readFileSync("file.txt");
console.log(res);
console.log("second");