Socket
Socket
Sign inDemoInstall

@types/pouchdb-adapter-localstorage

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/pouchdb-adapter-localstorage

TypeScript definitions for pouchdb-adapter-localstorage


Version published
Weekly downloads
18K
decreased by-6.77%
Maintainers
1
Weekly downloads
 
Created
Source

Installation

npm install --save @types/pouchdb-adapter-localstorage

Summary

This package contains type definitions for pouchdb-adapter-localstorage (https://pouchdb.com/).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pouchdb-adapter-localstorage.

index.d.ts

// Type definitions for pouchdb-adapter-localstorage 6.1
// Project: https://pouchdb.com/, https://github.com/pouchdb/pouchdb
// Definitions by: Simon Paulger <https://github.com/spaulg>, Brian Geppert <https://github.com/geppy>, Frederico Galvão <https://github.com/fredgalvao>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3

/// <reference types="pouchdb-core" />

declare namespace PouchDB {
    namespace LocalStorageAdapter {
        interface LocalStorageAdapterConfiguration extends Configuration.LocalDatabaseConfiguration {
            adapter: "localstorage";
        }
    }

    interface Static {
        new<Content extends {}>(
            name: string | null,
            options: LocalStorageAdapter.LocalStorageAdapterConfiguration,
        ): Database<Content>;
    }
}

declare module "pouchdb-adapter-localstorage" {
    const plugin: PouchDB.Plugin;
    export = plugin;
}

Additional Details

  • Last updated: Sun, 24 Sep 2023 06:37:28 GMT
  • Dependencies: @types/pouchdb-core
  • Global values: none

Credits

These definitions were written by Simon Paulger, Brian Geppert, and Frederico Galvão.

FAQs

Package last updated on 24 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc