0.0.2 • Published 3 months ago

typo-detector v0.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
3 months ago

Typo Checker Library

A simple npm library that provides a default function for checking typos in strings.

Usage

const checkTypo = require('typo-detector');

// Check for typos in a string
const inputString = 'sp,e text wotj tu[ps';
const string2 = "some text with typos";
const hasTypos = checkTypo(inputString, string2);

if (hasTypos) {
  console.log('Typos found!');
} else {
  console.log('No typos found.');
}

License

This project is licensed under the MIT License - see the LICENSE file for details.

0.0.2

3 months ago

0.0.1

3 months ago