🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

boltfetch

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

boltfetch

Fetches all files in the current directory and outputs them in a Markdown file.

latest
npmnpm
Version
1.0.4
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

boltfetch

Boltfetch Cover

Recursively fetches all code files in the current directory, ignoring what's in .gitignore and .boltfetchignore,
then outputs them into a single Markdown file with line numbers.

Usage

npx boltfetch -o my-complete-source.md

If -o (or --output) is not provided, it will print to stdout.

Installation

You can run directly with npx:

npx boltfetch

Or install globally:

npm install -g boltfetch
boltfetch -o output.md

Ignoring Files

boltfetch supports two ways to ignore files:

  • .gitignore - Respects your project's existing .gitignore patterns
  • .boltfetchignore - Additional patterns specific to boltfetch

The .boltfetchignore file works exactly like .gitignore and is useful when you want to ignore files that aren't in your .gitignore. For example:

# .boltfetchignore
*.test.js
docs/
temp/
*.md

Both files support standard gitignore patterns including:

  • Exact matches (file.txt)
  • Directories (dir/)
  • Wildcards (*.log)
  • Negation (!important.log)

License

MIT

FAQs

Package last updated on 12 Jan 2025

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