GitShow/sindresorhus/stable-function
sindresorhus

stable-function

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

by sindresorhus
Star on GitHubForknpm

JavaScript

16 stars6 forks4 contributorsQuiet · 2y agoSince 2015v4.0.0MIT

Meet the team

See all 4 on GitHub →
sindresorhus
sindresorhus11 contributions
BendingBender
BendingBender1 contribution
Richienb
Richienb1 contribution
sebastiansandqvist
sebastiansandqvist1 contribution

Languages

View on GitHub →
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

Recent fixes

View closed PRs →
Richienb
Move to GitHub ActionsMergedPR
Richienb · 5y ago
BendingBender
Require Node.js 8, add TypeScript definitionMergedPR
BendingBender · 7y ago
sebastiansandqvist
Refactor into generic functionMergedPR

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.

·@ofershap

Replace github.com with gitshow.dev