@nuuf/syndicate
TypeScript icon, indicating that this package has built-in type declarations

3.3.0 • Public • Published

Syndicate

A connected list of strings.

Keep heavy data in the data object and light data in the configData object

type Conf = {
  name: string;
  type: string;
};
type Data = {
  foo: number;
  bar: {
    x: number;
    y: number;
    z: boolean;
  };
};
const root = createRoot();
const entityA = createComposite<Data, Conf>(
  {
    foo: 1,
    bar: { x: 0, y: 2, z: false },
  },
  {
    name: 'A',
    type: 'entity',
  }
);
add(root, entityA);

Basically a simple way to handle a local database

/@nuuf/syndicate/

    Package Sidebar

    Install

    npm i @nuuf/syndicate

    Weekly Downloads

    1

    Version

    3.3.0

    License

    MIT

    Unpacked Size

    35.1 kB

    Total Files

    72

    Last publish

    Collaborators

    • nuuf