Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
zakarialaoui10 authored Oct 23, 2023
1 parent 5d820d5 commit 8681b50
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@
Developped by zakaria elaloui
Github : https://github.com/zakarialaoui10
*/
/*
const fs = require('fs');
const path = require('path');
*/
const Dir2Tree=require("./src/dir2tree.js")
const dir2tree = (root, options, callbacks=[]) => new Dir2Tree(root, options, callbacks);
/*
const ROOT = path.join(__dirname,'.',"Examples");
const TARGET = path.join(__dirname, 'generated2.json');
console.log({ROOT,TARGET})
Expand All @@ -16,4 +19,5 @@ console.log(__dirname)
console.log(tree.tree)
tree.write("gen.json")
console.log("end")
*/
module.exports=dir2tree

0 comments on commit 8681b50

Please sign in to comment.