npm.io
1.0.1 • Published 6d ago

@humation/assets-humation-1

Licence
MIT
Version
1.0.1
Deps
1
Size
1.5 MB
Vulns
0
Weekly
786

@humation/assets-humation-1

Humation 1 manifest and SVG assets.

Docs | GitHub

import { createAvatar } from "@humation/core";
import { humation1 } from "@humation/assets-humation-1";

const svg = createAvatar(humation1, {
  selections: {
    head: "wavy-long",
  },
}).toString();

humation1 (also exported as manifest) includes embedded SVG strings and can render without network or filesystem access. Raw package assets are also available:

manifest.json
assets/**/*.svg

When used with @humation/core, rendered output keeps colors as CSS custom properties such as --hm-hair, --hm-skin, and --hm-stroke.

manifest.json, assets/**, and the generated src/ manifest modules are a synchronized asset snapshot. Update them together so raw SVGs and embedded manifests stay in sync.

License

MIT. See LICENSE.md.

Keywords