elrumordelaluz / micro-outline-stroke

UI and endpoint for svg-outline-stroke

Home Page:https://outline-stroke.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Outline Stroke

Public endpoint to process stroked svg into outlined version using svg-outline-stroke

Endpoint

POST https://outline-stroke.vercel.app/api/outline

Params

input [ required ] svg stroked code to convert in outlines ...rest? [ optionals ] see svg-outline-stroke params

Examples

Used this tool to url-encode the svg code but you could pass regular svg code if you use for example Postman

curl -d "input=%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cline x1='32' y1='16' x2='32' y2='48' fill='none' stroke='%23202020' stroke-miterlimit='10' stroke-width='2'/%3E%3Cline x1='48' y1='32' x2='16' y2='32' fill='none' stroke='%23202020' stroke-miterlimit='10' stroke-width='2'/%3E%3C/svg%3E" -X POST https://outline-stroke.vercel.app/api/outline

About

UI and endpoint for svg-outline-stroke

https://outline-stroke.vercel.app/


Languages

Language:JavaScript 84.9%Language:CSS 15.1%