Welcome to the interstellar documentation for Stellar Spoon, the only kitchen tool that can stir nebulae, whisk stardust, and serve up a side of black‑hole broth. Use it responsibly; your taste buds may never be the same.
Stellar Spoon is a lightweight JavaScript library that lets you manipulate astral ingredients in real‑time. It works in browsers, Node, and even in the vacuum of space (no warranty).
Grab the library from the CDN or npm.
npm install stellar-spoon
<script src="https://unpkg.com/stellar-spoon@latest/dist/spoon.min.js"></script>
Give any element a data-spoon attribute and watch the magic.
<button data-spoon="nebula" class="pulse">Taste the Cosmos</button>
<script>
Spoon.init(); // automatically finds [data-spoon] attributes
</script>
Scans the DOM for data-spoon attributes and attaches default behaviours.
Applies a swirling animation to element. intensity is 0‑100.
Mixes a recipe (object) into the element's style.
Spoon.flavor(btn, {
color: '#ffcb6b',
background: 'linear-gradient(45deg, #82aaff, #c3e88d)'
});
Q: Will it eat my data?
A: Only if you serve it with a side of cookies. No actual data is consumed.
Q: Can I use it on a real spoon?
A: The library works best on DOM elements, but we hear the kitchenware community is experimenting.