Research
Security News
Malicious PyPI Package ‘pycord-self’ Targets Discord Developers with Token Theft and Backdoor Exploit
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
is-aus-postcode
Advanced tools
Validate an Australian postcode.
yarn add is-aus-postcode
npm i is-aus-postcode
var isAusPostcode = require('is-aus-postcode').default
isAusPostcode("2300") // true
isAusPostcode("0100") // false
isAusPostcode("0230") // true
State | Codes |
---|---|
New South Wales | 1000–2599, 2620–2899, 2921–2999 |
Victoria | 3000–3999, 8000–8999 |
Queensland | 4000–4999, 9000–9999 |
South Australia | 5000–5999 |
Western Australia | 6000–6999 |
Tasmania | 7000–7999 |
Australian Capital Territory | 0200–0299, 2600–2619, 2900–2920 |
Northern Territory | 0800–0999 |
Reference taken from the Australia Post - Standard Postcode File (PC001).
FAQs
Validate an Australian postcode
We found that is-aus-postcode demonstrated a not healthy version release cadence and project activity because the last version was released 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
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.