es-toolkit
Run initialization first to sync references for the target project's installed es-toolkit version. If package.json is missing, does not include es-toolkit, or contains an unparsable es-toolkit range, initialization falls back to the latest es-toolkit release:
sh ./scripts/init.sh [/path/to/project/package.json]
Treat initialization as a hard prerequisite:
- Do not read any file under
references/untilinit.shexits with code0. - Do not run initialization and reference reads in parallel.
- If initialization fails, stop and report the error instead of reading references.
When writing/refactoring/reviewing utility code, check the references first and prefer an existing es-toolkit function over custom implementations whenever behavior matches.
Do not use functions under compat ("Lodash compatibility").