filepath-recursive

get the path of all files with a given extension

Usage no npm install needed!

<script type="module">
  import filepathRecursive from 'https://cdn.skypack.dev/filepath-recursive';
</script>

README

filepath-recursive

get the path of all files with a given extension

usage

const filepaths = require('filepath-recursive')

// (dir:str, ext:str) -> arr
const files = filepaths('.', '.js')