1.0.9 • Published 9 months ago

ekmanss-js-tools v1.0.9

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

ekmanss-js-tools

CI/CD

A collection of JavaScript tools including repo context generator.

... (其余内容保持不变)

ekmanss-js-tools

A collection of JavaScript tools including repo context generator.

Installation

npm install ekmanss-js-tools

Usage

const { repoContextGenerator } = require('ekmanss-js-tools');

const options = {
  repoPath: '/path/to/your/repo',
  outputFile: 'output.txt', // Optional: if not provided, the function will return the content as a string
  additionalIgnorePatterns: ['.vscode', 'dist'], // Optional
  defaultIgnorePatterns: ['.git', 'node_modules', 'README.md'] // Optional, these are the default values
};

const repoContext = repoContextGenerator(options);

// If outputFile is not provided, you can use the returned string
console.log(repoContext);
1.0.9

9 months ago

1.0.8

9 months ago

1.0.7

9 months ago

1.0.6

9 months ago

1.0.4

9 months ago

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago