UNPKG

extract-us-city

Version:

A library that extracts City, State and Zip information from text and provides a structured response.

52 lines (51 loc) 1.67 kB
{ "name": "extract-us-city", "version": "0.0.7", "description": "A library that extracts City, State and Zip information from text and provides a structured response.", "main": "dist/index.min.js", "homepage":"https://cleanshooter.github.io/extract-us-city/", "repository": { "type":"git", "url": "https://github.com/Cleanshooter/extract-us-city.git" }, "scripts": { "test": "eslint index.js && node test.js", "clean": "rm -r dist && mkdir dist", "compress": "terser index.js -o dist/index.min.js -c drop_console -m --source-map", "fe-build": "browserify index.js -t [ babelify --presets [ @babel/preset-env ] ] -t brfs --standalone extractUsCity | terser -c drop_console -m -o dist/extract-us-city.js", "copy-db": "cp ./city-db.json ./dist/city-db.json", "copy-to-page": "cp ./dist/extract-us-city.js ./docs/js/extract-us-city.js", "build": "npm run test && npm run clean && npm run compress && npm run copy-db && npm run fe-build && npm run copy-to-page" }, "keywords": [ "parse", "extract", "us", "city", "state", "zip", "location", "nlp", "natural language processing" ], "author": "Joe Motacek", "license": "ISC", "devDependencies": { "@babel/core": "^7.5.5", "@babel/preset-env": "^7.5.5", "babelify": "^10.0.0", "brfs": "^2.0.2", "browserify": "^16.5.0", "eslint": "^5.0.0", "eslint-config-airbnb": "^17.0.0", "eslint-plugin-import": "^2.11.0", "eslint-plugin-jsx-a11y": "^6.2.1", "eslint-plugin-react": "^7.12.4", "terser": "^4.2.0", "tinyify": "^2.5.1" }, "dependencies": {}, "files": [ "dist" ] }