@jaocer/hoster

0.0.1 • Public • Published

Install

npm install @utils/hoster

Usage

use config like this

const config = {
    "127.0.0.1": [
        "localhost",
        "www.google.com"
    ],
    "127.0.0.2":[
        "www.youtube.com"
    ]
}

and you can set

hoster(config,callback)
// it is same 
hoster(config, true, callback)

or unset domain

hoster(config, false, callback)

Readme

Keywords

Package Sidebar

Install

npm i @jaocer/hoster

Weekly Downloads

0

Version

0.0.1

License

none

Unpacked Size

5.43 kB

Total Files

8

Last publish

Collaborators

  • changero