0.0.4 • Published 3 years ago

dir-text v0.0.4

Weekly downloads
8
License
ISC
Repository
github
Last release
3 years ago

dir-text

Express the file directory structure in text like this

use

  const { dirText } = require('dir-text');

  // use default options
  dirText();

  // use custom ignores directories
  dirText(undefined, undefined, ['node_modules', '.git']);

  // use custom base path
  dirText('./');

  // use custom output file path
  dirText(undefined, 'output.md');

TypeScript

You can use TypeScript from version 0.0.3

checkList

  • readme
  • TypeScript
  • test
  • doc