@omnicar/sam-zip-city
Advanced tools
Comparing version 0.0.12 to 1.0.1
{ | ||
"name": "@omnicar/sam-zip-city", | ||
"description": "A simple tool for looking up city names based on zipcode inputs.", | ||
"version": "0.0.12", | ||
"version": "1.0.1", | ||
"main": "dist/index.js", | ||
@@ -13,9 +13,19 @@ "typings": "dist/index.d.ts", | ||
"license": "MIT", | ||
"scripts": { | ||
"cleanup": "rm -rf dist/", | ||
"tsc": "node node_modules/typescript/bin/tsc -p ./tsconfig.json", | ||
"tscw": "node node_modules/typescript/bin/tsc -p ./tsconfig.json -w", | ||
"tsc-once": "yarn cleanup && yarn tsc", | ||
"test": "jest", | ||
"test-watch": "jest --watchAll", | ||
"test-debug": "node --inspect node_modules/.bin/jest --watchAll" | ||
}, | ||
"dependencies": { | ||
"@types/node-fetch": "^2.6.4", | ||
"node-fetch": "^2.6.11", | ||
"tslib": "^1.9.3", | ||
"@types/node-fetch": "^2.6.4" | ||
"yarn": "^1.22.22" | ||
}, | ||
"devDependencies": { | ||
"@omnicar/sam-types": "0.0.641", | ||
"@omnicar/sam-types": "0.0.722", | ||
"@types/jest": "24.0.11", | ||
@@ -44,12 +54,3 @@ "@types/node": "^11.13.0", | ||
] | ||
}, | ||
"scripts": { | ||
"cleanup": "rm -rf dist/", | ||
"tsc": "node node_modules/typescript/bin/tsc -p ./tsconfig.json", | ||
"tscw": "node node_modules/typescript/bin/tsc -p ./tsconfig.json -w", | ||
"tsc-once": "yarn cleanup && yarn tsc", | ||
"test": "jest", | ||
"test-watch": "jest --watchAll", | ||
"test-debug": "node --inspect node_modules/.bin/jest --watchAll" | ||
} | ||
} |
@@ -8,9 +8,18 @@ # SAM zip-city | ||
_But all the zipcode files are inside the repo?_ | ||
The zip-code are fetched from admin.omnicar.io/data/zip-codes/ | ||
## How to install | ||
`npm install @omnicar/sam-zip-city` or `yarn add @omnicar/sam-zip-city` | ||
## FAQ ## | ||
Question: | ||
> _But are all the zip code files inside the imported package?_ | ||
> | ||
Answer: No, only the file(s) with the postal codes (zip codes) of the requested country are retrieved dynamically at run time. | ||
Question: | ||
> _From where are the file(s) with the postal codes (zip codes) fetched from?_ | ||
> | ||
Answer: The postal codes are fetched from admin `dot` omnicar `dot` io `slash` data `slash` zip-codes `slash` | ||
--- | ||
## How to use | ||
@@ -17,0 +26,0 @@ ``` |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
10763
1
46
4
+ Addedyarn@^1.22.22
+ Addedyarn@1.22.22(transitive)