@lemoncode/fonk-validator-builder v1.2.5
fonk-validator-builder
Helper library to create validators supported by fonk library.
How to use it
- Install library as globally or use npx:
npm install @lemoncode/fonk-validator-builder -gCreate validator repository in https://github.com/Lemoncode. A good repository name will be fonk-validator-name-validator. For example,
fonk-is-number-validator.Add repository to circleci:

- Execute command in
emptyfolder project. It will create validator folders and files:
fonk-validatorNOTE: It will prompt a question requiring the
validator name
- Install dependencies:
npm installSearch
// TODO:to get pending files to update and implement it:Add PR with implementation.
Publishing library:
npm run deploy // Select library version 1.0.0Description
- Install as globally this library to create fonk validators.
- Run
fonk-validatorcommand. - Insert
validator name. It automatically addsfonk-prefix and-validatorsuffix. For example:is-number->fonk-is-number-validator. - It will copy all necessary files in your project using the
validator name. - Now you can search
// TODO:to implement necessary code. - Publish new
fonk validatorwithnpm run deploy.
About Basefactor + Lemoncode
We are an innovating team of Javascript experts, passionate about turning your ideas into robust products.
Basefactor, consultancy by Lemoncode provides consultancy and coaching services.
Lemoncode provides training services.
For the LATAM/Spanish audience we are running an Online Front End Master degree, more info: http://lemoncode.net/master-frontend