1.0.6 • Published 6 years ago

scandir-sync v1.0.6

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

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago