@hasna/paths — DELETED
This package is deleted (2026-09-03). Do not install it, and remove it from
any package.json that still lists it.
What happened
The @hasna/paths package (the package-owned XDG/macOS path resolver for
Hasna apps) was removed entirely from the public tree per the owner directive
(hasna/apps#1535). The hasna/apps monorepo no longer contains apps/paths, and
every in-repo consumer was migrated to an in-package local implementation
of the resolver contract (dataDir / stateDir / configDir / cacheDir;
XDG + macOS home layout honoring HASNA_CONFIG_HOME / HASNA_DATA_HOME /
HASNA_STATE_HOME / HASNA_CACHE_HOME overrides) — resolution semantics are
unchanged.
Replacement
There is no replacement package. Consumers must implement the handful of home-directory resolution helpers locally (or import them from whichever Hasna app they integrate with). The former behavior:
dataDir({ app })→~/.local/share/hasna/<app>(macOS:~/Library/Application Support/Hasna/<app>), overrideHASNA_DATA_HOMEstateDir({ app })→~/.local/state/hasna/<app>(macOS:~/Library/Logs/Hasna/<app>), overrideHASNA_STATE_HOMEconfigDir({ app })→~/.config/hasna/<app>(macOS:~/Library/Application Support/Hasna/<app>), overrideHASNA_CONFIG_HOMEcacheDir({ app })→~/.cache/hasna/<app>(macOS:~/Library/Caches/Hasna/<app>), overrideHASNA_CACHE_HOME
An empty env override is treated as unset; an app slug must be lowercase kebab-case.
Delete steps for the owner (hasna)
This placeholder version exists so the npm page documents the deletion. To fully remove the package from the registry:
npm unpublish @hasna/paths --force(self-service) — only possible while the package meets npm's unpublish policy (zero public dependents, <300 downloads/week, single owner). The currentNPM_HASNA_PRODgranular token cannot perform DELETE (E403 — Granular access tokens that bypass two-factor authentication may not perform this action); a 2FA-compliant token is required.- Otherwise file a request at https://support.npmjs.com (category
Unpublish request) for
@hasna/paths:- owner:
andreihasna2 - versions: all (0.1.0, 0.2.0, 0.2.1, 0.2.2, 0.2.3 placeholder)
- reason: package deleted from source; all consumers migrated; placeholder published 2026-09-03 to document the deletion.
- owner: