Skip to content

frankymelero/dir-tree-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dir-tree-logger

dir-tree-logger is a simple utility for logging directory structures to the console. It is based on TypeScript precompiled to JavaScript.

Installation

You can install dir-tree-logger using npm:

npm install dir-tree-logger

Usage

To use dir-tree-logger, follow these steps:

  1. Import the module into your project:
const logger = require('dir-tree-logger');
  1. Initialize the logger by providing the base path and optionally a list of directories to exclude:
logger.initialize('./base-route', ['node_modules', 'omitted-directory']);
  1. Run your application to view the directory structure log in the console.

Contribute

If you'd like to contribute to this project, we welcome collaborations! Feel free to open an issue or submit a pull request.

License

This project is under the MIT License.

Contact

For questions or comments, you can contact Franky Melero on LinkedIn.

About

NPM package utility for logging directory structures to the console.

Resources

License

Stars

Watchers

Forks