Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@omnicar/sam-zip-city

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@omnicar/sam-zip-city - npm Package Compare versions

Comparing version 0.0.12 to 1.0.1

25

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc