# @ashiteam/sveltekit-images

> Everything you need to build a Svelte library, powered by [`sv`](https://npmjs.com/package/sv).

Latest version **3.0.3** (published 2025-05-05) · ISC license · 0 weekly downloads

## Install

```sh
npm install @ashiteam/sveltekit-images
pnpm add @ashiteam/sveltekit-images
yarn add @ashiteam/sveltekit-images
bun add @ashiteam/sveltekit-images
```

## Health

**Score 35/100 (D)** — status: maintenance-mode.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.0.3 |
| Published | 2025-05-05 |
| First published | 2023-10-01 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | ESM |
| Dependencies | 3 |
| Unpacked size | 44.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Asanga Weerapura |
| Maintainers | asangawee |
| Keywords | image, optimized, svelte, sveltekit |

## Links

- npm: https://www.npmjs.com/package/@ashiteam/sveltekit-images
- npm.io page: https://npm.io/package/@ashiteam/sveltekit-images

## Dependencies (3)

- [send](https://npm.io/package/send.md) ^1.2.0
- [@hapi/accept](https://npm.io/package/@hapi/accept.md) ^6.0.3
- [@ashiteam/ashi-is-animated-image](https://npm.io/package/@ashiteam/ashi-is-animated-image.md) ^2.0.0

## Alternatives

- [exif-parser](https://npm.io/package/exif-parser.md) — 3.8M weekly downloads
- [vite-plugin-compression](https://npm.io/package/vite-plugin-compression.md) — 569.5K weekly downloads
- [pica](https://npm.io/package/pica.md) — 442.4K weekly downloads
- [@reportportal/client-javascript](https://npm.io/package/@reportportal/client-javascript.md) — 408.8K weekly downloads
- [@tldraw/state](https://npm.io/package/@tldraw/state.md) — 316.0K weekly downloads

## Recent versions

- 3.0.3 (latest) — 2025-05-05
- 3.0.2 — 2025-05-04
- 3.0.1 — 2025-05-04
- 3.0.0 — 2025-05-03
- 2.0.7 — 2024-09-25
- 2.0.6 — 2024-09-25
- 2.0.5 — 2024-06-01
- 2.0.4 — 2024-02-03
- 2.0.3 — 2023-12-27
- 2.0.2 — 2023-12-26
- 2.0.1 — 2023-12-26
- 2.0.0 — 2023-12-25
- 1.0.7 — 2023-12-03
- 1.0.6 — 2023-11-30
- 1.0.5 — 2023-10-25
- … 5 more at https://npm.io/package/@ashiteam/sveltekit-images/versions

## README

# Svelte library

Everything you need to build a Svelte library, powered by [`sv`](https://npmjs.com/package/sv).

Read more about creating a library [in the docs](https://svelte.dev/docs/kit/packaging).

## Creating a project

If you're seeing this, you've probably already done this step. Congrats!

```bash
# create a new project in the current directory
npx sv create

# create a new project in my-app
npx sv create my-app
```

## Developing

Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:

```bash
npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open
```

Everything inside `src/lib` is part of your library, everything inside `src/routes` can be used as a showcase or preview app.

## Building

To build your library:

```bash
npm run package
```

To create a production version of your showcase app:

```bash
npm run build
```

You can preview the production build with `npm run preview`.

> To deploy your app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for your target environment.

## Publishing

Go into the `package.json` and give your package the desired name through the `"name"` option. Also consider adding a `"license"` field and point it to a `LICENSE` file which you can create from a template (one popular option is the [MIT license](https://opensource.org/license/mit/)).

To publish your library to [npm](https://www.npmjs.com):

```bash
npm publish
```

---
_Source: https://npm.io/package/@ashiteam/sveltekit-images · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
