obix-binding-func
v0.5.0
Published
Compatibility name: obix-binding-func now resolves to obix-core-func. Contains no logic of its own — import from obix-core-func in new code.
Readme
obix-binding-func
Previous name:
@obinexusltd/obix-binding-func— OBIX packages are named without an npm scope since decision D-102 (2026-09-29); the package, its version and its exports are unchanged.
Compatibility package.
obix-binding-funcis kept so that code and documents that import it keep resolving. It contains no logic: every export below is the export ofobix-core-funcunder the old name. New code should import fromobix-core-func.
Old package: recovery-era:[email protected] (commit af124db; never published). Decision: rename (recovery-era name; listed in obix-naming.json (OBIX monorepo record) legacyShims) in docs/recovery/migration-table.md (OBIX monorepo record) — canonical name of the previous recovery iteration (commit af124db), never published; the implementation moved from binding/ into core/, the old name is kept as a compat shim so the workspace's own consumers keep resolving.
obix-binding-func
| Old name | Is |
|---|---|
| toFunctional | obix-core-func.toFunctional |
Types: FunctionalInstance, FunctionalProjection.
Verification
test/shim.test.mjs imports both packages and asserts, for every entry point: each old name is identical (===) to the owner's export (or, for the derived renderX, behaves as renderWith(createX)); the shim exports exactly these names and nothing else; every excluded name is absent. Verified on Node 26.7 only.
Installation
npm install obix-binding-funcBasic usage
// existing code keeps working under the old name…
import { toFunctional } from 'obix-binding-func';
// …new code imports the owner: obix-core-funcAPI surface
obix-binding-func— 1 value export:toFunctional- Type declarations:
./dist/index.d.ts(and a declaration next to every JS entry point).
Architecture role
obix-binding-func is a compatibility package: it keeps an old name resolving and contains no logic — every export is the export of obix-core-func. New code imports from obix-core-func (or from the umbrella obix).
The architecture of OBIX — the package families and which packages are public API — is indexed in the umbrella: docs/architecture.md.
Package relationships
- Depends on (OBIX):
obix-core-func. - Used by (OBIX): no other OBIX package.
Testing
- 1 test file ships in the npm package (
test/): the evidence of the package's contract, published so that its verification can be inspected — not runtime code (no entry point reaches it). - Standalone: 1 of 1 — it reads nothing outside the package.
- Run them with
npm test(node --test "test/*.test.mjs") in the OBIX monorepo, which provides the test tooling (Node's test runner, TypeScript) and the harness.
Documentation
- CHANGELOG.md
- The OBIX architecture index: obix/docs/architecture.md
Repository
- https://github.com/obinexus/obix-binding-func —
[email protected]:obinexus/obix-binding-func.git - Issues: https://github.com/obinexus/obix-binding-func/issues
- The repository is a clean export of the package from the OBIX monorepo. Its lineage — the sources it was recovered from and its earlier names — is
PROVENANCE.json, shipped in this package; the repository's copy also records the monorepo commit it was exported from.
License
MIT — see LICENSE.
