
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
recursive-lambda
Advanced tools
recursive-lambda is a wrapper around recursive code called within AWS Lambda. It solves the problem of running out of execution time. Should a lambda hit the time limit, it will invoke new lambda so it could carry on with its business.
import Promise from 'bluebird';
import { SimpleStatefulRecursiveService } from 'recursive-lambda';
class ExampleRecursiveService extends SimpleStatefulRecursiveService {
constructor(params, lambdaClient, context) {
super(params, lambdaClient, context);
this.initState({executionCount: 0});
}
/*
Specify logic that will be called recursively until termination logic is met.
Ex: load DynamoDB records in batches, publish over SNS and repeat until done.
*/
action(params = {}) {
return this.exampleEnigmaticRecursiveFunction(params);
}
/*
Specify when you want recursion to stop.
If you don't overwrite parent implementation,
your recursive function will be called exactly once
*/
get executionInvariant() {
return this.state.executionCount < 4;
}
/*
Specify execution threshold in milliseconds
*/
get executionThreshold() {
return 200000;
}
exampleEnigmaticRecursiveFunction(params = {}) {
return new Promise((resolve, reject) => {
const executionCount = this.state.executionCount + 1;
this.updateState({executionCount, result: 'accumulated dummy result'});
resolve();
});
}
}
Contributions are always welcome!
Developed by [microapps] (http://microapps.com/?utm_source=recursive-lambda-repo-readme&utm_medium=click&utm_campaign=github) Used in our live products: [MoonMail] (https://moonmail.io/?utm_source=recursive-lambda-repo-readme&utm_medium=click&utm_campaign=github) & [MONEI] (https://monei.net/?utm_source=recursive-lambda-repo-readme&utm_medium=click&utm_campaign=github)
recursive-lambda is available under the MIT license. See the LICENSE file for more info.
FAQs
allows to create recursive AWS lambda services
The npm package recursive-lambda receives a total of 0 weekly downloads. As such, recursive-lambda popularity was classified as not popular.
We found that recursive-lambda demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.