1.0.15 • Published 4 years ago

bluechip-utils v1.0.15

Weekly downloads
136
License
ISC
Repository
github
Last release
4 years ago

Bluechip Utility Package

The Why

Just a simple utility package for Javascript/TypeScript projects Hope it helps with:

  • Validation
  • Simple "me-defined" custom Exceptions

How to use

Install the package

npm install bluechip-utils

Import the set you need to use

import * as BluechipUtils from 'bluechip-utils'

or

import {BluechipValidators} from 'bluechip-utils'

or

import {validateRequiredProperty} from 'bluechip-utils'

Go head and use

try{
    validateRequiredProperty("name of key", itemTocheck);
}catch(error){
    //Handle case for exception
}

or

try{
    BluechipValidators.validateRequiredProperty("name of key", itemTocheck);
}catch(error){
    //Handle case for exception
}
1.0.15

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.11

4 years ago

1.0.12

4 years ago

1.0.10

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago