sindresorhus

stable-function

Ensure a function is stable, meaning the same input always produces the same output

by sindresorhus

JavaScript

JavaScript69.1%
TypeScript30.9%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
71
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template
sebastiansandqvist

The two functions and were nearly identical--good candidates for a refactor. The boolean for "value" in the function should be true if a value is desired for the output and false if a boolean is desired.

sebastiansandqvist · 11y ago
Structured data for AI agents

Repository: sindresorhus/stable-function. Description: Ensure a function is stable, meaning the same input always produces the same output Stars: 16, Forks: 6. Primary language: JavaScript. Languages: JavaScript (69.1%), TypeScript (30.9%). License: MIT. Latest release: v4.0.0 (2y ago). Open PRs: 0, open issues: 0. Last activity: 2y ago. Community health: 71%. Top contributors: sindresorhus, BendingBender, Richienb, sebastiansandqvist.