# @types/nedb-logger

> TypeScript definitions for nedb-logger

Latest version **1.8.6** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/nedb-logger
pnpm add @types/nedb-logger
yarn add @types/nedb-logger
bun add @types/nedb-logger
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.8.6 |
| Published | 2023-11-07 |
| First published | 2017-03-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51440 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/nedb-logger
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/nedb-logger
- npm.io page: https://npm.io/package/@types/nedb-logger

## Recent versions

- 1.8.6 (latest) — 2023-11-07
- 1.8.3 (ts2.0) — 2017-10-25
- 1.8.5 — 2023-10-18
- 1.8.4 — 2023-09-23
- 1.8.2 — 2017-03-24
- 1.8.1 — 2017-03-22
- 1.8.0 — 2017-03-11

## README

# Installation
> `npm install --save @types/nedb-logger`

# Summary
This package contains type definitions for nedb-logger (https://github.com/louischatriot/nedb-logger).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/nedb-logger.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/nedb-logger/index.d.ts)
````ts
export = NeDBLoggerDataStore;
export as namespace NedbLogger;

declare namespace NeDBLoggerDataStore {}
declare class NeDBLoggerDataStore {
    constructor(path?: string | { filename: string });

    /**
     * Insert a new document
     * @param cb Optional callback, signature: err, insertedDoc
     */
    insert<T>(newDoc: T, cb?: (err: Error, document: T) => void): void;
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: none

# Credits
These definitions were written by [Joe vanderstelt](https://github.com/thisboyiscrazy).

---
_Source: https://npm.io/package/@types/nedb-logger · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
