Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    del-halfpublic

    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

    install

    npm i del-half

    Downloadsweekly downloads

    2

    version

    1.0.0

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar