0.1.1 • Published 5 years ago

@hp4k1h5/crawl v0.1.1

Weekly downloads
2
License
MIT
Repository
gitlab
Last release
5 years ago

crawl

fs and http crawlers

work in progress

  • fs ✅
  • http ❌

usage

import { crawlDir } from '@hp4k1h5/crawl'
console.log(crawlDir())

returns

[
  '/Users/user/code/crawl/src/.index.js.swp',
  '/Users/user/code/crawl/src/index.js',
  '/Users/user/code/crawl/src/temp/tmp.txt'
]

crawlDir takes a string parameter of the filepath to the directory you wish to crawl. default './'

returns a list of root relative filepaths for all files recursively inside target directory

0.1.1

5 years ago

0.20200305.0

5 years ago