0.0.2 • Published 1 year ago

typo-detector v0.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year 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

1 year ago

0.0.1

1 year ago