1.1.0 • Published 7 years ago

path-contents v1.1.0

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

Path content explorer

This module helps you to find all the directories and files under the given target path with their full paths synchronously. To retrieve details asynchronously please use path-contents-asynch

For any clarifications please contact Ishan

Build Status

Installation

npm install path-contents

Usage

  var pathContent = require('path-contents');

  var contents = pathContent.getAllContents("views");

  console.log(contents);
  //to display all the files
  console.log('Files '+ contents.files);
  //to display all folder and subfolders
  console.log('Directories '+ contents.dirs);

Tests

npm test

1.1.0

7 years ago

1.0.15

7 years ago

1.0.14

7 years ago

1.0.13

7 years ago

1.0.12

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago