open-index/open-npm huggingface dataset:
npm package: @mercadoeletronico/eslint-config
Description: ME ESLint Config
Author: Mercado Eletrônico
Latest version: 1.0.5

# ME ESLint Config

```bash
# With npm
npm i @mercadoeletronico/eslint-config

# With yarn
yarn add @mercadoeletronico/eslint-config
```

Add `@mercadoeletronico` to extends in your **.eslintrc.js**.

```json
{
  "extends": [
    "@mercadoeletronico"
  ]
}
```
npm package: @mercadoeletronico/me-eslint
Description: ME ESLint Config
Author: Mercado Eletrônico
Latest version: 1.0.1

# ME ESLint Config

```bash
# With npm
npm i @mercadoeletronico/me-eslint

# With yarn
yarn add @mercadoeletronico/me-eslint
```

Add `@mercadoeletronico/me-eslint` to extends in your **.eslintrc.js**.

```json
{
  "extends": [
    "@mercadoeletronico/me-eslint"
  ]
}
```
npm package: @mercadoeletronico/me-eslint-module
Description: ESLint Module
Author: Mercado Eletrônico
Latest version: 1.0.10

# ME ESLint Nuxt.js Module

```bash
# With npm
npm i @mercadoeletronico/me-eslint-module

# With yarn
yarn add @mercadoeletronico/me-eslint-module
```

Add `@mercadoeletronico/me-eslint-module` to modules section of **nuxt.config.js**.

```js
module.exports = {
  modules: ['@mercadoeletronico/me-eslint-module']
}
```
npm package: @mercadoeletronico/me-icon
Description: ME Font Library
Author: Mercado Eletrônico
Latest version: 2.1.1

# ME Icons Project

## Prerequisites

* Git
* Node

## Getting started

1. Install dependencies <pre>yarn install</pre>
2. Start environment (project root) <pre>yarn build</pre>

## Development Steps

1. Create or Customize the svg file. (1024 x 1024px)
2. Drop the file in the folder "src/icons"
3. Increment the version "package.json"
4. Run "yarn build"
5. Open the file ".target/build/example.html" to look the result.
6. Commit and push

## Docs Site
1. Run "yarn docs"
2. Run "yarn serve"
3. Server running on "http://127.0.0.1:8282"
npm package: @mercadoeletronico/me-toolkit
Description: ME-Toolkit based on Bootstrap 4 and Vue JS.
Author: Mercado Eletrônico
Latest version: 2.2.2

# ME Toolkit

Library based on Bootstrap 4 and Vue JS.

### Build Setup

``` bash
# install dependencies
$ yarn

# serve with hot reload at localhost:8001
$ yarn dev

# run tests
$ yarn test

# generate static site for docs
$ yarn docs

# build dist for npm package deploy
$ yarn build
```
npm package: @mercadoeletronico/meweb-module
Description: ME-Web Nuxt.js Module.
Author: Mercado Eletrônico
Latest version: 2.3.1

# ME Web Nuxt.js Module

Integrated middleware with ME-WEB`s Microservices.

1. ME-Toolkit
2. ME Vuex Store
3. Auth
4. GA 
5. i18n

## Getting Started

### Nuxt.js module

[Nuxt.js](https://nuxtjs.org/) version <code>2.8.1</code> (or greater) is recommended.

Install dependencies:

```bash
# With npm
npm i @mercadoeletronico/meweb-module

# With yarn
yarn add @mercadoeletronico/meweb-module
```

Add `@mercadoeletronico/meweb-module` to modules section of **nuxt.config.js**.

```js
module.exports = {
  modules: ['@mercadoeletronico/meweb-module']
}
```

## Auth Middleware

The MEWeb`s module provides an authentication middleware

```js
module.exports = {
  router: {
    // Run the middleware/me-auth.js on every page
    middleware: 'me-auth'
  }
}
```

## Built-in Vuex

### ME Module

#### Getters

Get current user
```bash
$store.getters['me/getUser']
```

Get current Customer
```bash
$store.getters['me/getCustomer']
```

Get current locale
```bash
$store.getters['me/getLocale']
```

Get site map
```bash
$store.getters['me/getSiteMap']
```

Get available locales
```bash
$store.getters['me/getLocales']
```

#### Actions

Set current user
```bash
store.dispatch('me/setUser', {
	name: 'Renato Dias',
	role: 'Developer'
})
```
Set current customer
```bash
store.dispatch('me/setCustomer', {
	idMain: 1,
	header: {
    logo: '',
    background: {
      mainImage: '',
      repeatImage: '',
      primaryColor: '',
      secondaryColor: ''
    }
  }
})
```

Set current locale
```bash
store.dispatch('me/setLocale', 'pt-BR')
```

Load site-map
```bash
store.dispatch('me/loadSiteMap')
```

Change User-Locale

1. Change User Locale on ME-WEB
2. Update store
3. Reload Site-map

```bash
store.dispatch('me/changeLocale', 'pt-BR')
```
npm package: @mercadoeletronico/wopi-proof-validator
Description: A library for validating WOPI Proof Keys coming from Microsoft Office in Node.js
Latest version: 1.0.2

# wopi-proof-validator
A library for validating WOPI Proof Keys coming from Microsoft Office in Node.js

Extracted from Egnyte's integration with Office Online.

Implemented according to https://wopi.readthedocs.io/en/latest/scenarios/proofkeys.html#proof-keys

Last change to logic: 2016/02, continues to work 2018/03


## Usage

```js
const wopiValidator = require('wopi-proof-validator');

const isValid = wopiValidator.check(
    {
        url: mydomain + req.originalUrl,
        accessToken: req.query.access_token,
        timestamp: req.headers['x-wopi-timestamp']  //!String! Too big for JavaScript numeric types
    },
    {
        proof: req.headers['x-wopi-proof'],
        proofold: req.headers['x-wopi-proofold']
    },
    {
        modulus: '...',
        exponent: '...',
        oldmodulus: '...',
        oldexponent: '...'
    }
);

```

### Debug

To debug the implementation set the env variable `DEBUG=wopiproof` and see output.

### Tests

Run `npm test` to trigger basic smoke tests

## Contributing

Contributions welcome.

Looking forward to accepting pull requests with test improvements.
npm package: @mercados-pecuarios/commons-lib
Description: Biblioteca de clases comunes para los proyectos de la solución Sitio Web Mercados Pecuarios
Author: José Gamaliel Rivera Ibarra
Latest version: 0.1.21

# Mercados Pecuarios Commons Lib

Biblioteca de clases comunes para el código en JavaScript/TypeScript de los componentes de la solución del Sitio Web Mercados Pecuarios.


## Environment Variables

 * LOGGER_PREFIX: prefijo o nombre por defecto que se le asigna al logger.
 * LOGGER_LEVEL: nivel a partir del cual se harán los registros en bitácora. "silly" -> "input" -> "verbose" -> "prompt" -> "debug" -> "info" -> "data" -> "help" -> "warn" -> "error".
 * ENABLE_CLOUD_LOGGING: habilita el registro en bitácora en la nube (Google Cloud Logging).
 * DEFAULT_ERROR_CODE: código de error por defecto.
 * DEFAULT_ERROR_MESSAGE: mensaje de error por defecto.
 * AUTHORIZATION_HEADER_INFO: permite especificar el header en el cual se encuentra el JWT del usuario en sesión.
npm package: @mercados-pecuarios/etl-commons-lib
Description: Biblioteca de clases comunes para la Plataforma Big Data de la solución Sitio Web Mercados Pecuarios
Author: José Gamaliel Rivera Ibarra
Latest version: 0.1.85

# Mercados Pecuarios ETL Commons Lib

Biblioteca de clases comunes para el código en JavaScript/TypeScript para el componente Plataforma Big Data de la solución del Sitio Web Mercados Pecuarios.

## Environment Variables