open-index/open-npm huggingface dataset:
npm package: @statter/tsconfig
Description: typescript config
Author: Statter 🚀
Latest version: 1.0.3

# @statter/tsconfig

Reusable TypeScript config presets for Node.js and React projects.

## Install

```bash
yarn add -D @statter/tsconfig typescript
```

## Usage

Node (`tsconfig.json`):

```json
{
  "extends": "@statter/tsconfig/tsconfig.node.json"
}
```

React (`tsconfig.json`):

```json
{
  "extends": "@statter/tsconfig/tsconfig.react.json"
}
```
npm package: @statua/dialog
Description: Dialog component.
Author: Ivan Nikolić
Latest version: 1.2.0

# @statua/dialog

[![Build Status][ci-img]][ci]
[![BrowserStack Status][browserstack-img]][browserstack]

Dialog component.

Features:

-   Best accessibility practices baked in
-   Tab and focus lock on tabbable elements inside dialog
-   Handles usual UX considerations such as closing on Escape key and clicking
    on dialog backdrop
-   Flexible styling
-   Sets `aria-hidden` on all sibling and ancestor elements except for the
    currently active dialog which traps the virtual cursor inside the dialog

**[Try it now!](https://codesandbox.io/s/basic-example-k7zml)**

## Install

```sh
npm install @statua/dialog --save
```

## Usage

```js
import dialog from '@statua/dialog';

const instance = dialog({
	content: `<p>Becky</p>`
});

instance.show();
```

## API

### dialog(options)

Returns: `Object`

Creates dialog instance. Dialog element will be appended to `body` element.

#### options

Type: `Object`

##### content

Type: `string|Node`  
**Required**

Dialog content which can be:

-   HTML string
-   Instance of `Node` (DOM node, HTML comment, document fragment, …)

##### onCreate

Type: `Function`  
Default: `() => {}`

Callback to run when dialog instance is created.

##### onDestroy

Type: `Function`  
Default: `() => {}`

Callback to run when dialog instance is destroyed.

Useful when you want to perform operations such as moving dialog content to
original location if dialog content was already existing DOM node.

##### onShow

Type: `Function`  
Default: `() => {}`

Callback to run when dialog instance is shown.

##### onClose

Type: `Function`  
Default: `() => {}`

Callback to run when dialog instance is closed.

##### htmlClassNamespace

Type: `string`  
Default: ``

HTML class namespace in addition to default one (`statua-Dialog`).

Useful if you want to create additional styling/functionality selector hook.

##### explicitClose

Type: `boolean`  
Default: `false`

Disable modal close on `Escape` key press or when modal backdrop is clicked.

### instance.show()

Show dialog.

### instance.close()

Close dialog.

### instance.destroy()

Destroy dialog instance.

## DOM API

Dialog instance can be controlled with certain DOM attributes.

### `[data-statua-dialog-action="close"]`

Closes closest dialog instance when clicking on element.

## Browser support

Tested in IE11+ and all modern browsers.

## Test

For automated tests, run `npm run test:automated` (append `:watch` for watcher
support).

## License

MIT © [Ivan Nikolić](http://ivannikolic.com)

<!-- prettier-ignore-start -->

[ci]: https://travis-ci.com/niksy/statua-dialog
[ci-img]: https://travis-ci.com/niksy/statua-dialog.svg?branch=master
[browserstack]: https://www.browserstack.com/
[browserstack-img]: https://www.browserstack.com/automate/badge.svg?badge_key=YTBsUVk1V2d5MXFTWEYzU1RzUUJEaFBJZUpxbE5XNlRGUXRKcXc2K1ZXaz0tLVljcmdYbjBtSDRvQXF5NkpoazUwREE9PQ==--789f7d8270ee69113475e7539a8aff8db942c8dc

<!-- prettier-ignore-end -->
npm package: @status-board/cli
Description: [![All Contributors](https://img.shields.io/badge/all_contributors-0-orange.svg?style=flat-square)](#contributors)
Latest version: 1.0.1

# cli
[![All Contributors](https://img.shields.io/badge/all_contributors-0-orange.svg?style=flat-square)](#contributors)

@status-board/cli

`npm i --save-dev @status-board/cli`

## Contributors

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore -->
<!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
npm package: @status-board/components
Description: [![All Contributors](https://img.shields.io/badge/all_contributors-0-orange.svg?style=flat-square)](#contributors)
Latest version: 1.0.7

# components
[![All Contributors](https://img.shields.io/badge/all_contributors-0-orange.svg?style=flat-square)](#contributors)

@status-board/components

`npm i --save-dev @status-board/components`

## Contributors

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore -->
<!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
npm package: @status-board/core
Description: [![All Contributors](https://img.shields.io/badge/all_contributors-0-orange.svg?style=flat-square)](#contributors)
Latest version: 1.1.1

# core
[![All Contributors](https://img.shields.io/badge/all_contributors-0-orange.svg?style=flat-square)](#contributors)

@status-board/core

`npm i --save @status-board/core`

## Contributors

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore -->
<!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
npm package: @status-board/plugin-widget-calendar
Description: [![All Contributors](https://img.shields.io/badge/all_contributors-0-orange.svg?style=flat-square)](#contributors)
Latest version: 1.0.0

# plugin-widget-calendar
[![All Contributors](https://img.shields.io/badge/all_contributors-0-orange.svg?style=flat-square)](#contributors)

@status-board/plugin-widget-calendar

`npm i --save-dev @status-board/plugin-widget-calendar`

## Contributors

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore -->
<!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
npm package: @status-board/plugin-widget-image
Description: [![All Contributors](https://img.shields.io/badge/all_contributors-0-orange.svg?style=flat-square)](#contributors)
Latest version: 1.0.0

# plugin-widget-image
[![All Contributors](https://img.shields.io/badge/all_contributors-0-orange.svg?style=flat-square)](#contributors)

@status-board/plugin-widget-image

`npm i --save-dev @status-board/plugin-widget-image`

## Contributors

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore -->
<!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
npm package: @status-board/plugin-widget-key-value-list
Description: [![All Contributors](https://img.shields.io/badge/all_contributors-0-orange.svg?style=flat-square)](#contributors)
Latest version: 1.0.0

# plugin-widget-key-value-list
[![All Contributors](https://img.shields.io/badge/all_contributors-0-orange.svg?style=flat-square)](#contributors)

@status-board/plugin-widget-key-value-list

`npm i --save-dev @status-board/plugin-widget-key-value-list`

## Contributors

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore -->
<!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
npm package: @status-board/plugin-widget-line-graph
Description: [![All Contributors](https://img.shields.io/badge/all_contributors-0-orange.svg?style=flat-square)](#contributors)
Latest version: 1.0.0

# plugin-widget-line-graph
[![All Contributors](https://img.shields.io/badge/all_contributors-0-orange.svg?style=flat-square)](#contributors)

@status-board/plugin-widget-line-graph

`npm i --save-dev @status-board/plugin-widget-line-graph`

## Contributors

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore -->
<!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
npm package: @status-board/plugin-widget-quotes
Description: [![All Contributors](https://img.shields.io/badge/all_contributors-0-orange.svg?style=flat-square)](#contributors)
Latest version: 1.0.0

# plugin-widget-quotes
[![All Contributors](https://img.shields.io/badge/all_contributors-0-orange.svg?style=flat-square)](#contributors)

@status-board/plugin-widget-quotes

`npm i --save-dev @status-board/plugin-widget-quotes`

## Contributors

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore -->
<!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
npm package: @status-board/theme-manager
Description: [![All Contributors](https://img.shields.io/badge/all_contributors-0-orange.svg?style=flat-square)](#contributors)
Latest version: 1.0.2

# Theme Manager
[![All Contributors](https://img.shields.io/badge/all_contributors-0-orange.svg?style=flat-square)](#contributors)

@status-board/theme-manager

`npm i --save-dev @status-board/theme-manager`

## Contributors

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore -->
<!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
npm package: @status-board/themes
Description: [![All Contributors](https://img.shields.io/badge/all_contributors-0-orange.svg?style=flat-square)](#contributors)
Latest version: 1.1.1

# themes
[![All Contributors](https://img.shields.io/badge/all_contributors-0-orange.svg?style=flat-square)](#contributors)

@status-board/themes

`npm i --save @status-board/themes`

## Contributors

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore -->
<!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
npm package: @status-board/ui
Description: [![All Contributors](https://img.shields.io/badge/all_contributors-0-orange.svg?style=flat-square)](#contributors)
Latest version: 1.0.6

# ui
[![All Contributors](https://img.shields.io/badge/all_contributors-0-orange.svg?style=flat-square)](#contributors)

@status-board/ui

`npm i --save-dev @status-board/ui`

## Contributors

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore -->
<!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
npm package: @status-im/react-native-transparent-video
Description: React Native video player with alpha channel (alpha-packing) support.
Author: Brian Sztamfater
Latest version: 0.1.0

![](https://github.com/status-im/react-native-transparent-video/assets/18485527/92a5b88f-b152-404e-a4ff-5d7552842cd8)

# react-native-transparent-video

React Native video player with alpha channel (alpha-packing) support. It works on iOS and Android.

Example of a mp4 video with alpha-packing:

https://github.com/status-im/react-native-transparent-video/assets/18485527/69ea988e-0c7d-4123-84a1-1ca46b61994e

## Installation

```sh
npm install react-native-transparent-video
```

or

```sh
yarn add react-native-transparent-video
```

## Usage

```js
import TransparentVideo from 'react-native-transparent-video';

const video = require('../assets/video.mp4');

function App() {
  return (
    <View>
      <TransparentVideo source={video} style={styles.transparentVideo} />
    </View>
  );
}

const styles = StyleSheet.create({
  transparentVideo: {
    position: 'absolute',
    top: 0,
    left: 0,
    right: 0,
    bottom: 0,
  },
});
```

## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## Recognition

Special thanks to:
- Quentin Fasquel for this [Medium article](https://medium.com/@quentinfasquel/ios-transparent-video-with-coreimage-52cfb2544d54)
- Tristan Ferré for this [Medium article](https://medium.com/go-electra/unlock-transparency-in-videos-on-android-5dc43776cc72)
- [@pavelsemak](https://www.github.com/pavelsemak) for creating [this repository](https://github.com/pavelsemak/alpha-movie) and [@nopol10](https://www.github.com/nopol10) for [this fork](https://github.com/nopol10/alpha-movie) which implements the alpha-packing approach that was used to build this React Native library 

## License

MIT
npm package: @status-praesens/sp-ui
Description: UI модуль для SP приложений с nuxt 3
Latest version: 1.0.3


# @status-praesens/sp-ui

UI модуль для SP приложений с nuxt 3

### 1. Требования

Ваше приложение должно быть на nuxt версии 3, nuxt 2 не поддерживается

### 2. Инициализация 

Установка в пакетный менеджер

```
npm install @status-praesens/sp-ui
// или
yarn add @status-praesens/sp-ui
```

Подключаем в проект Nuxt 3:

ищем файл `nuxt.config.js` или `nuxt.config.ts` и подключаем в блоке `modules`

```
modules: ['@status-praesens/sp-ui']
```
npm package: @status/abstract
Description: Enforce abstract classes
Author: jfrazx
Latest version: 1.1.0

# Abstract

Class decorator that enforces abstract classes.

## Install

npm:  
`npm install @status/abstract`

yarn:  
`yarn add @status/abstract`

## Usage

```typescript
import { Abstract } from '@status/abstract';

@Abstract
class FrameWorkAbstraction {
  // methods and properties
}

new FrameWorkAbstraction(); // error

class FrameWork extends FrameWorkAbstraction {
  // more methods and properties
}

const framework = new FrameWork();
```
npm package: @status/codes
Description: A collection of status code enums
Author: jfrazx
Latest version: 1.9.0

# Status Codes

[![npm (scoped)](https://img.shields.io/npm/v/@status/codes.svg)](https://www.npmjs.com/package/@status/codes)
[![NPM](https://img.shields.io/npm/l/@status/codes.svg)](LICENSE)

A collection of status code enums.

## Available Enums

- Apache
- Auth0
- Braintree
- Cloudflare
- FirebaseAuth
- FirebaseAdminAuth
- FirebaseAnalytics
- FirebaseMessaging
- FTP
- Http
- IIS
- IRC
- Mocha
- MongoDB
- Mongoose \*wip
- Nginx
- Node
- Postgres
- Prisma
- Twitter

## Install

npm:  
`npm install @status/codes`

yarn:  
`yarn add @status/codes`

## Example Usage

```typescript
import { Http } from '@status/codes';

export class NotFoundError extends Error {
  readonly code = Http.NotFound;
}
```

Use with express:

```javascript
const { Http } = require('@status/codes');

create(request, response) {
  return Model.create(request.body)
    .then(instance => response.status(Http.Created).json(instance))
    .catch(error => response.status(Http.Conflict).json(error))
}
```

Or Nestjs:

```typescript
import { Injectable, NotFoundException } from '@nestjs/common';
import { DatabaseService, Prisma } from '@my-app/database';
import { PrismaError } from '@status/codes';

@Injectable()
export class UserService {
  constructor(private readonly db: DatabaseService) {}

  async getUserById(id: string) {
    try {
      return await this.db.user.findUniqueOrThrow({
        where: { id },
      });
    } catch (error) {
      if (error instanceof Prisma.PrismaClientKnownRequestError) {
        if (error.code === PrismaError.DependentRecordNotFound) {
          throw new NotFoundException(`User with id ${id} not found`);
        }
      }

      throw error;
    }
  }
}
```
npm package: @statusbar/battery
Description: Battery level block for Statusbar.
Author: Renée Kooi
Latest version: 0.1.0

# @statusbar/battery

A battery status block for [Statusbar](https://github.com/goto-bus-stop/statusbar).

## Usage

```js
const battery = require('@statusbar/battery')

bar.use(battery())
```

## Dependencies

This block uses [upower](https://upower.freedesktop.org) to retrieve battery information.
It probably came preinstalled with your OS, and if not it should be available in the relevant repositories:

```bash
apt-get install upower
# or
pacman -S upower
# etc
```

## License

[MIT](../../LICENSE)
npm package: @statusbar/block
Description: Create blocks for Statusbar.
Author: Renée Kooi
Latest version: 0.0.2

# @statusbar/block

Create blocks for [Statusbar](https://github.com/goto-bus-stop/statusbar).

## Usage

```js
// date.js
const block = require('@statusbar/block')

module.exports = block({
  // A unique name for your block.
  name: 'date',

  // Default options.
  options: {
    format: 'YYYY-MM-DD HH:mm:ss'
  },

  // If you provide a function instead, its return value is used as the options
  // instead. This way you can accept non-object values as options:
  options (options) {
    // dateBlock('MM-DD-YYYY HH:mm')
    if (typeof options === 'string') {
      return { format: options }
    }
    // Provide defaults.
    return Object.assign({
      format: 'YYYY-MM-DD HH:mm:ss',
    }, options)
  },

  // If your block needs to update every N seconds, you can provide an interval.
  // This will keep calling your `run` method.
  // Numeric value in milliseconds.
  interval: 1000,

  // If you need to do some initialisation, do it in the `init` method.
  // First argument is the Block, second is the provided options.
  init (b, options) {
  },

  // Run your block.
  // First argument is the Block, second is the provided options.
  run (b, options) {
    b.update(format(new Date(), options.format))
  },

  // Clean up when the status bar is shutting down.
  // First argument is the Block, second is the provided options.
  dispose (b, options) {
  }
})
```

Now, this block can be used as:

```js
const date = require('./date.js')
bar.use(date())
// or
bar.use(date({ interval: 2000 }))
// or
bar.use(date('MM-DD-YYYY HH:mm'))
```

## License

[MIT](../../LICENSE)
npm package: @statusbar/date
Description: Date block for Statusbar.
Author: Renée Kooi
Latest version: 0.1.0

# @statusbar/date

A Date block for [Statusbar](https://github.com/goto-bus-stop/statusbar).

Dates are formatted using [fecha](https://github.com/taylorhakes/fecha#formatting-tokens).

## Usage

```js
const date = require('@statusbar/date')

bar.use(date())
```

## License

[MIT](../../LICENSE)
npm package: @statusbar/diskusage
Description: Disk usage block for Statusbar.
Author: Renée Kooi
Latest version: 0.2.0

# @statusbar/diskusage

A Disk usage block for [Statusbar](https://github.com/goto-bus-stop/statusbar).

## Usage

```js
const diskusage = require('@statusbar/diskusage')

// Devices are labelled by their mount point by default.
bar.use(diskusage('/dev/sda1'))
// But you can add a custom label, too!
bar.use(diskusage({ fs: '/dev/sda2', label: '📂' }))
```

## License

[MIT](../../LICENSE)
npm package: @statusbar/dzen
Description: dzen2 integration for Statusbar.
Author: Renée Kooi
Latest version: 0.2.0

# @statusbar/dzen

dzen integration for [Statusbar](https://github.com/goto-bus-stop/statusbar).

## Usage

```js
const dzen = require('@statusbar/dzen')

bar.use(dzen())
```

## Options

See the [dzen2](https://github.com/goto-bus-stop/dzen2#api-dzen) options.

This module supports one additional option:

 - `spawn` - Whether the module should start dzen.
   Defaults to `true`.
   When `false`, dzen-formatted output will be written to stdout instead.
   You can then run statusbar by piping its stdout to dzen:

   ```bash
   statusbar | dzen2 -dock
   ```

## License

[MIT](../../LICENSE)
npm package: @statusbar/i3bar
Description: i3bar integration for Statusbar.
Author: Renée Kooi
Latest version: 0.0.2

# @statusbar/i3bar

i3bar integration for [Statusbar](https://github.com/goto-bus-stop/statusbar).

## Usage

```js
const i3bar = require('@statusbar/i3bar')

bar.use(i3bar())
```

## License

[MIT](../../LICENSE)
npm package: @statusbar/lemonbar
Description: lemonbar integration for Statusbar.
Author: Renée Kooi
Latest version: 0.1.0

# @statusbar/lemonbar

lemonbar output for [Statusbar](https://github.com/goto-bus-stop/statusbar).

## Usage

```js
const lemonbar = require('@statusbar/lemonbar')

bar.use(lemonbar())
```

Then pipe statusbar and lemonbar together, perhaps using [dupsh](https://github.com/substack/dupsh):

```bash
dupsh 'statusbar ./config.js' 'lemonbar'
```

## License

[MIT](../../LICENSE)
npm package: @statusbar/mpd
Description: mpd "now playing" block for Statusbar.
Author: Renée Kooi
Latest version: 0.1.0

# @statusbar/mpd

An [mpd](https://musicpd.org) "Now Playing" block for statusbar.

## Usage

```js
const mpd = require('@statusbar/mpd')

bar.use(nowplaying({
  format: '{artist} - {title}',

  // connection defaults:
  port: 6600,
  host: 'localhost',
  // but you can also use a domain socket:
  path: '/var/run/mpd.sock'
}))
```

## Format

The `format` option takes a simple formatting string.
Supported tags:

 - `{artist}` - The artist name. (the `Artist` meta field)
 - `{album}` - The album that this song is on.
 - `{title}` - The song title.
 - `{track}` - Track number of this song in the album.
 - `{albumartist}` - The Album Artist meta field.

## License

[MIT](../../LICENSE)
npm package: @statusbar/terminal
Description: Output a Statusbar line to a terminal.
Author: Renée Kooi
Latest version: 0.0.1

# @statusbar/terminal

Output [Statusbar](https://github.com/goto-bus-stop/statusbar) to an ANSI
terminal with [ansi-diff-stream](https://github.com/mafintosh/ansi-diff-stream).

## Usage

```js
const terminal = require('@statusbar/terminal')

bar.use(terminal())
```

## License

[MIT](../../LICENSE)
npm package: @statusbar/text
Description: Static text block for Statusbar.
Author: Renée Kooi
Latest version: 0.0.2

# @statusbar/text

A static text block for [Statusbar](https://github.com/goto-bus-stop/statusbar).

## Usage

```js
const text = require('@statusbar/text')

bar.use(text('Hello world!'))
```

## License

[MIT](../../LICENSE)
npm package: @statusbar/volume
Description: Volume display and control for Statusbar.
Author: Renée Kooi
Latest version: 0.0.2

# @statusbar/volume

A Volume block for [Statusbar](https://github.com/goto-bus-stop/statusbar).

## Usage

```js
const volume = require('@statusbar/volume')

bar.use(volume())
```

## License

[MIT](../../LICENSE)
npm package: @statusbar/whoami
Description: A block showing the current user's name for Statusbar.
Author: Renée Kooi
Latest version: 0.1.0

# @statusbar/whoami

Show the current user name in [Statusbar](https://github.com/goto-bus-stop/statusbar).

## Usage

```js
const whoami = require('@statusbar/whoami')

bar.use(whoami())
```

## License

[MIT](../../LICENSE)
npm package: @statusbar/wifi
Description: WiFi status block for Statusbar.
Author: Renée Kooi
Latest version: 0.1.0

# @statusbar/wifi

A WiFi status block for [Statusbar](https://github.com/goto-bus-stop/statusbar).

## Usage

```js
const wifi = require('@statusbar/wifi')

bar.use(wifi())
// Or with options:
bar.use(wifi({
  // wlan0 is default.
  device: 'wlan1'
}))
```

## License

[MIT](../../LICENSE)
npm package: @statuscake/statuscake-js
Description: StatusCake API client
Author: StatusCake
Latest version: 1.1.0-beta.1

# statuscake-js ![test](https://github.com/StatusCakeDev/statuscake-js/workflows/test/badge.svg)

**NOTE**: This library is in alpha and not production ready. Whilst it can be
used we will not offer support until it is generally available.

The JavaScript implementation of the [StatusCake
API](https://www.statuscake.com/api/v1) client. Documentation for this library
can be found [here](https://www.statuscake.com/api/v1).

## Prerequisites

You will need the following things properly installed on your computer.

* [Node.js](https://nodejs.org/en/): any one of the **three latest major**
  [releases](https://nodejs.org/en/)

## Installation

With [NPM](https://www.npmjs.com/), run the following command

```bash
npm install --save "@statuscake/statuscake-js"
```

to add the package to your `package.json` file.

## Usage

Import the package from any JavaScript/TypeScript file, instantiate an API
client and execute a request:

```javascript
import 'isomorphic-fetch';
import {
  Configuration,
  UptimeApi,
} from '@statuscake/statuscake-js';

const config = new Configuration({
  headers: {
    'Authorization': `Bearer ${apiToken}`,
  },
});

const service = new UptimeApi(config);
service.listUptimeTests()
  .then((tests) => console.log(JSON.stringify(tests)))
  .catch(console.log);
```

## License

This project is licensed under the [MIT License](LICENSE.md).