-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
48 lines (46 loc) · 1.64 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
'use strict';
const { isNumeric, isURL, grep } = require('./lib/general');
const { filterStopWords } = require('./lib/businessName');
const { getAbreviatedState, normalizeSuite, normalizeCompass, normalizeStreetType, parseAddress } = require('./lib/address');
const { normalizePhone } = require('./lib/phone');
const removeSomeCharacters = require('./lib/removeSomeCharacters');
const { legacyClientToClient } = require('./lib/legacyClientToClient');
const { getUserAgent, getReferer } = require('./lib/browserHelpers');
const { getAddressScore } = require('./lib/addressScore');
const { getPhoneScore } = require('./lib/phoneScore');
const { frontier, calculateBusinessScores, parseDirectoryBusinessesAddress, getBestResult } = require('./lib/frontier');
const { getHours, getHoursValidation } = require('./lib/hours');
const { validateClient, websiteRegex } = require('./lib/clientValidation');
exports = module.exports = {
normalize: require('./lib/normalize'),
verifyNapGp: require('./lib/verifynapgp'),
getDirectories: require('./lib/getdirectories'),
sorensen: require('./lib/sorensen'),
levenshtein: require('./lib/levenshtein'),
getProxy: require('./lib/getProxy'),
stringExtensions: require('./lib/stringExtensions'),
filterStopWords,
getAbreviatedState,
normalizePhone,
normalizeSuite,
normalizeCompass,
normalizeStreetType,
isNumeric,
isURL,
grep,
getUserAgent,
getReferer,
removeSomeCharacters,
legacyClientToClient,
getAddressScore,
getPhoneScore,
parseAddress,
frontier,
calculateBusinessScores,
parseDirectoryBusinessesAddress,
getBestResult,
getHours,
getHoursValidation,
validateClient,
websiteRegex
};