@getstation/logo-generator
TypeScript icon, indicating that this package has built-in type declarations

0.3.2 • Public • Published

logo-generator

Getting Started

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

Usage

Options

Option Description
-data path to a CSV file (default is ./data.csv)
-name name of the exported SVG
-url URL of the PNG logo (support local and online files)
-clearbit param for the Clearbit logo API
-color background 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

Readme

Keywords

none

Package Sidebar

Install

npm i @getstation/logo-generator

Weekly Downloads

1

Version

0.3.2

License

ISC

Unpacked Size

64.2 kB

Total Files

22

Last publish

Collaborators

  • jeremy_vincent
  • v1s10n_4
  • matthd
  • nacryn
  • trapcodien
  • magne4000