del-half

1.0.0 • Public • Published

del-half

NPM version Build status

Delete half of files in directories and sub-directories

Installation

npm install del-half --save

CLI

npm install del-half -g
Usage
    $ dhalf <src>

Options
    --type odd or even <default : odd>

Examples
    dhalf "**/*.png"
    dhalf "**/*.png" --type even

Options

Option Description Default
type Odd or Even Odd

Node Usage

dhalf(src,options,callback)

Example

var dhalf = require('del-half');
 
// full options 
dhalf(src,{
    type:'even'
},function(err,data){
 
});

Why ?

  • Cut frames of an animation by half.

License

MIT

Dependents (0)

Package Sidebar

Install

npm i del-half

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • webcaetano