1.1.12 • Published 6 months ago

datos-persistentes v1.1.12

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

datos-persistentes

Plugin CapacitorJS para almacenar datos de forma nativa, segura y persistente a pesar de actualizaciones y reinstalaciones de la aplicación.

Install

npm install datos-persistentes
npx cap sync

API

configurarAlmacenamiento(...)

configurarAlmacenamiento(options: ConfiguracionAlmacenamientoOptions) => void
ParamType
optionsConfiguracionAlmacenamientoOptions

escribir(...)

escribir(options: EscribirOptions) => Promise<void>
ParamType
optionsEscribirOptions

leer(...)

leer(options: LeerOptions) => Promise<LeerResult>
ParamType
optionsLeerOptions

Returns: Promise<LeerResult>


borrar(...)

borrar(options: BorrarOptions) => Promise<void>
ParamType
optionsBorrarOptions

vaciarAlmacenamiento()

vaciarAlmacenamiento() => Promise<void>

Interfaces

ConfiguracionAlmacenamientoOptions

PropType
nombrestring
webStoreNamestring

EscribirOptions

PropType
clavestring
valorstring

LeerResult

PropType
valorstring

LeerOptions

PropType
clavestring

BorrarOptions

PropType
clavestring
1.1.12

6 months ago

1.1.11

11 months ago

1.1.10

11 months ago

1.1.9

12 months ago

1.1.8

12 months ago

1.1.7

12 months ago

1.1.6

12 months ago

1.1.5

12 months ago

1.1.4

12 months ago

1.1.3

12 months ago

1.1.2

12 months ago

1.1.1

12 months ago

1.1.0

12 months ago