1.0.6 • Published 7 years ago

scandir-sync v1.0.6

Weekly downloads
6
License
ISC
Repository
github
Last release
7 years ago

scandir-sync

Install

npm install scandir-sync

Usage

    const scan = require('scandir-sync')
    const basePath = "./dist"

    const result = scan({ 
        rootDir: basePath,
        ignoreFile: /\.txt$/, 
        ignoreDir:  /css$/
    })
    
    // get a array of all the scanned directorys path
    console.log(result.dirsPath)

    // get a array of all the scanned files path
    console.log(result.filesPath)
1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago