🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@galkin/zetro

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@galkin/zetro

Test task for Zerto Company

unpublished
latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

Zetro test task

Build Status Dependency Status devDependency Status

Description

The NodeJS CLI will listen to a change event of the directory mentioned by user input.

When a user places a file in the source directory, the program will identify it and append the filename to a log file, as follow:

  • [*.pdf] files should be written to log as-is.
  • Other types of files should be logged with the current time added to the filename. For example a file originally called "root.png" will be renamed to "root_1235.png"

Please add unit tests / integration test / automation tests as much as you can.

Install

npm install -g @galkin/zetro

Running

$ zetro
Options:
  --file, -f       Log file                    [string] [default: "./zerto.log"]
  --verbose, -v    Verbose level                                         [count]
  --recursive, -r  Recursive                                           [boolean]
  --path, -p       Directory path                        [string] [default: "."]
  --help, -h       Show help                                           [boolean]

Testing Approach

Download repository Run npm test. It will run:

  • linting for code and tests
  • functional tests with mocha

FAQs

Package last updated on 10 Apr 2017

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