0.3.2 • Published 6 years ago

@getstation/logo-generator v0.3.2

Weekly downloads
6
License
ISC
Repository
-
Last release
6 years ago

logo-generator

Getting Started

git clone git@github.com:getstation/logo-generator.git
cd logo-generator
yarn install

Usage

Options

OptionDescription
-datapath to a CSV file (default is ./data.csv)
-namename of the exported SVG
-urlURL of the PNG logo (support local and online files)
-clearbitparam for the Clearbit logo API
-colorbackground color of the logo (HTML compliant)

You can either pass a logo with -url or -clearbit.

See the Clearbit logo API: https://clearbit.com/logo.

You can also pass a CSV file which contains rows of name, url and color.

Examples

node lib/cli.js -color 'purple' -clearbit 'datadog.com' -name 'logo-datadog'
node lib/cli.js -color '#1F4087' -url './logo-atlassian.png'
node lib/cli.js -data

Everything will be exported in the exports/ folder.

Todo

  • Be able to pass an SVG logo directly (and minify into a single path)
  • Handle complex PNG files with multiple colors and gradients/opacity