cloud-url-resolver
TypeScript icon, indicating that this package has built-in type declarations

1.3.0 • Public • Published

cloud-url-resolver

NPM Version

easily resolve protocol/port setups on any development platform

Supported Platforms

If you would like to add support for another platform, please open an issue about it.

Usage

import { transform } from "cloud-url-resolver";

transform(3000, "http"); // returns "http://localhost:3000" if on localhost; otherwise, returns the transformed for the current platform

Package Sidebar

Install

npm i cloud-url-resolver

Weekly Downloads

22

Version

1.3.0

License

MIT

Unpacked Size

7.37 kB

Total Files

6

Last publish

Collaborators

  • leodog896