Socket
Socket
Sign inDemoInstall

cp-random

Package Overview
Dependencies
1
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cp-random

Copy random files to a specific folder


Version published
Weekly downloads
1
Maintainers
1
Install size
34.6 kB
Created
Weekly downloads
 

Readme

Source

CP Random

Node Version Downloads Travis

Copy random files to a specific folder

Installation

Module available through the npm registry. It can be installed using the npm or yarn command line tools.

# NPM
npm install cp-random --global
# Or Using Yarn
yarn global add cp-random

Usage

# Copy all files - from [dir] to [dir]
cp-random --from [dir] --to [dir]
# Copy [number] files - from [dir] to [dir]
cp-random --from [dir] --to [dir] --max [number]

Tests

To run the test suite, first install the dependencies, then run test:

# NPM
npm test
# Or Using Yarn
yarn test

Dependencies

  • minimist: parse argument options
  • thanos-nodejs: Reduce the file size of your project down to 50%, by randomly deleting half of the files.

Contributors

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue. List of all contributors.

License

MIT © Tiago Danin

Keywords

FAQs

Last updated on 05 Apr 2019

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc