Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 260 Bytes

README.md

File metadata and controls

22 lines (19 loc) · 260 Bytes

#Dirmapper

Creates an object representing a directory and its' siblings (recursive)

/files
- file.js
- dir
-- file2.js
require('dirmapper')('/folder'); ->
{
	files: {
		file.js: "file.js",
		dir: {
			file2.js: "file2.js"
		}
	}
}