
Company News
Andrew Becherer Joins Socket as Chief Information Security Officer
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.
adinkra-math
Advanced tools
West African symbolic encoding + SUSY adinkras for the browser — TypeScript/npm port of adinkra-math
West African symbolic encoding + SUSY adinkras for the browser — TypeScript/npm port.
Bridges two meanings of "adinkra":
npm install adinkra-math
import { createSymbol, getBuiltinSymbols, SymbolType } from 'adinkra-math';
const circle = createSymbol(SymbolType.CIRCLE, 0, 0, 40);
const builtins = getBuiltinSymbols(); // 9 built-in: Gye Nyame, Sankofa, Fawohodie, ...
import { compose, CompositionOp } from 'adinkra-math';
const stacked = compose(glyph1, glyph2, CompositionOp.STACK);
const nested = compose(glyph1, glyph2, CompositionOp.NEST);
import { encodeConcept, distance, nearestConcept, knn } from 'adinkra-math';
const wisdom = encodeConcept('wisdom', 6);
const strength = encodeConcept('strength', 6);
const d = distance(wisdom, strength);
import { createAdinkra, verifyChromotopology, bosonFermionSplit } from 'adinkra-math';
const adinkra = createAdinkra(4); // rank-4: 8 nodes, 16 edges
const valid = verifyChromotopology(adinkra); // true
const { bosons, fermions } = bosonFermionSplit(adinkra);
import { connectedComponents, eulerCharacteristic, genus, makeTopoGraph, topoAddEdge } from 'adinkra-math';
const g = makeTopoGraph(4);
topoAddEdge(g, 0, 1);
const cc = connectedComponents(g);
const chi = eulerCharacteristic(4, 6, 4); // 2
const gen = genus(chi); // 0
MIT
FAQs
West African symbolic encoding + SUSY adinkras for the browser — TypeScript/npm port of adinkra-math
We found that adinkra-math demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.

Company News
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.

Security News
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.