# router-path **Repository Path**: mirrors_alienzhou/router-path ## Basic Information - **Project Name**: router-path - **Description**: Utility to create router paths from a template and replaces the params. Design for, but not limited to, React-router - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-10-22 - **Last Updated**: 2026-05-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Utility function that replaces the params from a route template with the values of an object to create a valid route path. Designed for, but not limited to, React-router. Example: ```createPath('/foo/:bar', { bar: 'test' });``` returns ```'/foo/test'```