Skip to content

Instantly share code, notes, and snippets.

View index.js
const express = require('express')
const app = express()
const port = 3000
const logger = (req, res, next) => {
const timestamp = new Date()
console.log(`${timestamp} A request was made to: ${req.path}`)
next()
}
View collisions-with-quotes.json
{
"at'thay": ["'that", "that'"],
"auncelot'lay": ["launcelot'", "'launcelot"],
"eace'pay": ["peace'", "'peace"],
"ighthay": ["thigh", "hight"],
"e'bay": ["'be", "be'"],
"uilty'gay": ["'guilty", "guilty'"],
"earsway": ["swear", "wears"],
"entscay": ["scent", "cents"],
"allscay": ["calls", "scall"],
View collisions.json
{
"ainstray": ["strain", "trains"],
"inspay": ["pins", "spin"],
"arescay": ["cares", "scare"],
"iverslay": ["livers", "sliver"],
"ocksmay": ["smock", "mocks"],
"eretway": ["weret", "twere"],
"ailsnay": ["nails", "snail"],
"opstay": ["stop", "tops"],
"idestray": ["stride", "ridest"],