pg3d-autocorrect
v1.1.6
Published
Pixel Gun 3d Encyclopedia package helper(autocorrect)
Downloads
38
Maintainers
Readme
Usage
Default options
var pg3dautocorrect = require('pg3dautocorrect')()
autocorrect('extermator') // exterminatorCustom dictionary path
var path = '/usr/share/dict/words'
var pg3dautocorrect = require('pg3dautocorrect')({dictionary: path})
autocorrect('extermator') // exterminatorCustom words
var words = ['pixelgun', 'antichampionrifle', 'laserbow']
var pg3dautocorrect = require('pg3dautocorrect')({words: words})
autocorrect('larbow') // laserbowOptions
words- a list of words to use for matchingdictionary- path to dictionary file
