@code-coaching/generate
v1.0.5
Published
This package provides functions to generate .gitignore content. It can be used as a dependency for other packages. It can be used as a CLI tool.
Downloads
3
Readme
Code Coaching - Generate
This package provides functions to generate .gitignore content. It can be used as a dependency for other packages. It can be used as a CLI tool.
Prerequisites
Usage
As a CLI tool
Using npx
to print out all possible options:
npx @code-coaching/generate --help
Inside of a project
npm install @code-coaching/generate
Examples
import { gitIgnore } from "../dist/index.js";
// This will be: import { randomID } from "@code-coaching/random"; inside of a project.
console.log(gitIgnore("unity")); // This will generate a .gitignore file with the contents of a Unity .gitignore file.