1.1.0 • Published 8 years ago

fs-readdir-recursive v1.1.0

Weekly downloads
2,524,446
License
MIT
Repository
github
Last release
8 years ago

fs.readdirSyncRecursive

NPM version Build status Test coverage Dependency Status License Downloads Gittip

Read a directory recursively.

Install

npm install fs-readdir-recursive

Example

var read = require('fs-readdir-recursive')
read(__dirname) === [
  'test/test.js',
  'index.js',
  'LICENSE',
  'package.json',
  'README.md'
]

API

read(root , filter)

root is the directory you wish to scan. filter is an optional filter for the files with three params(name, index, dir). By default, filter is:

function (name) {
  return name[0] !== '.'
}

Which basically just ignores . files.

@babel/cli@wistoft/jaseeasy-select-rnkilli8n-react-native-fast-image@arisageha/react-lazyload@arisageha/react-lazyload-fix@cashremit/cr-streamline-icons@nera-ssg/nera@nera-npm/nera@ihikmawan/tailwindcss-multi-theme-l2@frxf/frxf@phil8795/pecuniarius-api@texttree/demo-bsa-reference-rclalex-d.js@l1nyanm1ng/react-picture-viewerracycbmis-ai-toolboxuinz-notificationreact-native-slider-kfopea-bootstraapsklif-ui-kitsklif-api@everything-registry/sub-chunk-1706sklif-uitale-wallet-plugintalenewsyiedtalenewvanillajsswarm-hosttencent-cos-uploadsvelte-iconify-svgtest-carosello-campustest-iki-mini-appvue-i18n-translationfile-generatorwefe-command-mpvueweshopsuperset-plugin-chart-hello-world2supcon-uitechfox-icontechfox-react-feathersui-iconsstatic-cache2teste_cegidtestpacksyiedswc-cliswift.jsti_recoverthumbsupvue-convertvcloudcam-playkit-js-hlsvue-doc-extractor@beldore/react-otp-input@percolate/cli-utils@poscredit/plugin-chart-boris@rbc-public/react-selectable-fasteth-gas-reportcauseway-concrete-stylescustom-react-app1custom-react-app2j3tinypngjest-dir-snapshotjulien-easy-modaljsonapi-schemajmazm-koa-static-cachejson-schema-benchmarkjunit-mergeiceworksice-scaffold-generatorhash-all-fileshello_world_foundergz-image-compressorgzup-react-image-file-resizergupackhardhat-teaplughardhat-teaxyzhapi-routes-recursivehatpheadmaninnosites-payement-checkoutlibrary-utilldpmlsd-awsmakumaku-climapped-routesldckraftverkkoa-simple-statickoa-static-cachekoa-static-cache-aliaskoaomerge-junit-results@walrus/babel@wfp/icons-core@wistoft/jates@voizo-tech/voizo-voice-sdk@xiphiaz/metalsmith-layouts@xieyuheng/cicada@xieyuheng/data-layer@xieyuheng/data-mapper@xieyuheng/exp
1.1.0

8 years ago

1.0.0

10 years ago

0.1.2

10 years ago

0.1.1

11 years ago

0.1.0

11 years ago

0.0.2

11 years ago

0.0.1

12 years ago