New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

co-walk

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

co-walk

walk a file tree and return list of files

latest
Source
npmnpm
Version
0.0.2
Version published
Weekly downloads
13
-18.75%
Maintainers
1
Weekly downloads
 
Created
Source

co-walk

walk a file tree and return a list of files

Installation

$ npm install co-walk

Example

var path = __dirname + '/app'

var files = yield walk(path, {
  symlinks: true,
  ignore: ['art/**', 'node_modules']
})
// -> ['/home/user/app/.gitignore', ...]

Api

walk(path, opts)

walk a file tree and return a list of files

  • path: full path to folder
  • opts:
    • symlinks: follow symlinks and return origin path [false]
    • ignore: a list which folders, files you want to ignore

Tests

$ make test

Licence

MIT

Keywords

co

FAQs

Package last updated on 15 Mar 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts