
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
The Ackermann function. Only for theoretical interest in non primitive recursion. Otherwise completely useless and will kill your program. For more background check out this Computerphile episode with Professor Brailsford.
const A = require('ackermann')
console.log(A(3, 4)) // -> 125
For larger values of m
or n
you will run into RangeError: Maximum call stack size exceeded
so you need to tell v8
to use a larger stack size. This is done by setting the --stack_size
v8 argument, which is specified in kB
.
node --stack_size=100000 program.js
MIT
FAQs
The Ackermann function A(m,n)
The npm package ackermann receives a total of 0 weekly downloads. As such, ackermann popularity was classified as not popular.
We found that ackermann 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.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.