rest-util

0.0.7 • Public • Published

Rest Util

Functions

  • url: build a url from a connect request, path, and query
  • baseUrl: determine the base url of a connect request
  • upUrl: remove the least-significant URL segment
  • downUrl: add a URL segment
  • selfUrl: the url of a request
  • foreignUrl: build a url to a foreign service
  • hlink: compose a HAL+JSON link hash

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.7
    0
    • latest

Version History

Package Sidebar

Install

npm i rest-util

Weekly Downloads

0

Version

0.0.7

License

none

Last publish

Collaborators

  • gjwiley