1.1.12 • Published 8 months ago

datos-persistentes v1.1.12

Weekly downloads
-
License
MIT
Repository
github
Last release
8 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

8 months ago

1.1.11

1 year ago

1.1.10

1 year ago

1.1.9

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago