🚨 Active Supply Chain Attack:node-ipc Package Compromised.Learn More
Socket
Book a DemoSign in
Socket

@lemoncode/fonk-validator-builder

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lemoncode/fonk-validator-builder

Helper library to create validators supported by fonk library.

latest
Source
npmnpm
Version
1.2.5
Version published
Maintainers
1
Created
Source

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 -g
  • Create 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:

add-project-to-circleci

  • Execute command in empty folder project. It will create validator folders and files:
fonk-validator

NOTE: It will prompt a question requiring the validator name

  • Install dependencies:
npm install
  • Search // TODO: to get pending files to update and implement it:

  • Add PR with implementation.

  • Publishing library:

npm run deploy // Select library version 1.0.0

Description

  • Install as globally this library to create fonk validators.
  • Run fonk-validator command.
  • Insert validator name. It automatically adds fonk- prefix and -validator suffix. 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 validator with npm 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

Keywords

fonk validator builder

FAQs

Package last updated on 07 Nov 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts