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

copy-cli

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

copy-cli

A CLI tool for copying files, with optional CSS/JS minification.

  • 1.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
17
increased by6.25%
Maintainers
1
Weekly downloads
 
Created
Source

copy

A CLI tool for copying files, either from a local path, a remote HTTP(s) address, or stdin. Optionally, the output file can be minified using JS or CSS minification.

Installation

$ sudo npm install -g copy-cli

Usage

Basic usage:

$ copy file.jpg > /path/to/new.jpg

Remote files:

$ copy https://mydomain.com/myfile.txt > myfile.txt

Standard input:

$ echo "alert('hello world')" | copy --minify=js > hello.min.js

Options

--help, -?        Displays help information
--minify, -m      Assign this option "js" or "css" to minify the output

Useful Information

The CSS minifiction does NOT follow @import directives.

License

MIT License (https://github.com/JoshuaWise/copy/blob/master/LICENSE)

Keywords

FAQs

Package last updated on 20 Sep 2015

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