# storage-form

> Custom element to use as storages such as localStorage, chrome.storage.

Latest version **3.0.0** (published 2026-11-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install storage-form
pnpm add storage-form
yarn add storage-form
bun add storage-form
```

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 3.0.0 |
| Published | 2026-11-28 |
| First published | 2017-01-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 248.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 1 |
| Author | Keiichiro Ui |
| Maintainers | kui |
| Keywords | web, web-components, custom-elements, storage, web-storage, localstorage, chrome-storage, chrome-extension, form |

## Links

- npm: https://www.npmjs.com/package/storage-form
- Repository: https://github.com/kui/storage-form
- Homepage: https://kui.github.io/storage-form/
- Issues: https://github.com/kui/storage-form/issues
- npm.io page: https://npm.io/package/storage-form

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 3.0.0 (latest) — 2026-11-28
- 2.2.0 — 2024-01-05
- 2.0.0 — 2023-12-31
- 1.1.0 — 2020-02-12
- 1.0.3 — 2017-01-19
- 1.0.2 — 2017-01-19
- 1.0.1 — 2017-01-18
- 1.0.0 — 2017-01-18

## README

# Storage Elements

Custom elements to manipulate `localStorage`/`sessionStorage`/`chrome.storage.{sync,local}` as `<input>` elements. This make you to build easily configuration pages of your Google Chrome extention or web application.

- [Demo](https://kui.github.io/storage-form/)
- [Demo source](https://github.com/kui/storage-form/blob/master/docs/index.html)
- [npm](https://www.npmjs.com/package/storage-form)

## Install

```sh
npm install storage-form
```

Register the custom elements once before using them:

```js
import { register } from "storage-form";

register();
```

Without a bundler, import `js/storage-elements-registerer.js` of the package by its path instead, as the [demo](https://github.com/kui/storage-form/blob/master/docs/index.html) does, or map `storage-form` to it with an import map.

The package is ESM only and ships its TypeScript declarations.

## Browser support

Safari is not supported because it does not implement [customized built-in elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/is), such as `<input is="storage-input">`.

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