open-index/open-npm huggingface dataset:
npm package: @gabrielizaias/validation
Description: A custom set of validation functions
Author: Gabriel Izaias
Latest version: 0.1.1

# @gabrielizaias/validation

This is a set of validation functions that I often find myself using on projects.

## Validations

### Email

Validates an email according to [RFC5322](https://tools.ietf.org/html/rfc5322#section-3.4) (or as close as possible).

```js
import { email } from "@gabrielizaias/validation/email.js";

if (email('test@example.com')) {
	console.log('valid')
}
```
npm package: @gabrieljoelc/rappy-log
Description: Wraps console log methods so you can set the current log level to only log what you want in the current environment.
Author: Gabriel Chaney
Latest version: 2.0.2

# Rappy Log

Wraps console log methods so you can set the current log level to only log what you want in the current environment. This is useful for debugging in something like React Native.

# Getting started

Add it to your app:
```
npm install rappy-log
```

Usage:
```javascript
import { getCurrentLogLevel, setLogLevel } from 'rappy-log';

const levels = [
  'none',
  'error',
  'info',
  'debug',
  'trace',
];

for (let logCount = 0; logCount < levels.length; logCount++) {
  let msg = `should log ${logCount} time${logCount > 1 ? 's' : ''}`;
  setLogLevel(levels[logCount]);
  console.log('current level:', getCurrentLogLevel());
  console.error(msg);
  console.info(msg);
  console.debug(msg);
  console.trace(msg);
}
```
Outputs:
```
current level: none
current level: error
ERROR - should log 1 time
current level: info
INFO - should log 2 times
INFO - should log 2 times
current level: debug
DEBUG - should log 3 times
DEBUG - should log 3 times
DEBUG - should log 3 times
current level: trace
TRACE - should log 4 times
TRACE - should log 4 times
TRACE - should log 4 times
TRACE - should log 4 times
```

## Environment variable

You can also set the log level with an environment variable (see (12-factor)[https://12factor.net/config] for more information).

If you had this app:
```js
# app.js
import { setLogLevel } from 'rappy-log';

setLogLevel(); // if no level parameter is passed, tries to get level from environment

// dope freestyling starts to drop
console.error('And money on the wood');
console.debug('We made a promise and it\'s understood');
```

Now start the app:
```zsh
LOG_LEVEL=error node app.js
> And money on the wood
```
npm package: @gabrielmaialva33/schematics
Description: Nest - modern, fast, powerful node.js web framework (@schematics)
Latest version: 1.1.5

<p align="center">
  <a href="http://nestjs.com/" target="blank"><img src="https://nestjs.com/img/logo-small.svg" width="120" alt="Nest Logo" /></a>
</p>

  <p align="center">A progressive <a href="http://nodejs.org" target="blank">Node.js</a> framework for building efficient and scalable server-side applications.</p>
    <p align="center">
<a href="https://www.npmjs.com/~nestjscore"><img src="https://img.shields.io/npm/v/@gabrielmaialva33/schematics.svg" alt="NPM Version" /></a>
<a href="https://www.npmjs.com/~nestjscore"><img src="https://img.shields.io/npm/l/@gabrielmaialva33/schematics.svg" alt="Package License" /></a>
<a href="https://www.npmjs.com/~nestjscore"><img src="https://img.shields.io/npm/dm/@gabrielmaialva33/schematics.svg" alt="NPM Downloads" /></a>
  <a href="https://coveralls.io/github/nestjs/nest?branch=master" target="_blank"><img src="https://coveralls.io/repos/github/nestjs/nest/badge.svg?branch=master#9" alt="Coverage" /></a>
<a href="https://discord.gg/G7Qnnhy" target="_blank"><img src="https://img.shields.io/badge/discord-online-brightgreen.svg" alt="Discord"/></a>
<a href="https://opencollective.com/nest#backer" target="_blank"><img src="https://opencollective.com/nest/backers/badge.svg" alt="Backers on Open Collective" /></a>
<a href="https://opencollective.com/nest#sponsor" target="_blank"><img src="https://opencollective.com/nest/sponsors/badge.svg" alt="Sponsors on Open Collective" /></a>
  <a href="https://paypal.me/kamilmysliwiec" target="_blank"><img src="https://img.shields.io/badge/Donate-PayPal-ff3f59.svg"/></a>
  <a href="https://twitter.com/nestframework" target="_blank"><img src="https://img.shields.io/twitter/follow/nestframework.svg?style=social&label=Follow"></a>

## Description

The Nest CLI is a command-line interface tool that helps you to initialize, develop, and maintain your Nest applications. It assists in multiple ways, including scaffolding the project, serving it in development mode, and building and bundling the application for production distribution. It embodies best-practice architectural patterns to encourage well-structured apps. Read more [here](https://docs.nestjs.com/cli/overview).

## Installation

```bash
$ npm install -g @gabrielmaialva33/schematics
```

## Usage

Learn more in the [official documentation](https://docs.nestjs.com/).

## Stay in touch

- Website - [https://nestjs.com](https://nestjs.com/)
- Twitter - [@nestframework](https://twitter.com/nestframework)

## License

Nest is [MIT licensed](LICENSE).