node package manager

del-half

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