apeman-brws-url

Url resolver for browser.

## NO LONGER MAINTAINED
Last updated a year ago by okunishinishi .
MIT · Repository · Bugs · Original npm · Tarball
$ cnpm install apeman-brws-url 
SYNC missed versions from official npm registry.

apeman-brws-url

Build Status Code Climate Code Coverage npm Version JS Standard

Url resolver for browser.

Installation

$ npm install apeman-brws-url --save

Usage

'use strict'

const { convertHostname } = require('apeman-brws-url')

// Convert host name by rule.
let url01 = convertHostname('http://localhost:300/foo', {
  localhost: '127.0.0.1'
})

Bundle

Use browserify to bundle as client side script.

$ browserify main.js -o bundle.js

License

This software is released under the MIT License.

Links

Maintainers (1)
Downloads
Today 0
This Week 0
This Month 11
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (11)

Copyright 2014 - 2017 © taobao.org |