Skip to content

Instantly share code, notes, and snippets.

@rayepeng
Created July 5, 2023 09:23
Show Gist options
  • Save rayepeng/83cb69ec24ce3fecdff383d43d8520a0 to your computer and use it in GitHub Desktop.
Save rayepeng/83cb69ec24ce3fecdff383d43d8520a0 to your computer and use it in GitHub Desktop.
function filter(proxies) {
return proxies.map(p => {
return p.type === "vmess" && p.name.indexOf("美国") !== -1;
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment