open-index/open-npm huggingface dataset:
npm package: @plavc/health-checker
Description: Http Service Health Checker.
Author: Gregor Plavčak
Latest version: 1.0.3

# health-checker
HTTP Service Health Checker.

Simple health checker tool. Based on provided Yaml file health-checker executes all requests and exits with 0 if all request succeded or 1 if there was an error. 

### Installation (globally)

`npm i @plavc/health-checker -g`

### How to run

`pl-health-checker services.yaml`

### Example of input YAML file:

```
# services.yaml

config:
  timeout: 4000

vars:
  host: http://dummy.restapiexample.com/api/v1

services:

  employee:
    url: ${host}/employee/24863
    successCode: 200
    timeout: 2000
    method: GET
    
  employees:
    url: ${host}/employees
    
```

### Create Windows executable file:

`pkg --output health-checker.exe --targets=node10-win-x64 dist/index.js`
npm package: @plavc/ngx-api-validator
Description: This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 7.2.0.
Author: Gregor Plavčak
Latest version: 1.0.0

# NgxApiValidator

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 7.2.0.

## Code scaffolding

Run `ng generate component component-name --project ngx-api-validator` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project ngx-api-validator`.
> Note: Don't forget to add `--project ngx-api-validator` or else it will be added to the default project in your `angular.json` file. 

## Build

Run `ng build ngx-api-validator` to build the project. The build artifacts will be stored in the `dist/` directory.

## Publishing

After building your library with `ng build ngx-api-validator`, go to the dist folder `cd dist/ngx-api-validator` and run `npm publish`.

## Running unit tests

Run `ng test ngx-api-validator` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
npm package: @plavc/ts-api-validator
Description: Generate JSON schema from Typescript interfaces and validate JSON against schema.
Author: Gregor Plavčak
Latest version: 1.0.4

# ts-api-validator

Generate JSON schema from Typescript interfaces and validate JSON against schema.

## Schema generation

`node dist/cli.js generate -o 'example/schemas' -t 'example/**/*.model.ts'`

## Schema validation

`node dist/cli.js validate example/schemas/iuser.schema.json example/user.json`