1.0.0 • Published 5 years ago
stack-size v1.0.0
stack-size
Get Maximum Call Stack Size
Highlights
Super Fast
Written in Typescript
Async and Sync methods
Returns Promise
Usage
Get Maximum Call Stack Size that causes stack overflow
// async
const { stackSize } = require('stack-size');
stackSize();
.then((result) => {
console.log(result); //15339
});
// sync
const { stackSizeSync } = require('stack-size');
let result = stackSizeSync();
console.log(result) // 15339
License
MIT © Nivrith Mandayam Gomatam
1.0.0
5 years ago