open-index/open-npm huggingface dataset:
npm package: @mantou/vscode-emmet-helper
Description: Helper to use emmet modules in Visual Studio Code
Author: Microsoft Corporation
Latest version: 2.11.0

# vscode-emmet-helper
A helper module to use emmet modules with Visual Studio Code


Visual Studio Code extensions that provide language service and want to provide emmet abbreviation expansions 
in auto-complete can include this module and use the `doComplete` method.
Just pass the one of the emmet supported syntaxes that you would like the completion provider to use along with other parameters that you would generally pass to a completion provider.

If `emmet.includeLanguages` has a mapping for your language, then the builit-in emmet extension will provide 
html emmet abbreviations. Ask the user to remove the mapping, if your extension decides to provide
emmet completions using this module
npm package: @mantrachain/sdk
Description: SDK for MantraCHain blockchain interactions
Author: LimeChain
Latest version: 14.1.0

# Mantrachain SDK [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

## Pre-requisites

- [Node.js](https://nodejs.org/en/) >= 18.12.0
- [Yarn](https://yarnpkg.com/) >= 1.22.18
- [Ignite](https://github.com/ignite/cli) = 0.27.1

## Installation

Using npm:

```shell
npm i --save @mantrachain/sdk
```

## Development

Clone the source:

```shell
git clone https://github.com/MANTRA-Finance/mantrachain-sdk.git
```

Change directory:

```shell
cd mantrachain-sdk
```

Install the dependencies:

```shell
npm i
```

Parse the proto files:

```shell
./scripts/sdk.gen.sh {branch}
```

- `{branch}`: [mantrachain](https://github.com/MANTRA-Finance/mantrachain)'s branch name of the proto files <i>(default: develop)</i>

Update the generated files:

```shell
./scripts/update-signer.sh
```

Build:

```shell
npm run build
```

## Usage

```javascript
import { Client, utils } from "@mantrachain/sdk";
import { DirectSecp256k1HdWallet } from "@cosmjs/proto-signing";

(async () => {
  const mnemonic = "..."; // MNEMONIC
  const wallet = await DirectSecp256k1HdWallet.fromMnemonic(mnemonic, {
    prefix: "mantra",
  });

  const creator = (await wallet.getAccounts())[0].address;

  const client = new Client(
    {
      apiURL: "http://127.0.0.1:1317",
      rpcURL: "http://127.0.0.1:26657",
      prefix: "mantra",
    },
    wallet
  );
})();
```

## Modules Docs

- [x/guard](./docs/modules/guard.md)
- [x/coinfactory](./docs/modules/coinfactory.md)
- [x/token](./docs/modules/token.md)
- [x/liquidity](./docs/modules/liquidity.md)
- [x/lpfarm](./docs/modules/lpfarm.md)

### For pull requests

- Use [semantic commit messages](https://www.conventionalcommits.org/)
npm package: @mantris/bearer
Description: JWT/JWKS Express middleware with scope validation.
Latest version: 6.2.6

# @mantris/bearer

JWT/JWKS Express middleware with scope validation.


## Usage sample:

```js
const { HttpError } = require('@mantris/appify')
const bearer = require('@mantris/bearer')

// ...

const { jwt, scope, unauthorized } = bearer.factory({
  jwks: {
    uri: 'https://token-issuer.id.domain.com/.well-knonwn/jwks.json'
  },
  jwt: {
    audience: 'urn:id:app:my-app-slug',
    issuer: 'https://token-issuer.id.domain.com/'
  }
})

api.get('/secure-endpoint', jwt, (req, res) => {
  res.end('secured!')
})

api.get('/admin-only', jwt, scope('admin'), (req, res) => {
  res.end('secured!')
})

api.use(unauthorized((err) => {
  throw new HttpError.Unauthorized(err.reason, err.message)
}))
```
npm package: @mantris/config
Description: Configuration object.
Latest version: 6.2.2

# @mantris/config

## Install

```sh
npm i @mantris/config
```

## Usage

```js
const factory = require('@mantris/config')

const config = factory({
  host: 'http://mantris.io/'
})

console.log(config.has('host')) // true
console.log(config.has('foo')) // false
console.log(config.host) // http://mantris.io/
console.log(config.get('host')) // http://mantris.io/
console.log(config.get('foo')) // null
console.log(config.get('foo', 'bar')) // bar
```