For this to work correctly across multiple computers and developers, each repo must have an .editorconfig
file that determines what the code looks like when formatted. For an example, see the repo linked below.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
import http from 'node:http'; | |
import { readFile } from 'node:fs/promises'; | |
import { basename, join } from 'node:path'; | |
const PORT = 8080; | |
http | |
.createServer(async (request, response) => { |
OlderNewer