format-params
2.0.1 • Public • Published format-params
a simple way to format params for an http request
api
const formatParams = require('format-params)
example
formatParams('/id', { id: 123 })
formatParams('/resource/id/child/nameParent', { id: 123, nameParent: 'Roy'})
ISC License (ISC)
Package Sidebar
Install
Weekly Downloads