Package Exports
- cities-auto-correct
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (cities-auto-correct) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Cities Auto Correct
Auto Correct City names (AutoCorrects Top Indian Cities, for Now), Give a incorrect city name and get the most relevant city name.
Install NPM Package:
npm i cities-auto-correct
var autoCorrect = require('Cities-AutoCorrect');
console.log(autoCorrect('Chenai')); // chennai
console.log(autoCorrect('deli')); // delhi