New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

svelte-object

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte-object

A nested component Svelte 5 Runes pattern for structuring objects/arrays and their properties

latest
Source
npmnpm
Version
2.1.4
Version published
Weekly downloads
24
242.86%
Maintainers
1
Weekly downloads
 
Created
Source


👉   Define objects in your markup-structure!
💫   Driven by Svelte 5's runes for highly robust code
🔥   Handles submit events and validation


    Made for Svelte 5

Get started with literal wizardry!🧙‍♂️
bun add -D svelte-object  /  npm i -D svelte-object  /  pnpm add -D svelte-object


This could be your code See REPL

<h3> An array of pets </h3>

<I.Array bind:value={pets}>
	{#snippet item(prop)}
		<I.Object name={prop.index}>
			<Input name='name' min={2}>Pets name</Input>
			<Input name='age' type='number'>Pets age</Input>
		</I.Object>
	{/snippet}
	<button on:click={() => pets.push({})}> Add pet </button>
</I.Array>

[!NOTE]
What are you waiting for? Get Started!



Keywords

svelte

FAQs

Package last updated on 15 Dec 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts