Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/level

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/level

TypeScript definitions for level

  • 6.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.9K
decreased by-2.83%
Maintainers
1
Weekly downloads
 
Created
Source

Installation

npm install --save @types/level

Summary

This package contains type definitions for level (https://github.com/Level/level).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/level.

index.d.ts

import { AbstractOptions, ErrorCallback } from "abstract-leveldown";

import EncodingDown from "encoding-down";

import levelup = require("levelup");

declare namespace Level {
    interface LevelDB<K = any, V = any> extends levelup.LevelUp<EncodingDown<K, V>> {
        errors: typeof levelup.errors;
    }
    interface Constructor {
        (location: string, options?: AbstractOptions, callback?: ErrorCallback): LevelDB;
    }
}

declare const Level: Level.Constructor;

export = Level;

Additional Details

Credits

These definitions were written by danielfx90.

FAQs

Package last updated on 18 Oct 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