pg3d-autocorrect
1.1.6 • Public • Published Usage
Default options
var pg3dautocorrect = require('pg3dautocorrect')()
autocorrect('extermator')
Custom dictionary path
var path = '/usr/share/dict/words'
var pg3dautocorrect = require('pg3dautocorrect')({dictionary: path})
autocorrect('extermator')
Custom words
var words = ['pixelgun', 'antichampionrifle', 'laserbow']
var pg3dautocorrect = require('pg3dautocorrect')({words: words})
autocorrect('larbow')
Options
words
- a list of words to use for matching
dictionary
- path to dictionary file
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 1.1.6
4
Version History
Package Sidebar
Install
Weekly Downloads