How to use the corvid-dir-as-json.readDirToJson function in corvid-dir-as-json

To help you get started, we’ve selected a few corvid-dir-as-json examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github wix-incubator / corvid / packages / corvid-local-site / src / readWrite.js View on Github external
const listFilesRecursive = async siteRootPath =>
  Object.keys(
    await readDirToJson(siteRootPath, {
      delimiter: "/",
      readFiles: false,
      onlyFiles: true
    })
  );

corvid-dir-as-json

MIT
Latest version published 3 years ago

Package Health Score

49 / 100
Full package analysis

Similar packages