# pasquale

> Checks for spelling errors in a given sentence

Latest version **0.0.7** (published 2014-08-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install pasquale
pnpm add pasquale
yarn add pasquale
bun add pasquale
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.7 |
| Published | 2014-08-02 |
| First published | 2014-06-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Ciro S. Costa |
| Maintainers | cirocosta |

## Links

- npm: https://www.npmjs.com/package/pasquale
- Repository: https://github.com/cirocosta/pasquale
- Issues: https://github.com/cirocosta/pasquale/issues
- npm.io page: https://npm.io/package/pasquale

## Dependencies (3)

- [q](https://npm.io/package/q.md) ^1.0.1
- [spellcheck](https://npm.io/package/spellcheck.md) 0.0.4
- [dictmanager](https://npm.io/package/dictmanager.md) 0.0.1

## Recent versions

- 0.0.7 (latest) — 2014-08-02
- 0.0.6 — 2014-08-02
- 0.0.5 — 2014-08-02
- 0.0.4 — 2014-07-10
- 0.0.3 — 2014-06-22
- 0.0.2 — 2014-06-18
- 0.0.1 — 2014-06-18
- 0.0.0 — 2014-06-18

## README

# pasquale [![Build Status](https://travis-ci.org/cirocosta/pasquale.svg?branch=master)](https://travis-ci.org/cirocosta/pasquale)

> Checks for spelling errors in a given sentence (UNDER HEAVY DEV.)

```sh
$ npm install --save pasquale   # for your project
$ npm install -g pasquale-cli   # cli version
```

Check out the [cli version](github.com/cirocosta/pasquale-cli).

## Usage

`pasquale` is intended to be used as a module for checking spelling errors. You must, then, provide dicts for this.

For downloading them: `$ PASQUALE_PATH/bin/downloader [lang-alias]`.

```javascript
pasquale = new Pasquale();
pasquale.setLanguage('en-ca');
pasquale.checkTextSpell('this is greatt').then(function (results) {
	console.log(results);
}, function (err) {
	console.error(err);
});

// [ { word: 'this', correct: true },
//   { word: 'is', correct: true },
//   { word: 'greatt',
//     correct: false,
//     suggestions: [ 'great', 'greats', 'great t', 'Gretta' ] } ]
```

## Languages

Using the default (`bower_components/Dictionaries`), the supported languages are:

|          name         |  key  |
|-----------------------|-------|
| Català                |       |
| Croatian              |       |
| Dansk                 |       |
| Deutsch               | de    |
| Deutsch (AT)          | de-at |
| Deutsch (CH)          | de-ch |
| Deutsch (DE)          | de-de |
| Czech                 | cs    |
| Ελληνικά              |       |
| English (Canadian)    | en-ca |
| English (British)     | en-gb |
| Español               | es    |
| Français              | fr    |
| Galego                |       |
| Italiano              |       |
| Lietuvių              |       |
| Magyar                |       |
| Nederlands            |       |
| Norwegian (Bokmål)    |       |
| Norwegian (Nynorsk)   |       |
| Română                |       |
| Polski                |       |
| Português (do Brasil) | pt-br |
| Português (Europeu)   | pt    |
| Русский               |       |
| Slovenian             |       |
| Slovensky             |       |
| Svenska               |       |
| Tiếng Việt            |       |
| Українська            |       |


#### LICENSE

**MIT LICENSE**

---
_Source: https://npm.io/package/pasquale · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
