Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
oleersoy committed Mar 5, 2020
1 parent 4aa23af commit 7c8b1bd
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 5 deletions.
40 changes: 36 additions & 4 deletions projects/validatorts/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,42 @@
# ValidatorTS
[![Build Status](https://travis-ci.org/fireflysemantics/validatorts.svg?branch=master)](https://travis-ci.org/fireflysemantics/validatorts)

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

## Build
```
npm i -S @fireflysemantics/validatorts
```

Run `ng build validatorjs` to build the project. The build artifacts will be stored in the `dist/` directory.
# Use

```
const isPortNumber:boolean = isPort('4200')
console.log(isPortNumber)
```

# ValidatorTS Workspace

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


## Build ValidatorTS

Run `ng build validatorts`

## Running unit tests

Run the Jest Tests for ValidatorTS

`npm t`

## Browse Typedoc

[Typedoc](https://fireflysemantics.github.io/validatorts/doc/)

## Generate Typedoc

`npm run doc-validatorts

Typedoc will be contained in the `doc` folder of the root directory.

## Publishing

Expand Down
2 changes: 1 addition & 1 deletion projects/validatorts/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@fireflysemantics/validatorts",
"description": "String validation and sanitization",
"version": "12.2.13",
"version": "12.2.14",
"homepage": "https://github.com/fireflysemantics/validatorts",
"scripts": {
"test": "jest",
Expand Down

0 comments on commit 7c8b1bd

Please sign in to comment.