Skip to content
PluginStats

@sveltesentio/core weekly downloads statistics

By sveltesentio · npm · Vite plugins

Vite plugin, env schema, error types, id/clock utils — sveltesentio core

View on npm Fresh · Nov 4, 2026

@sveltesentio/core has 6,891 recorded weekly downloads on npm, ranking #1264 of 2,819 tracked listings.

Weekly downloads
6,891
Official API · Nov 2, 2026
7-day growth
—
Insufficient history
30-day growth
—
Insufficient history
90-day growth
—
Insufficient history
Rank
#1264
Among tracked npm listings

About @sveltesentio/core

@sveltesentio/core

Core utilities — rune helpers, type-safe fetch, CSP hooks, error boundaries

Part of the sveltesentio composable SvelteKit framework.

Status

✅ v0.1.0 — every entry point below has shipped. The table is the single list; it is checked against package.json by the Docs drift CI job, so a second enumeration here would only drift away from it.

Requirements

Zod v4 only. @sveltesentio/core schemas require zod@^4 (ADR-0001); v3 is unsupported — a v3 schema breaks createEnv error reporting (z.treeifyError) and the @sveltesentio/forms zod4 adapter. Downstream apps on zod@^3 must upgrade first; follow the Zod v3 → v4 migration guide.

Installation

pnpm add @sveltesentio/core

Entry points

Most of these are also re-exported from the package root, so ./clock, ./csp, ./env, ./id, ./problem and ./vite can be imported either way. Three are not interchangeable:

  • ./http is reachable only through the subpath — problemMiddleware is not re-exported from the root.
  • ./sentio is an ambient declaration, not a value.
  • ./eslint is re-exported from the root only as the sentioEslint plugin object and the noDirectTime rule; reach the other two rules through the plugin, or import the subpath.
SubpathProvides
.The re-export surface for everything below.
./clockClock, useClock, getClock, setClock, withClock, createHydrationClock, systemClock — the injected time seam.
./cspcreateNonce, nonceSource, hashSource, STRICT_DYNAMIC, SELF and the CspDirectives types.
./envcreateEnv, requireEnv, EnvValidationError — Zod-validated environment access.
./eslintThe flat-config ESLint plugin. See below.
./httpproblemMiddleware — turns a thrown error into an RFC 9457 response.
./idnewId (UUIDv7), newIdV4, isId, isIdV4, brandId, idToTimestamp.
./problemProblemError, parseProblem, problemFromDocument, problemFromResponse — RFC 9457 Problem Details.
./sentioAmbient declaration for the $sentio virtual module sentioPlugin emits. Add "@sveltesentio/core/sentio" to compilerOptions.types.
./vitesentioPlugin and checkBundleBudget — per-chunk size budgets that fail the build.
./eslint

A flat-config plugin bundling the three invariants that hold across packages. Adopters enable them by rule name, so the names are the API:

RuleReports
@sveltesentio/no-direct-timeDate.now(), zero-argument new Date() and performance.now(). Time flows through the injected Clock so it stays deterministic and testable (ADR-0052).
@sveltesentio/chart-a11y-wrapperA layerchart / uplot visual with no <ChartFigure> ancestor, so the WCAG 2.2 SC 1.1.1 text alternative cannot be skipped (ADR-0013).
@sveltesentio/no-unsanitised-htmlAssignment to innerHTML, outerHTML or insertAdjacentHTML unless the value came from sanitizeHtml(...) or a .sanitize(...) call. Svelte's {@html} is covered by svelte/no-at-html-tags; this is the TypeScript side.
// eslint.config.js
import sentio from '@sveltesentio/core/eslint';

export default [
  {
    files: ['src/**/*.ts'],
    plugins: { '@sveltesentio': sentio },
    rules: {
      '@sveltesentio/no-direct-time': 'error',
      '@sveltesentio/no-unsanitised-html': 'error',
    },
  },
  {
    files: ['src/**/*.svelte'],
    plugins: { '@sveltesentio': sentio },
    rules: { '@sveltesentio/chart-a11y-wrapper': 'error' },
  },
];

Files that legitimately read ambient time — a clock implementation, a token TTL stamp, an audit timestamp — belong in the config's ignores rather than carrying an inline disable, so the exemption is reviewable in one place.

See the monorepo README and docs/ for design principles and usage.

License

EUPL-1.2 © lusoris. Releases up to and including 0.3.0 are MIT.

Description from the npm listing.

  • sveltesentio
  • sveltekit
  • vite-plugin

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@sveltesentio/core weekly downloads on npm, last 90 days: 6,891 weekly downloads as of Nov 2, 2026.@sveltesentio/coreWeekly downloads on npm · Last 90 days6,891downloads / week6.2K6.4K6.6K6.8K7K7.2K7.4K7.6KAug 4Aug 19Sep 3Sep 18Oct 3Oct 18Nov 2downloads / weekNov 2, 2026 – Nov 2, 2026 · 1 observations · Updated Nov 2, 2026pluginstats.com
@sveltesentio/core weekly downloads on npm, last 90 days: 6,891 weekly downloads as of Nov 2, 2026.

7/30/90-day growth

@sveltesentio/core weekly downloads growth on npm: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.@sveltesentio/coreWeekly downloads growth on npm6,891downloads / week now7-day growthinsufficient historyInsufficient history30-day growthinsufficient historyInsufficient history90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Nov 2, 2026pluginstats.com
@sveltesentio/core weekly downloads growth on npm: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.

Ranking history

@sveltesentio/core npm ranking history: currently #1264 (by weekly downloads).@sveltesentio/corenpm ranking · by weekly downloads · Last 90 days#1264current rank#1262#1263#1264#1265#1266Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20Nov 4rankNov 4, 2026 – Nov 4, 2026 · 1 observations · Updated Nov 2, 2026pluginstats.com
@sveltesentio/core npm ranking history: currently #1264 (by weekly downloads).

Listing placement

All npm2,816 listings · 141 pages · 1,409 shown · page 67, #5 (overall #1,325)
All npm: every listing in weekly downloads order

Listing placement

Vite plugins283 listings · 15 pages · page 13, #7 (overall #247)
Vite plugins: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (1)
Recent weekly downloads observations for @sveltesentio/core
Date (UTC)Weekly downloadsChange vs. previous
6,891—

Similar npm Vite plugins plugins

All 20 @sveltesentio/core alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@sveltesentio/core. First seen Nov 4, 2026; last successful collection Nov 4, 2026. See the methodology.