
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
indian_address
Advanced tools
It gives list of states, districts on each state and pincode on each district
It gives list of states, districts on each state and pincode on each district.
You can install it using npm:
npm install indian_address
Note: for typescript you can use type as imported like states, districts, pininfo
Getting states list
const {states} = require("indian_address");
console.log(states)
// output: [ "Gujarat","Haryana", "Himachal Pradesh", "Jammu & Kashmir", ... ]
Getting districts list (for example up)
const {districts} = require("indian_address");
console.log(districts["uttar pradesh"])
// output: [ "Meerut", "Bagpat", "Ghaziabad", "Bulandshahr", "Aligarh" ... ]
Getting pincode list (for example up, lucknow)
const {pincodes} = require("indian_address");
// state and district separated by underscore ( _ )
// for example state: uttar pradesh and district: lucknow as written bellow
console.log(pincodes["uttar pradesh_lucknow"])
// output: [ "226002", "226003", "226016", "226018", "226026", ... ]
Getting pincode list (for example up, lucknow)
const {pininfo} = require("indian_address");
console.log(pininfo["110001"])
// output: { "state": "Delhi", "city": "Central Delhi" }
console.log(pininfo["110001"])
// output: { "state": "Delhi", "city": "Central Delhi" }
This library uses data from https://data.opendatasoft.com/explore/dataset/geonames-postal-code%40public/?sort=-latitude for pincode information.
If you have any questions or suggestions, please feel free to contact us.
Siddharth Sharma i@sidsharma.in
FAQs
It gives list of states, districts on each state and pincode on each district
We found that indian_address demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.