All Projects → elrumordelaluz → path-that-svg

elrumordelaluz / path-that-svg

Licence: other
Path that SVG!

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to path-that-svg

jquery-svg-convert
Convert .svg images to code on the fly with jQuery
Stars: ✭ 30 (-33.33%)
Mutual labels:  svg-path, svg-converter
STPathTextField
Subclass of NSTextField that supports shell and browser-style path autocompletion
Stars: ✭ 17 (-62.22%)
Mutual labels:  path
wave-maker
Wave maker based on SVG Arcs
Stars: ✭ 22 (-51.11%)
Mutual labels:  svg-path
path-replace-loader
Path replace loader for webpack
Stars: ✭ 14 (-68.89%)
Mutual labels:  path
pathtools
DEPRECATED This twig plugin for the Craft CMS brings convenient path & url manipulation functions & filters to your Twig templates.
Stars: ✭ 19 (-57.78%)
Mutual labels:  path
SonogramView
Audio visualisation of song
Stars: ✭ 65 (+44.44%)
Mutual labels:  path
panther
Perception-Aware Trajectory Planner in Dynamic Environments
Stars: ✭ 115 (+155.56%)
Mutual labels:  path
oksvg
Partial implementation of SVG 2.0 specification in golang.
Stars: ✭ 112 (+148.89%)
Mutual labels:  svg-path
groupoid.space
🧊 Інститут Формальної Математики
Stars: ✭ 35 (-22.22%)
Mutual labels:  path
fontify
Converts SVG icons to OTF font and generates Flutter-compatible class. Provides an API and a CLI tool.
Stars: ✭ 88 (+95.56%)
Mutual labels:  svg-converter
global-prefix
Get the npm global path prefix. Same code used internally by npm.
Stars: ✭ 27 (-40%)
Mutual labels:  path
stroke-dasharray-interpolation-talk
Slides from 2015 D3.js talk
Stars: ✭ 17 (-62.22%)
Mutual labels:  path
lookpath
The minimum and most straightforward way to check if command exists and where the executable is, without spawning child_process.
Stars: ✭ 49 (+8.89%)
Mutual labels:  path
SwiftUI-bez
Utilities for working with bezier curves in SwiftUI
Stars: ✭ 80 (+77.78%)
Mutual labels:  path
path-absolutize
A library for extending `Path` and `PathBuf` in order to get an absolute path and remove the containing dots.
Stars: ✭ 37 (-17.78%)
Mutual labels:  path
guide-to-becoming
แหล่งรวบรวมข้อมูลสำหรับคนที่อยากจะพัฒนาตัวเองในด้านต่างๆจากผู้เริ่มต้นสู่ระดับเทพ
Stars: ✭ 23 (-48.89%)
Mutual labels:  path
NavigationRouter
A router implementation designed for complex modular apps, written in Swift
Stars: ✭ 89 (+97.78%)
Mutual labels:  path
react-svg-pathline
React component for drawing SVG path through set of points, smoothing the corners
Stars: ✭ 42 (-6.67%)
Mutual labels:  path
llvm-epp
Efficient Path Profiling using LLVM
Stars: ✭ 16 (-64.44%)
Mutual labels:  path
array-keyed-map
JS datastructure, like Map, but the keys are arrays
Stars: ✭ 29 (-35.56%)
Mutual labels:  path

Path that SVG!

Sometimes is useful to have an svg done with paths instead of elements
such as rect, circle, ellipse, line, polyline or polygon.
Like when you apply Compound Path in Adobe Illustrator.

Install

yarn add path-that-svg

Usage

String|Buffer svg

const { pathThatSvg } = require('path-that-svg')

fs.readFile('./elements.svg', (err, input) => {
  pathThatSvg(input).then((convertedFromBuffer) => {
    console.log({ convertedFromBuffer })
  })
})

pathThatSvg(`<svg viewBox="0 0 500 200">
  <rect 
    x="200" 
    y="50" 
    fill="#F16362" 
    stroke="#30456B" 
    stroke-width="5" 
    stroke-linecap="round" 
    stroke-linejoin="round" 
    width="100" height="100"/>
</svg>`).then((convertedFromString) => {
  console.log(convertedFromString)
})

Related

element-to-path Convert SVG element into path

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].