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

ignorefs

Package Overview
Dependencies
Maintainers
1
Versions
138
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ignorefs

Ignore common and custom patterns of the file system

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4.1K
decreased by-77.15%
Maintainers
1
Weekly downloads
 
Created
Source

IgnoreFS

Build Status NPM version Gittip donate button Flattr donate button PayPayl donate button

Ignore common and custom patterns of the file system

Install

Node, Browserify

  • Use: require('ignorefs')
  • Install: npm install --save ignorefs

Ender

  • Use: require('ignorefs')
  • Install: ender add ignorefs

Usage

var isIgnored = require('ignorefs').isIgnoredPath(path, {
	ignorePaths: false, // array of paths to ignore
	ignoreHiddenFiles: false, // whether or not we should ignore files that start with a dot
	ignoreCommonPatterns: true, // whether or not we should common patterns like "thumbs.db" etc, uses https://github.com/bevry/ignorepatterns
	ignoreCustomPatterns: false, // can be a regex that is tested against the basename of the file and the file's path
});
console.log(isIgnored);  // true or false

History

Discover the change history by heading on over to the History.md file.

Contribute

Discover how you can contribute by heading on over to the Contributing.md file.

Backers

Maintainers

These amazing people are maintaining this project:

Sponsors

No sponsors yet! Will you be the first?

Gittip donate button Flattr donate button PayPayl donate button

Contributors

No contributors yet! Will you be the first? Discover how you can contribute by heading on over to the Contributing.md file.

License

Licensed under the incredibly permissive MIT license

Copyright © 2012+ Bevry Pty Ltd us@bevry.me (http://bevry.me)
Copyright © 2011 Benjamin Lupton b@lupton.cc (http://balupton.com)

Keywords

FAQs

Package last updated on 10 Dec 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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