This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This is a test to show how to compose objects with typescript. | |
*/ | |
/** | |
* Creates an intersection type from a union type. | |
* @public | |
*/ | |
type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends ( | |
k: infer I |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { chromium, Page } from "playwright-core" | |
/** | |
* Entrypoint. | |
* | |
* @remarks | |
* Demonstrates a safe typing algorithm that mimics human typing cadence. | |
* | |
* @public | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { exec } from "node:child_process" | |
import { createReadStream, createWriteStream, existsSync, readFileSync } from "node:fs" | |
import { mkdir } from "node:fs/promises" | |
import { basename, dirname, join } from "node:path" | |
import { pipeline } from "node:stream/promises" | |
import { promisify } from "node:util" | |
import { createGzip } from "node:zlib" | |
import { PutObjectCommand, S3Client } from "@aws-sdk/client-s3" |
OlderNewer