# ankurp/Dollar

A functional tool-belt for Swift Language similar to Lo-Dash or Underscore.js in Javascript

Repository: https://github.com/ankurp/Dollar
Canonical: https://ross.abutalabs.com/products/dollar
Homepage: https://www.dollarswift.org
Language: Swift
License: MIT
License Family: permissive
Topics: swift, dollar, xcode, swift-language, callback-returns
Last push: 2024-02-29T03:59:14+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4474, "days_push": 916, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4238, forks 362 (observed 2026-08-28T04:08:39.589541+00:00)

## What it is
Dollar is a Swift utility library providing functional programming helpers for arrays, dictionaries, and functions, inspired by Lo-Dash and Underscore.js. It offers methods like map, filter, find, curry, and memoize without extending built-in Swift types.

## Use cases
- use lodash-style helpers in swift
- functional programming utilities for swift arrays and dictionaries
- curry and memoize functions in swift
- manipulate collections without extending built-in types
- underscore.js equivalent for ios development

## When to choose
- you want underscore/lodash-style collection and function helpers in a Swift project
- you prefer utilities that avoid extending built-in Swift types
- you need a lightweight, MIT-licensed utility library installable via CocoaPods or Swift Package Manager

## When to avoid
- you only target modern Swift, where the standard library's map, filter, and reduce cover most needs
- you want actively evolving features; the project sees only occasional maintenance releases
- you prefer extension-based APIs like the companion Cent library

## Facets
- artifact type: library
- maturity: maintenance
- function: developer-tools
- domain: developer-tools, programming-languages, cross-platform
- platform: -
- tags: functional-programming, utility-library, lodash-equivalent, arrays, dictionaries, swift-package-manager, cocoapods, swift, ios, macos, linux

## Member repositories
- ankurp/Dollar (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:39.589541+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:22:16.755751+00:00, confidence not recorded.
  - readme: https://github.com/ankurp/Dollar (fetched 2026-08-28T04:08:39.589541+00:00, sha 0b672559f504)
  - homepage: https://www.dollarswift.org (fetched 2026-08-29T09:12:09.714272+00:00, sha 2e986bd21bbb)
  - site_page: http://www.dollarswift.org (fetched 2026-08-29T09:12:09.724355+00:00, sha 2e986bd21bbb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
