7.2.6 • Published 2 years ago

@just-web/preferences v7.2.6

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@just-web/preferences

NPM version NPM downloads

@just-web/preferences plugin defines the interface of get and set user preferences.

Where the preferences are saved depends on how it is implemented in the details.

This package provides a memoryPreferencesGizmo that stores preferences in memory. But in practice, most likely you should use a different implementation such as:

Install

# npm
npm install @just-web/preferences

# yarn
yarn add @just-web/preferences

# pnpm
pnpm install @just-web/preferences

#rush
rush add -p @just-web/preferences

Usage

Here is how to use memoryPreferencesGizmo:

import { justApp } from '@just-web/app'
import { commandsGizmoFn } from '@just-web/commands'
import { keyboardGizmoFn } from '@just-web/keyboard' // optional
import { memoryPreferencesGizmo } from '@just-web/preferences'

const app = await justApp({ name: 'your-app' })
  .with(commandsGizmoFn())
  .with(keyboardGizmoFn())
  .with(memoryPreferencesGizmo)
  .create()
7.2.6

2 years ago

7.2.2

2 years ago

7.1.3

2 years ago

7.2.1

2 years ago

7.1.2

2 years ago

7.2.0

2 years ago

7.1.1

2 years ago

7.1.0

2 years ago

7.2.5

2 years ago

7.2.4

2 years ago

7.1.5

2 years ago

7.2.3

2 years ago

7.1.4

2 years ago

6.0.2

2 years ago

7.0.0

2 years ago

7.0.1

2 years ago

7.0.0-beta.4

2 years ago

7.0.0-beta.5

2 years ago

7.0.0-beta.2

2 years ago

7.0.0-beta.3

2 years ago

7.0.0-beta.0

2 years ago

7.0.0-beta.1

2 years ago

5.0.4

3 years ago

5.0.3

3 years ago

5.0.2

3 years ago

5.0.1

3 years ago

5.0.0

3 years ago

6.0.1

3 years ago

6.0.0

3 years ago

4.1.0

3 years ago

4.0.2

3 years ago

5.0.0-beta.0

3 years ago

4.0.1

3 years ago

4.0.0

3 years ago

3.1.1

3 years ago

3.1.0

3 years ago

3.0.0

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago