Sharkey/src/well-known-services.ts

5 lines
210 B
TypeScript

export const wellKnownServices = [
['twitter.com', username => `https://twitter.com/${username}`],
['github.com', username => `https://github.com/${username}`],
] as [string, (username: string) => string][];