# winston-azure-blob-transport

> Winston Azure blob transport

Latest version **0.4.0** (published 2020-09-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install winston-azure-blob-transport
pnpm add winston-azure-blob-transport
yarn add winston-azure-blob-transport
bun add winston-azure-blob-transport
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.4.0 |
| Published | 2020-09-02 |
| First published | 2016-10-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Unpacked size | 14.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Parsimotion |
| Maintainers | andreskir, gastonprieto18 |

## Links

- npm: https://www.npmjs.com/package/winston-azure-blob-transport
- Repository: https://github.com/Parsimotion/winston-azure-blob-transport
- Homepage: https://github.com/Parsimotion/winston-azure-blob-transport#readme
- Issues: https://github.com/Parsimotion/winston-azure-blob-transport/issues
- npm.io page: https://npm.io/package/winston-azure-blob-transport

## Dependencies (7)

- [async](https://npm.io/package/async.md) ^2.0.1
- [chunk](https://npm.io/package/chunk.md) ^0.0.2
- [debug](https://npm.io/package/debug.md) ^3.1.0
- [lodash](https://npm.io/package/lodash.md) ^4.16.2
- [bluebird](https://npm.io/package/bluebird.md) ^3.4.6
- [azure-storage](https://npm.io/package/azure-storage.md) ^2.10.2
- [error-to-json](https://npm.io/package/error-to-json.md) ^1.1.0

## Recent versions

- 0.4.0 (latest) — 2020-09-02
- 0.3.3 — 2019-08-12
- 0.3.2 — 2019-07-01
- 0.3.1 — 2019-05-31
- 0.3.0 — 2019-05-30
- 0.2.11 — 2018-11-29
- 0.2.10 — 2018-11-15
- 0.2.9 — 2018-11-14
- 0.2.8 — 2018-11-13
- 0.2.7 — 2018-02-05
- 0.2.6 — 2017-08-04
- 0.2.5 — 2017-08-01
- 0.2.4 — 2016-11-24
- 0.2.3 — 2016-11-22
- 0.2.2 — 2016-10-19
- … 3 more at https://npm.io/package/winston-azure-blob-transport/versions

## README

# winston-azure-blob-transport

[![NPM version](https://badge.fury.io/js/winston-azure-blob-transport.png)](http://badge.fury.io/js/winston-azure-blob-transport)

A [Windows Azure][0] blob storage transport for [winston][1].

## Installation

``` bash
  $ npm install winston
  $ npm install winston-azure-blob-transport
```

## Usage
``` js
  var winston = require("winston");
  require("winston-azure-blob-transport");

  var logger = new (winston.Logger)({
    transports: [
      new (winston.transports.AzureBlob)({
        account: {
          name: "Azure storage account sub domain ([A-Za-z0-9])",
          key: "The long Azure storage secret key"
        },
        containerName: "A container name",
        blobName: "The name of the blob",
        level: "info"
      })
    ]
  });
  
  logger.warn("Hello!");
```

The Azure transport accepts the following options:

* __level:__ Level of messages that this transport should log (defaults to `info`).
* __account.name:__ The name of the Windows Azure storage account to use
* __account.key:__ The access key used to authenticate into this storage account
* __blobName:__ The name of the blob to log.
* __containerName:__ The container which will contain the logs.

[0]: http://www.windowsazure.com/en-us/develop/nodejs/
[1]: https://github.com/flatiron/winston

---
_Source: https://npm.io/package/winston-azure-blob-transport · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
