1.0.9 • Published 10 months ago

ekmanss-js-tools v1.0.9

Weekly downloads
-
License
MIT
Repository
-
Last release
10 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

10 months ago

1.0.8

10 months ago

1.0.7

10 months ago

1.0.6

10 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago