/bastard

Primary LanguageTypeScript

Bastard Validator 😈

Validation function to check if the given object is a Bastard😈!

In the file example.js an example is given

To run it: run npm run dev

import isBastard from './lib/index';

 isBastard({
    name: 'slatertibartvast',
    age: 42,
    favoriteBeer: { name: 'any' },
    codeLanguages: ['JavaScript'],
    available_for_work: true,
  }),

Tests

run npm run test

##Build

run npm run build

##TODO PUBLISH TO NPM

npm install ....