New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

globflow

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

globflow

Glob flow

latest
Source
npmnpm
Version
0.0.6
Version published
Maintainers
0
Created
Source

globflow

globflow is a tool for scanning files in a directory with glob patterns and processing the results.

Installation

You can install globflow using bun or npm.

Using bun

bun install globflow

Using npm

npm install globflow

Usage

globflow provides a command-line interface (CLI) to scan files using glob patterns.

Basic Usage

To scan files using a glob pattern:

$ npx globflow "./*.json" 
./tsconfig.json
./package.json

Using with bun

You can also use globflow directly with bun:

$ bunx globflow "./*.ts"
./cli.ts
./index.ts

Additional Options

  • --md: Read contents and combine into code-prompt style markdown.
  • -m, --message: Suffix message of output markdown. You can put a prompt message here for LLM.

Examples

Scan all .ts files:

bun cli.ts "./*.ts"

Scan all .json files:

bunx globflow "./*.json"

Development

Building the Project

To build the project, run:

bun run build

Running Tests

To run tests, execute:

bun run test

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Contributing

If you find any issues or have suggestions, feel free to open an issue or create a pull request on the GitHub repository.

Maintainers

FAQs

Package last updated on 15 Aug 2024

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