Searching in GitHub
Searching code
someCodePiece in:file
searches for code in any file in the repository
filename: something.ts
searches for filenames in the repository
something in:path
searches in file path
You can search by more criteria like size:>10000
, language:LANGUAGE
, extension:TS
or by user:USERNAME
, org:ORGNAME
, repo:USERNAME/REPOSITORY
You can search almost anything, for example commits, topics, repositories, issues, PRs, discussions, users, packages, wikis, forks.
More on the Search On GitHub page.