MCPcopy
hub / github.com/sallar/github-contributions-chart / cleanUsername

Function cleanUsername

src/utils/export.js:83–85  ·  view source on GitHub ↗
(username)

Source from the content-addressed store, hash-verified

81}
82
83export function cleanUsername(username) {
84 return username.replace(/^(http|https):\/\/(?!www\.)github\.com\//, "");
85}

Callers 1

handleSubmitFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected