15.4.12 • Published 4 years ago

@the-/url v15.4.12

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

4 years ago

15.4.9

5 years ago

15.4.8

5 years ago

15.4.4

5 years ago

15.4.3

5 years ago

15.4.1

5 years ago

15.4.0

5 years ago

15.2.0

5 years ago

15.1.4

5 years ago

15.1.3

5 years ago

15.1.2

5 years ago

15.1.0

5 years ago

15.0.3

5 years ago

15.0.2

5 years ago