MCPcopy Index your code
hub / github.com/conwnet/github1s / createRandomString

Function createRandomString

src/gitlab-auth.ts:15–18  ·  view source on GitHub ↗
(length: number)

Source from the content-addressed store, hash-verified

13 'directories=no,titlebar=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=800,height=520,top=150,left=150';
14
15const createRandomString = (length: number) => {
16 const charset = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
17 return Array.from({ length }, () => charset.charAt(Math.floor(Math.random() * charset.length))).join('');
18};
19
20const createAuthorizeUrl = (state: string) => {
21 const parameters = Object.entries({

Callers 1

ConnectToGitLabFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected