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

fs-finder

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fs-finder - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

8

lib/Finder.js

@@ -155,2 +155,10 @@ // Generated by CoffeeScript 1.6.3

Finder["in"] = function(path) {
return new Finder(path);
};
Finder.from = function(path) {
return (new Finder(path)).recursively();
};
Finder.find = function(path, type) {

@@ -157,0 +165,0 @@ if (type == null) {

2

package.json
{
"name": "fs-finder",
"description": "File system recursive finder",
"version": "1.1.0",
"version": "1.2.0",
"author": {

@@ -6,0 +6,0 @@ "name": "David Kudera",

@@ -115,2 +115,9 @@ # fs-finder

var files = Finder.findFiles('/var/data/base-path/<(.git|.idea)*[0-9]>'); // Returns every file with .git or .idea and also with number in path
```
For more advanced options you can use in and from functions.
```
var files = Finder.in('/var/data/base-path').findFiles(); // Load files only from base-path directory
var files = Finder.from('/var/data/base-path').findFiles(); // Load files recursively
```

Sorry, the diff of this file is not supported yet

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