# JS Error Finder

JS Error Finder is a lightweight npm package that detects syntax errors in JavaScript files and provides detailed error messages, including line and column numbers.

## Features
- Validate entire `.js` files for syntax errors.
- Provides error messages with line and column numbers.
- Command-line interface (CLI) support for easy usage.

## Installation
```bash
npm install -g js-error-finder

Usage
Command Line
Run the CLI with the file path as an argument:
js-error-finder path/to/file.js

Programmatic
Use it in your Node.js scripts:
javascript
Copy code

const findJsErrors = require('js-error-finder');
const result = findJsErrors('path/to/file.js');
console.log(result);

Example Output
Errors found:
- Unexpected string
  Error at line 3, column 27.


This `README.md` gives a concise overview of how to install and use the package, along with an example of its output.
