@jetvil/types
Type validation for ES6+ and Typescript projects.
Features
- Easy to use: Easy to install in your project.
- ES6+ && TS: TypeScript and ES6+ support(JS).
- No dependencies: You don't depend on anything else.
- Free: It's free and always will be, the beauty of open source.
Getting Started
Installation
To use this package, install using npm, yarn or pnpm:
# npm
npm install @jetvil/types
# yarn
yarn add @jetvil/types
# pnpm
pnpm install @jetvil/types
Usage
import { isTruthy } from "@jetvil/types";
isTruthy(""); // false
isTruthy(0); // false
Documentation
For more information, see the documentation.