1.0.6 • Published 1 year ago

@leo.cavalcante/stroke2path v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

stroke2path

Converts SVG strokes to paths using Inkscape, ideal for icon font generators like IcoMoon and Fontello.

Installation

You can use npx to run stroke2path without installing it globally:

npx @leo.cavalcante/stroke2path <input-directory> [output-directory]

Or install it globally:

npm install -g @leo.cavalcante/stroke2path

Usage

stroke2path <input-directory> [output-directory]
  • <input-directory>: The directory containing SVG files to process.
  • [output-directory] (Optional): The directory to save processed SVG files (default: svg_path).

Example

stroke2path . output_dir

Processes all SVG files in the current directory (.) and saves the processed files in output_dir.

Options

-h, --help: Show help message.

Requirements

Inkscape must be installed. You can install it using:

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

Feel free to fork and submit pull requests.

Issues

Please report any issues or feature requests here.

Author

Leonardo Cavalcante - GitHub

Acknowledgments

Inspiration from icon font generators.

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago