1.0.2 • Published 2 years ago
@js-from-routes/core v1.0.2
Installation 💿
Normally you wouldn't need to install it manually, instead follow the instructions of js_from_routes.
npm i @js-from-routes/core # yarn add @js-from-routes/core
Usage 🚀
import { formatUrl } from '@js-from-routes/core'
formatUrl('/video_clips/:id/download', { id: 5 }) == '/video_clips/5/download'
License
This library is available as open source under the terms of the MIT License.