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

validate-currency-code

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

validate-currency-code - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

index.d.ts

7

package.json
{
"name": "validate-currency-code",
"version": "0.1.0",
"version": "0.1.1",
"description": "Very simple lib to check if something is a iso 4217 currency code",

@@ -23,4 +23,5 @@ "keywords": [

"devDependencies": {
"chai": "^3.5.0",
"eslint": "^2.8.0"
"chai": "^4.2.0",
"eslint": "^7.7.0",
"mocha": "^8.1.1"
},

@@ -27,0 +28,0 @@ "main": "index",

@@ -8,4 +8,4 @@ # validate-currency-code

if (validateCurrencyCode('EUR')) {
// code here
// code that should run when the currencycode is valid
}
```

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