@six-js/core
v0.0.33
Published
A lightweight core library for Six JS components.
Maintainers
Readme
@six-js/core
A lightweight core library for Six JS components.
📦 Installation
npm install @six-js/coreyarn add @six-js/corepnpm add @six-js/coreThe package ships ESM (import) and UMD (require) builds plus type declarations — no extra setup needed for either bundlers or a plain <script> tag.
🚀 Usage
import "@six-js/core/style.css";
import { six } from "@six-js/core";
six.initElements();
six.to(".box", { x: 100, duration: 1 });Plugins
Plugins live at their own subpath so bundlers only include them when you actually import them:
import { splitText } from "@six-js/core/split-text";
splitText(".title", { type: "chars,words,lines" });