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

calculate-autonomo-irpf

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

calculate-autonomo-irpf - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

10

lib/calculate.js

@@ -27,7 +27,11 @@ const sections = require("./sections")

const yearly = amount - totalIrpf
const monthly = yearly / 12
return {
net: {
yearly: numberParse(yearly),
monthly: numberParse(yearly / 12)
yearly: yearly,
monthly: monthly,
formatted: {
yearly: numberParse(yearly),
monthly: numberParse(monthly)
}
},

@@ -34,0 +38,0 @@ totalIrpf,

{
"name": "calculate-autonomo-irpf",
"version": "1.0.2",
"version": "1.0.3",
"main": "lib/calculate.js",
"license": "MIT",
"dependencies": {}
"author": {
"email": "juliosansossio@gmail.com",
"name": "Julio Sansossio",
"url": "https://github.com/Sansossio"
}
}

@@ -16,4 +16,8 @@ # Calculate Spain Autonomo IRPF 2021

"net": {
"yearly": "€24,234.50",
"monthly": "€2,019.54"
"yearly": 24234.50,
"monthly": 2019.54,
"formatted": {
"yearly": "€24,234.50",
"monthly": "€2,019.54"
}
},

@@ -20,0 +24,0 @@ "totalIrpf": 7765.5,

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