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";
use to check the if the call is form localhost or form live domain.
Install via NPM:
npm install @halfbug/is_base_url --save
import baseurl from "@halfbug/is_base_url";
baseurl == localhost ? "its local" : "any other domain";
npm i @halfbug/is_base_url
1
1.0.2
MIT
1 kB
3