svg-square-grid-generator

0.1.2 • Public • Published

svg-square-grid-generator

Small CLI utility to generate a grid of squares, for given parameters, in svg format

Installation

npm install -g svg-square-grid-generator

Usage

$ grid-gen --help

  Small utility that generates a grid of squares, for given parameters, in svg format

  Usage: grid-gen <flags>

  Where <flags> are:
    --unit (defaults to: cm)
      Specify grid unit, available units: cm, px, ???
    --grid-size (defaults to: 30)
      How big the entire grid should be
    --cell-size (defaults to: 2)
      The size of individual cell
    --file (defaults to: output.svg)
      File to save generated grid to

  Example usage:
    grid-gen --file=bananas.svg --unit=cm --grid-size=99999 --size=0.1

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i svg-square-grid-generator

    Weekly Downloads

    0

    Version

    0.1.2

    License

    MIT

    Last publish

    Collaborators

    • meedamian