@halfbug/is_base_url

1.0.2 • Public • Published

use to check the if the call is form localhost or form live domain.

Install via NPM:

npm install @halfbug/is_base_url --save

Usage

import baseurl from "@halfbug/is_base_url";

baseurl == localhost ? "its local" : "any other domain";

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @halfbug/is_base_url

      Weekly Downloads

      1

      Version

      1.0.2

      License

      MIT

      Unpacked Size

      1 kB

      Total Files

      3

      Last publish

      Collaborators

      • halfbug