open-index/open-npm huggingface dataset:
npm package: @spot-meetings/code-style
Description: Spot's Code Style guide (ESLint, Prettier)
Author: Spot Meetings
Latest version: 0.6.2

# @spot-meetings/eslint-config

Spot's Code Style configs (ESLint, Prettier).

Supports Node.js, TypeScript and React.

## Installation

`npm i -D @spot-meetings/code-style`

`yarn add -D @spot-meetings/code-style`

## Configuration

### For JavaScript

`/.eslintrc`

```json
{
  "extends": "@spot-meetings/eslint-config/javascript"
}
```

`/.prettierrc.js`

```js
module.exports = require('@spot-meetings/code-style/prettier')
```

### For TypeScript

`/.eslintrc`

```json
{
  "extends": "@spot-meetings/eslint-config/typescript"
}
```

`/.prettierrc.js`

```js
module.exports = require('@spot-meetings/code-style/prettier')
```

## Project Setup

After installation, you can run the setup script with:

`$(yarn bin)/spot-setup-code-style`

`$(npm bin)/spot-setup-code-style`

With TypeScript, you may have to update the project configuration to the parser options section of the ESLint config to point to the correct `./tsconfig.json` file:

```json
{
  "extends": "@spot-meetings/code-style/typescript",
  "parserOptions": {
    "project": "./tsconfig.json"
  }
}
```

## VSCode

Add the [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) and [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) extensions
and configure your formatter to use Prettier as default.
npm package: @spot-meetings/eslint-config
Description: Spot's ESLint configs (ESLint, Prettier)
Author: Spot Meetings
Latest version: 0.5.3

# @spot-meetings/eslint-config

Spot's ESLint configs.

Supports Node.js, TypeScript and React.

## Installation

`npm i -D @spot-meetings/eslint-config`

`yarn add -D @spot-meetings/eslint-config`

## Configuration

### For JavaScript

`/.eslintrc`

```json
{
  "extends": "@spot-meetings/eslint-config/javascript"
}
```

### For TypeScript

`/.eslintrc`

```json
{
  "extends": "@spot-meetings/eslint-config/typescript"
}
```
npm package: @spot-meetings/utils
Description: Spot's utility functions.
Author: Spot Meetings
Latest version: 0.0.3

# @spot-meetings/utils

Spot's utility functions.

## Installation

```
npm i @spot-meetings/utils
```

```
yarn add @spot-meetings/utils
```

## Usage

Just import the module you'd like to use:

```ts
import { getInstanceIp } from '@spot-meetings/utils/lib/network'

const ip = getInstanceIp()
```

Or import everything:

```ts
import { network } from '@spot-meetings/utils'

const ip = network.getInstanceIp()
```

## Available Modules

Module|Description
---|---
`network`|Local and public IP resolution functions.