This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 1,000,000+ packages pre-installed, including
ignore-by-default with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
This is a package aimed at Node.js development tools. It provides a list of directories that should probably be ignored by such tools, e.g. when watching for file changes.
npm install ignore-by-default
ignore-by-default module exports a
directories() function, which will
return an array of directory names. These are the ones you should ignore.
// ['.git', '.sass_cache', …] const ignoredDirectories = require('ignore-by-default').directories()