typo-detector
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i typo-detector

Weekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

6.26 kB

Total Files

9

Last publish

Collaborators

  • itsmeheinrich