apeman-service-url
Service for URL
Installation
$ npm install apeman-service-url --save
Usage
#!/usr/bin/env node 'use strict' const ApUrlService = const createStore = const reducer = const co =
API
apeman-service-url@2.0.0
Service for URL
- Functions
- ApUrlService Class
Functions
ApUrlService
create(args) -> Create the service instance
Param | Type | Description |
---|---|---|
args | * |
ApUrlService Class
Service
new ApUrlService(store, options)
Constructor of ApUrlService class
Param | Type | Description |
---|---|---|
store | Object | Redux store |
options | Object | Optional settings |
string
service.resolveLink(url, params) -> Resolve an link
Param | Type | Description |
---|---|---|
url | string | Url string |
params | Object | URL param values |
string
service.mergeQueryString(url, query) -> Merge query string
Param | Type | Description |
---|---|---|
url | string | Url to merge with |
query | Object | Query data |
License
This software is released under the MIT License.