0.0.0-4 • Published 2 years ago
@plurid/hypod-client v0.0.0-4
hypod is an imagene registry.
An imagene registry is a renaming of the container registry because, in fact, the registry is one of 'images', a runnable package, not of 'containers', a running package, and because a software 'image' is a bad name since there is nothing visual about it's nature.
The name hypod comes from the appropriation of the greek hupodochê, receptacle, as discussed in Plato's Timaeus.
hypod uses plurid to explore information as a 3D structure.
Contents
Install
run
npm install @plurid/hypod-clientor
yarn add @plurid/hypod-clientUsage
Generate the hypod client, identify an imagene, use the imagene metadata.
import Hypod from '@plurid/hypod-client';
const hypod = Hypod(
'https://hypod.registry/graphql',
'identonym:private-token',
{
log: true,
},
);
const main = async () => {
const data = await hypod.imagene.identify('foo/boo');
if (!data) {
return;
}
await hypod.imagene.obliterate(data.id);
}
main();Packages
@plurid/hypod • the server application
@plurid/hypod-client-javascript • JavaScript client