npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

colombia-ssi

v0.1.0

Published

Librería para el cálculo del Sistema de Seguridad Social Integral en Colombia (EPS, Pensión, ARL, CCF, Parafiscales)

Readme

Colombia SSI

Librería para el Sistema de Seguridad Social Integral de Colombia. Calcula aportes a EPS, Pensión, ARL, CCF y Parafiscales, e incluye el listado completo de entidades autorizadas.

Instalación

npm install colombia-ssi

Uso rápido

import { SSI, RiesgoARL, TipoCotizante } from "colombia-ssi";

const ssi = new SSI();

const result = ssi.calcularCompleto({
  salarioBase: 2_500_000,
  tipoCotizante: TipoCotizante.DEPENDIENTE,
  nivelRiesgo: RiesgoARL.II,
});

console.log(result.granTotal); // $963,600

API

SSI

Clase principal para cálculos de seguridad social.

const ssi = new SSI(salarioMinimo?: number); // default: $1.423.500 (2025)

ssi.calcularCompleto(datos: DatosLaborales): AportesCompletos

Entidades

La librería incluye listados completos de todas las entidades autorizadas:

import { EPS_LIST, AFP_LIST, ARL_LIST, CCF_LIST } from "colombia-ssi";

// EPS: 18 entidades (NIT, web, ciudad)
// AFP: 5 fondos de pensiones (públicas y privadas)
// ARL: 10 administradoras de riesgos laborales
// CCF: 43 cajas de compensación familiar

Cálculos individuales

import { calcularSalud, calcularPension, calcularARL, calcularCCF, calcularParafiscales } from "colombia-ssi";

Funciones incluidas

| Función | Descripción | |---------|-------------| | calcularSalud | Aporte a EPS (12.5%: 4% empleado + 8.5% empleador) | | calcularPension | Aporte pensional (16%: 4% empleado + 12% empleador) + Fondo de Solidaridad | | calcularARL | ARL por nivel de riesgo I-V (0.522% - 6.96%) | | calcularCCF | Caja de Compensación Familiar (4%) | | calcularParafiscales | SENA (2%) + ICBF (3%) | | calcularIBC | Ingreso Base de Cotización (tope 25 SMLV) |

Datos de entidades

  • EPS_LIST — 18 EPS con código, nombre, NIT, web y ciudad
  • AFP_LIST — 5 AFP (Colpensiones, Porvenir, Protección, Colfondos, Skandia)
  • ARL_LIST — 10 ARL con código, nombre, NIT y web
  • CCF_LIST — 43 CCF con código, nombre, NIT, web y departamento

License

MIT