Skip to content

Alfred Workflow written with node.js to perform common Front End Development tasks on svg files

Notifications You must be signed in to change notification settings

rickMcGavin/alfred-svg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alfred-SVG

An alfred workflow to help front end developers quickly perform common tasks with svg files.

What it does

  • Can use svgo to perform compression.
  • Can convert an svg in to a background-image css property in 1 of 3 formats:
    1. no svg encoding
    2. url encoded svg
    3. base64 encoded svg

Requirements

  • You will need nodejs installed globally.

How to install and setup

Since this is for developers, some assumptions are made that you are familiar with nodejs, npm packages, and how to install them.

  1. Download and install svg-toolkit.alfredworkflow from the releases page.
  2. Right-click on the SVG Toolkit in Alfred Preferences, and select "Open in Terminal"
  3. Run an npm install in this folder to install svgo.

How to use

  1. Type svg into alfred and paste your svg markup.
  2. Select one of the options given.

About

Alfred Workflow written with node.js to perform common Front End Development tasks on svg files

Resources

Stars

Watchers

Forks

Packages

No packages published