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.0.2
  • 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

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:
  screenshot [options] <source>
  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
  help [command]                 display help for command

screenshot

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

Custom filename of the generated image.

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

Scale factor of the generated image, defaults to 1.

$ css-doodle screenshot code.css -x 4

preview

Open a window to preview the CSS Doodle file.

$ css-doodle preview code.css
screenshot
--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 screenshot.

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

Keywords

FAQs

Package last updated on 05 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