/proxy-uri

Helper to generate/parse Shadowsocks(R)/HTTP(S) URI

Primary LanguageTypeScriptMIT LicenseMIT

License Build Status

proxy-uri is a utility to help generate or parse Shadowsocks(R)/HTTP(S) URI.

Build from source

yarn deploy

Usage

Generate URI

import { Proxy } from 'proxy-uri';
proxy.toURI(false);

Parse URI

import { ProxyURI } from 'proxy-uri';
let proxies = ProxyURI.parse(uri);

More examples can be found in tests.

Projects

License

MIT LICENSE See LICENSE for more details.