16.0.4 • Published 4 years ago
@the-/util-site v16.0.4
@the-/util-site
Utility for site
Installation
$ npm install @the-/util-site --save
Usage
'use strict'
const { resolveUrl } = require('@the-/util-site')
async function tryExample() {
const url = resolveUrl('/foo/bar/:id', { id: 1 })
console.log(url)
}
tryExample().catch((err) => console.error(err))
API Guide
- global
- module:@the-/util-site
See API Guide for more detail
License
This software is released under the MIT License.