home/categories/backend/epicenterhq-epicenter-skills-single-or-array-pattern-skill-md
backenddevelopment

single-or-array-pattern

Pattern for functions that accept either a single item or an array. Use when creating CRUD operations, batch processing APIs, or factory functions that should flexibly handle one or many inputs.

EpicenterHQ
maintainer
EpicenterHQ
अपडेट किया गया 20/1/2026
स्टार
3931
फोर्क
261
quick start

Installation and usage

Pattern for functions that accept either a single item or an array. Use when creating CRUD operations, batch processing APIs, or factory functions that should flexibly handle one or many inputs.

इंस्टॉलेशन
$ install --globalskills.sh
उपयोग

इंस्टॉल करने के बाद, आप टर्मिनल में यह कमांड चलाकर इस स्किल का उपयोग कर सकते हैं:

skills use single-or-array-pattern