15.4.12 • Published 6 years ago

@the-/url v15.4.12

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

@the-/url

npm Version

URL utility for the-framework

Installation

$ npm install @the-/url --save

Usage

'use strict'

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

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

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

API Guide

See API Guide for more detail

License

This software is released under the MIT License.

Links

15.4.12

6 years ago

15.4.9

6 years ago

15.4.8

6 years ago

15.4.4

6 years ago

15.4.3

6 years ago

15.4.1

6 years ago

15.4.0

6 years ago

15.2.0

6 years ago

15.1.4

6 years ago

15.1.3

6 years ago

15.1.2

6 years ago

15.1.0

6 years ago

15.0.3

6 years ago

15.0.2

6 years ago