Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/batterii/yeoman-validators
Validators for Batterii Yeoman generators
https://github.com/batterii/yeoman-validators
Last synced: 9 days ago
JSON representation
Validators for Batterii Yeoman generators
- Host: GitHub
- URL: https://github.com/batterii/yeoman-validators
- Owner: Batterii
- Created: 2019-06-12T21:28:59.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-01T14:03:48.000Z (over 1 year ago)
- Last Synced: 2024-08-08T17:19:17.895Z (3 months ago)
- Language: JavaScript
- Size: 946 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# @batterii/yeoman-validators
A library of validator functions to use for [Yeoman](https://yeoman.io/)
generator prompts. Each returns either `true` or an error message string, as
specified by [Inquirer.js](https://github.com/SBoudrias/Inquirer.js), the CLI
library Yeoman uses to display its prompts.Generally, validation logic for generators should live in the generators
themselves, but in some cases similar options must be provided to more than one
generator. To avoid duplicating the logic, place any such validators in here.To see a list of validators, check out the [API docs](./docs.md).