1.4.7 • Published 5 years ago

the-url v1.4.7

Weekly downloads
2
License
MIT
Repository
github
Last release
5 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

5 years ago

1.4.6

6 years ago

1.4.5

6 years ago

1.4.4

6 years ago

1.4.3

6 years ago

1.4.2

6 years ago

1.4.1

6 years ago

1.4.0

6 years ago

1.3.0

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.0

7 years ago