open-index/open-npm huggingface dataset:
npm package: @pythoncoderas/get-github-token
Description: Get a github token from multiple locations.
Author: PythonCoderAS
Latest version: 1.0.0

# @pythoncoderas/get-github-token

Get a github token from multiple locations.

## API

### `getToken(tokenInput?: string | null, environmentVariableName = "GITHUB_TOKEN"): string | null`

Gets a token from the environment or a command line argument.

**Parameters**

- `tokenInput?: string | null` - The token input from the command line.
- `environmentVariableName: string` - The environment variable name to check for a token. Defaults to `GITHUB_TOKEN`.

**Returns**: `string | null` - The token if found, otherwise returns `null`.
npm package: @pythonicit/p4-core-sdk
Description: Node.js SDK for the P4 Rust core C ABI
Latest version: 0.2.7

# JavaScript / TypeScript SDK

Node.js FFI wrapper for the P4 Rust core.

## Install

```bash
npm i @pythonicit/p4-core-sdk
```

## Runtime requirements

- Node.js 18+
- Bundled native runtime targets:
  - Windows x64
  - Linux x64
  - macOS Intel (x64)
  - macOS Apple Silicon (arm64)

Overrides:
- `P4_CORE_LIB` for core native library path

## Example

```javascript
const { P4Core } = require("@pythonicit/p4-core-sdk");

const core = new P4Core();
const a = core.generateIdentity();
const b = core.generateIdentity();

const env = core.signEnvelope({
  privateKeyB64: a.private_key_b64,
  senderPeerId: a.peer_id,
  recipientPeerId: b.peer_id,
  payload: { type: "offer" },
  nonce: "n1",
});

core.verifyEnvelope({ envelope: env, signerPublicKeyB64: a.public_key_b64 });
console.log("ok");
```
npm package: @pythonnut/react-mathjax
Description: React component for MathJax
Latest version: 0.1.6

# React MathJax
*(experimental)*

React component to display math formulas written in AsciiMath or TeX.

![Example of usage](/example.gif)

Based on the [react-mathjax](https://github.com/SamyPesse/react-mathjax) from SamyPesse. The main difference is in updated deps, syntax and extended options (delay of rendering and support for AsciiMath).

## How to install
```
npm install @matejmazur/react-mathjax
```

## How to use
```jsx
const MathJax = require('@matejmazur/react-mathjax')
const ascii = 'U = 1/(R_(si) + sum_(i=1)^n(s_n/lambda_n) + R_(se))'
const tex = `f(x) = \\int_{-\\infty}^\\infty\\hat f(\\xi)\\,e^{2 \\pi i \\xi x}\\,d\\xi`

module.exports = () => {
    return (
        <div>
            <MathJax.Context>
                <div>
                    This is an inline math formula: <MathJax.Node inline>{'a = b'}</MathJax.Node>
                    And a block one:

                    <MathJax.Node>{ascii}</MathJax.Node>
                </div>
            </MathJax.Context>

            <MathJax.Context input='tex'>
                <div>
                    This is an inline math formula: <MathJax.Node inline>{'a = b'}</MathJax.Node>
                    And a block one:

                    <MathJax.Node>{tex}</MathJax.Node>
                </div>
            </MathJax.Context>
        </div>
    );
}
```

## API

### `MathJax.Context` props

#### `script` (String)
- Loads specified link with MathJax library.
- Default: `https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-MML-AM_CHTML`

#### `input` (String)
- Sets type of input.
- Options: `tex` | `ascii`
- Default: `ascii`

#### `delay` (Number)
- Sets delay between updates.
- Default: 0 (the main difference between this library and [react-mathjax](https://github.com/SamyPesse/react-mathjax) from SamyPesse)

#### `options` (Object)
- Sets [MathJax configuration](http://docs.mathjax.org/en/latest/options/index.html?highlight=hub.config#configuration-objects). 
- Default: Official MathJax configuration

## Acknowledgements
- This project was forked from [SamyPesse](https://github.com/SamyPesse) ([react-mathjax](https://github.com/SamyPesse/react-mathjax)).

## License
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details.
npm package: @pyto86/mdtranslator
Description: [![License](http://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](http://fand.mit-license.org/)
Author: pyto86
Latest version: 0.0.3

# mdtranslator
[![License](http://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](http://fand.mit-license.org/)

> Markdown file translator.

`mdtranslator` suports;

- **all** markdown syntax defined in [mdast](https://github.com/syntax-tree/mdast).
- **all** languages defined in [here](https://github.com/matheuss/google-translate-api/blob/master/languages.js).

## Install

```shell
$ npm i -g mdtranslator
```

## Usage

```shell
$ mdtranslator --from en --to ja en.md > ja.md
$ mdtranslator --help
Usage: mdtranslator [options]

Options:
  --from <lang>  set the source language (default: "ja")
  --to <lang>    set the translation target language (default: "en")
  -h, --help     display help for command
```

## Acknowledgements

- It's depending on Google Translate and Google Translate has request limits.

### LICENSE
MIT

### TODO

- To translate code comments.
npm package: @pytorchlive/camera
Description: PyTorch Live Camera
Author: Roman Rädle
Latest version: 0.0.1-alpha.7

# 🚧 Work-in-Progress 🚧
This package is still under development. To learn how to add ML to your React Native applications now, checkout [pytorch.org/live](https://pytorch.org/live) and follow us on Twitter [@pytorchlive](https://twitter.com/pytorchlive) for updates
npm package: @pytorchlive/image-classification
Description: PyTorch Live Image Classification Solution
Author: Roman Rädle
Latest version: 0.0.1-alpha.20

# 🚧 Work-in-Progress 🚧
This package is still under development. To learn how to add ML to your React Native applications now, checkout [pytorch.org/live](https://pytorch.org/live) and follow us on Twitter [@pytorchlive](https://twitter.com/pytorchlive) for updates
npm package: @pytorchlive/media
Description: PyTorch Live Media API
Author: Roman Rädle
Latest version: 0.0.1-alpha.4

# 🚧 Work-in-Progress 🚧
This package is still under development. To learn how to add ML to your React Native applications now, checkout [pytorch.org/live](https://pytorch.org/live) and follow us on Twitter [@pytorchlive](https://twitter.com/pytorchlive) for updates
npm package: @pytorchlive/torch
Description: PyTorch Live Torch-like API
Author: Roman Rädle
Latest version: 0.0.1-alpha.7

# 🚧 Work-in-Progress 🚧
This package is still under development. To learn how to add ML to your React Native applications now, checkout [pytorch.org/live](https://pytorch.org/live) and follow us on Twitter [@pytorchlive](https://twitter.com/pytorchlive) for updates
npm package: @pytorchlive/vision
Description: PyTorch Live Torchvision-like API
Author: Roman Rädle
Latest version: 0.0.1-alpha.10

# 🚧 Work-in-Progress 🚧
This package is still under development. To learn how to add ML to your React Native applications now, checkout [pytorch.org/live](https://pytorch.org/live) and follow us on Twitter [@pytorchlive](https://twitter.com/pytorchlive) for updates
npm package: @pytsite/bootstrap
Description: Twitter Bootstrap for PytSite
Author: Oleksandr Shepetko
Latest version: 1.1.0

# Twitter Bootstrap for PytSite


## Changelog


### 1.1.0 (2019-01-02)

v4 updated to 4.2.1.


### 1.0.2 (2018-09-26)

`add-ons.css` moved to separate file.


### 1.0.1 (2018-09-26)

`package.json` updated.


### 1.0.0 (2018-09-26)

Initial release
npm package: @pytsite/responsive
Description: PytSite Responsive Utilities
Author: Oleksandr Shepetko
Latest version: 1.1.1

# PytSite Responsive Utilities


## Changelog


### 1.1.1 (2018-10-28)

ES6 feature fixed.


### 1.1.0 (2018-10-23)

Public API changed.


### 1.0.0 (2018-09-26)

Initial release