Socket
Book a DemoInstallSign in
Socket

lepto-cli

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lepto-cli

CLI for Lepto tool

1.2.0
latest
Source
npmnpm
Version published
Weekly downloads
18
63.64%
Maintainers
1
Weekly downloads
 
Created
Source

lepto-cli Build Status

$ npm i -g lepto-cli

To get started with lepto, run lepto setup, be sure to have a package.json, if not, create it with npm init or lepto-cli will create it.

Use --config (-c) argument to give your lepto config path.

Usage: lepto [options] [command]

Options:

  -V, --version             output the version number
  -i, --input [dir]         Set input directory
  -o, --output [dir]        Set output directory
  -c, --config [file]       Path to a config file (default: lepto.config.json)
  -d --dataOutput [file]    Set the output json file for the data (eg: ./output/data.json)
  -w, --watch               Watch for files changes
  -l, --logLevel [0-3]      Set the log level from 0 (silent) to 3 (all informations)
  -p, --logPrefix [prefix]  Set a prefix for the log, eg: lepto
  --watchConfig             Watch for config file change
  --followUnlink            Remove files in the output when they are removed from the input directory
  -h, --help                output usage information

Commands:

  setup                     Create a lepto config file

Contributing

Test with fictures assets

$ cd fixtures/
$ ../bin/lepto

Test package

$ npm test
  • lepto - Automated image Editing, Optimization and Analysis via CLI and a web interface

License

This project is licensed under the MIT license.

Keywords

lepto

FAQs

Package last updated on 21 Aug 2018

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.