---
title: "Comment by Phillippe Santana on \"Better data validation with Guard Clauses\" | Hashnode"
description: "The newer and better version of the guard clauses is now available as an NPM package. Go get it at @phillcode/guard , install with npm i @phillcode/guard or ins"
url: "https://hashnode.com/posts/better-data-validation-with-guard-clauses/6220e50ce0d8973d4d458d95/comment/638bf09664b7288d8d8e4d2b"
---

[Discussion](https://hashnode.com/posts/better-data-validation-with-guard-clauses/6220e50ce0d8973d4d458d95)

Comment [Better data validation with Guard Clauses](https://hashnode.com/posts/better-data-validation-with-guard-clauses/6220e50ce0d8973d4d458d95)

[Phillippe Santana](https://hashnode.com/@phillippelevidad)

[Dec 4, 2022](https://hashnode.com/posts/better-data-validation-with-guard-clauses/6220e50ce0d8973d4d458d95/comment/638bf09664b7288d8d8e4d2b)

The newer and better version of the guard clauses is now available as an NPM package. Go get it at [@phillcode/guard](https://www.npmjs.com/package/@phillcode/guard), install with `npm i @phillcode/guard` or inspect the [source code](https://github.com/phillippelevidad/guardjs).
