Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

filetree.js

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

filetree.js - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

3

filetree.js

@@ -40,2 +40,5 @@ var fs = require('fs');

}
exclude = exclude.map(function (name) {
return name.replace(/(^[\/\\]+|[\/\\]+$)/g, '');
});

@@ -42,0 +45,0 @@ if (typeof depth === 'undefined') {

1

filetree.spec.js

@@ -55,2 +55,1 @@ var expect = require('chai').expect,

});
{
"name": "filetree.js",
"version": "0.0.1",
"version": "0.0.2",
"description": "Recursively list files in directory hierarchy as a readable tree upto specified depth while excluding unwanted folder names",

@@ -5,0 +5,0 @@ "main": "filetree.js",

@@ -114,1 +114,12 @@ # filetree.js

```
## To Do
- Return paths in JS and print in CLI
- Async with promises rather than synchronous
## Change Log
2015-10-18 - v0.0.2 - Allow exclude names to have hanging/trailing slash
2015-10-18 - Published v0.0.1
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc