brand-validator

Module to validate any famous or certificated brand on your text

Usage no npm install needed!

<script type="module">
  import brandValidator from 'https://cdn.skypack.dev/brand-validator';
</script>

README

Brand Validator

Module to validate if your text have any registered or famous brand.

Example

const validator = require('brand-validator');

async function test() {
    try {
        var text = "Apple"; // Famous Brand (Apple)
        let brandFound = await validator.validateText(text);
        console.log(brandFound);
    } catch (error) {
        console.log(error);
    }
}

test(); // true