# parinfer/parinfer.js

Let's simplify the way we write Lisp

Repository: https://github.com/parinfer/parinfer.js
Canonical: https://ross.abutalabs.com/products/parinferjs
Homepage: https://shaunlebron.github.io/parinfer
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2026-08-08T18:19:04+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 8, longevity 100
- inputs: {"age_days": 3998, "days_push": 25, "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 1804, forks 42 (observed 2026-08-28T04:05:38.911380+00:00)

## What it is
Parinfer.js is a JavaScript library implementing the Parinfer system, which auto-adjusts parentheses in Lisp code as indentation changes and vice versa. It exposes pure functions (indentMode, parenMode, smartMode) that transform Lisp text, designed for integration into editors and REPLs.

## Use cases
- auto-balance parens in Lisp code when indentation changes
- integrate Parinfer into a custom editor or REPL
- programmatically fix unbalanced parentheses in Clojure or Scheme text
- build an editor plugin for simpler Lisp editing
- format Lisp code by inferring parens from indentation

## When to choose
- you are building an editor plugin or tool that edits Lisp-family code
- you want pure-function text transformation of Lisp source without editor dependencies
- you want to lower the paren-management learning curve for Lisp newcomers

## When to avoid
- you need advanced structural editing operations like full Paredit (slurp/barf hotkeys) - use Paredit instead
- your project is not a Lisp-family language
- you need a ready-made editor plugin rather than a library to integrate

## Facets
- artifact type: library
- maturity: active
- function: parser, editor, developer-tools
- domain: programming-languages, text-editors, developer-tools
- platform: cross-platform
- tags: lisp, paredit, paren-balancing, indentation, editor-integration, nodejs, javascript

## Member repositories
- parinfer/parinfer.js (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:38.911380+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-30T03:21:49.791069+00:00, confidence not recorded.
  - readme: https://github.com/parinfer/parinfer.js (fetched 2026-08-28T04:05:38.911380+00:00, sha e84b8bf38141)
  - homepage: https://shaunlebron.github.io/parinfer (fetched 2026-08-29T11:00:52.025542+00:00, sha b975648d84bb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
