# benawad/destiny

Prettier for File Structures

Repository: https://github.com/benawad/destiny
Canonical: https://ross.abutalabs.com/products/destiny
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2023-01-05T07:15:48+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2393, "days_push": 1336, "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 3512, forks 79 (observed 2026-08-28T04:08:07.748759+00:00)

## What it is
A CLI tool that restructures JavaScript/TypeScript codebases into a fractal folder layout by analyzing the import graph, moving files, and rewriting imports. It also reports unused files and removes empty folders.

## Use cases
- restructure a messy javascript project into a fractal folder structure
- automatically fix imports after moving files
- find unused files in a codebase
- dry run a proposed file structure before applying it
- enforce consistent file organization across a typescript codebase

## When to choose
- you want to reorganize a JavaScript/TypeScript codebase's folder structure automatically
- you want imports rewritten after files are moved
- you want to detect unused files during restructuring

## When to avoid
- your codebase is not JavaScript or TypeScript
- you need a battle-tested tool - it is a work in progress with known bugs
- you rely on snapshot tests, which it does not format correctly

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: formatter, cli, parser, developer-tools
- domain: developer-tools, frontend, web-development, files
- platform: cli, cross-platform
- tags: file-structure, fractal-structure, code-organization, import-rewriting, javascript, typescript, nodejs

## Member repositories
- benawad/destiny (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:07.748759+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:35:42.183062+00:00, confidence not recorded.
  - readme: https://github.com/benawad/destiny (fetched 2026-08-28T04:08:07.748759+00:00, sha a292c2d26f03)
  - registry_npm: https://registry.npmjs.org/destiny (fetched 2026-08-29T09:29:46.501479+00:00, sha 2a5dd619142b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
