1.0.6 • Published 8 years ago

scandir-sync v1.0.6

Weekly downloads
6
License
ISC
Repository
github
Last release
8 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

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago