sharkey/packages/backend/src/misc/truncate.ts