1.1.6 • Published 4 years ago

pg3d-autocorrect v1.1.6

Weekly downloads
4
License
ISC
Repository
-
Last release
4 years ago

Usage

Default options

var pg3dautocorrect = require('pg3dautocorrect')()
autocorrect('extermator') // exterminator

Custom dictionary path

var path = '/usr/share/dict/words'
var pg3dautocorrect = require('pg3dautocorrect')({dictionary: path})
autocorrect('extermator') // exterminator

Custom words

var words = ['pixelgun', 'antichampionrifle', 'laserbow']
var pg3dautocorrect = require('pg3dautocorrect')({words: words})
autocorrect('larbow') // laserbow

Options

  • words - a list of words to use for matching
  • dictionary - path to dictionary file
1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago