# path-gradients **Repository Path**: mirrors_mapbox/path-gradients ## Basic Information - **Project Name**: path-gradients - **Description**: Transforms a single-color path into one with a color gradient - **Primary Language**: Unknown - **License**: BSD-2-Clause - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-09 - **Last Updated**: 2025-11-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## Initial Setup 1. Clone this module 2. Run `npm ci` ## Running Run `node main.js` to get the path gradient in a URL encoded fashion. Other options: ``` node main.js -r # returns the path gradient in a RAW form that is not URL encoded node main.js -f # returns a FULL URL that you can use with your Mapbox token ``` ## Video Tutorial Video cover image with a route line that begins in a green color, then transitions smoothly into blue. You can watch a 5-minute video tutorial here.