Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@css-doodle/cli

Package Overview
Dependencies
Maintainers
0
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@css-doodle/cli

The css-doodle CLI for previewing and generating images

  • 1.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
0
Weekly downloads
 
Created
Source

@css-doodle/cli

The css-doodle CLI for previewing and generating images.

screenshot

Installation

npm install -g @css-doodle/cli

Commands

render

Generate an image from the CSS Doodle source file.

$ css-doodle render code.css
-o, --output

Custom output filename of the generated image.

$ css-doodle render code.css -o result.png
-x, --scale

Scale factor of the generated image, defaults to 1.

$ css-doodle render code.css -x 4

preview

Open a window to preview the CSS Doodle file.

$ css-doodle preview code.css
--fullscreen

Open the preview in fullscreen mode.

$ css-doodle preview code.css --fullscreen

config

Display/set the configuration.

$ css-doodle config
browserPath

Use a custom browser to preview and generate images.

$ css-doodle config browserPath /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome

generate

Generate code using CSS Doodle generators.

svg

Generate SVG code using svg() function.

$ css-doodle generate svg code.css
polygon

Generate CSS polygon() using shape() function.

$ css-doodle generate polygon code.css

Usage

Usage: css-doodle [options] [command]

The css-doodle CLI for previewing and generating images

Options:
  -V, --version               output the version number
  -h, --help                  display help for command

Commands:
  render [options] [source]   generate an image from the CSS Doodle source file
  preview [options] <source>  open a window to preview the CSS Doodle file
  parse [source]              print the parsed tokens, helped to debug on development
  config                      display/set the configuration
  generate                    generate code using CSS Doodle generators
  help [command]              display help for command

Keywords

FAQs

Package last updated on 06 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc