0.0.2 • Published 9 months ago

path-paramer v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

path-paramer

Helper functions for url path paramators

Usage

import {replace} from 'path-paramer'

const path = "/user/{user_id}/profile/{profile_id}"
const result = replace(path, { user_id: "123", profile_id: "456" }
//  result is /user/123/profile/456
0.0.2

9 months ago

0.0.1

9 months ago

0.0.0

9 months ago