1.4.7 • Published 6 years ago

the-url v1.4.7

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

the-url

Build Status npm Version JS Standard

URL utility for the-framework

Installation

$ npm install the-url --save

Usage

'use strict'

const { formatUrl } = require('the-url')

async function tryExample () {
  let url = formatUrl('/foo/:id', { id: 2 })
  console.log(url) // "/foo/2"
}

tryExample().catch((err) => console.error(err))

API Guide

License

This software is released under the MIT License.

Links

1.4.7

6 years ago

1.4.6

7 years ago

1.4.5

7 years ago

1.4.4

7 years ago

1.4.3

7 years ago

1.4.2

7 years ago

1.4.1

7 years ago

1.4.0

7 years ago

1.3.0

7 years ago

1.2.2

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.0

8 years ago