Utilities for formatting URLs and transforming responses.
npm install @js-from-routes/coreURL interpolation and JSON transform utilities
[js_from_routes]: https://github.com/ElMassimo/js_from_routes
Normally you wouldn't need to install it manually, instead follow the instructions
of [js_from_routes][js_from_routes].
``bash`
npm i @js-from-routes/core # yarn add @js-from-routes/core
`ts
import { formatUrl } from '@js-from-routes/core'
formatUrl('/video_clips/:id/download', { id: 5 }) == '/video_clips/5/download'
``
This library is available as open source under the terms of the MIT License.