1.1.6 • Published 5 years ago

pg3d-autocorrect v1.1.6

Weekly downloads
4
License
ISC
Repository
-
Last release
5 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

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago