open-index/open-npm huggingface dataset:
npm package: @pbuk/rec-math
Description: Recreational mathemetics including games and puzzle solvers
Author: pbuk
Latest version: 1.0.0

# RecMath

> Recreational mathemetics including games and puzzle solvers.

## Getting Started: in a web page

Current major browsers are supported but not Internet Explorer (edit `targets`
in `rollup.config.js` and run `npm run build` to change this).

Load the script from the CDN:

```html
<script src="https://cdn.jsdelivr.net/npm/@pbuk/rec-math@1"></script>
```

The module is exported as `RecMath`:

```html
<script>
  document.write(RecMath.version);
</script>
```

## Getting Started: in Node.js

Node >= 12 is currently supported in the distributed modules.

Install from `npm`:

```console
$ npm i @pbuk/rec-math
```

Require CommonJS module:

```js
// Default should work...
const RecMath = require('rec-math');
// ...or specify CommonJS module.
const RecMath = require('rec-math/dist/cjs');
```

or import as an ES6 module:

```js
// Default should work...
import RecMath from 'rec-math';
// ...or specify ES6 module.
import RecMath from 'rec-math/dist/esm';
```

## Documentation

## Development

```console
$ # Run unit tests.
$ npm run test:unit
$
$ # Build and run all tests.
$ npm run build
$ npm run test
```

## Contributing

## License

Distributed under the MIT License. See [LICENSE] for more information.

## Contact

## Acknowledgements
npm package: @pbutlewski/storybook-html
Description: A Storybook addon that extracts and displays compiled syntax-highlighted HTML
Author: Whitespace
Latest version: 5.0.2

# Storybook Addon HTML

This addon for Storybook adds a tab that displays the compiled HTML for each
story. It uses [highlight.js](https://highlightjs.org/) for syntax highlighting.

![Animated preview](https://raw.githubusercontent.com/whitespace-se/storybook-addon-html/master/image.gif)

## Getting Started

With NPM:

```sh
npm i --save-dev @whitespace/storybook-addon-html
```

With Yarn:

```sh
yarn add -D @whitespace/storybook-addon-html
```

### Register addon

```js
// .storybook/main.js

module.exports = {
  // ...
  addons: [
    '@whitespace/storybook-addon-html',
    // ...
  ],
};
```

## Usage

The HTML is formatted with Prettier. You can override the Prettier config
(except `parser` and `plugins`) by providing an object following the
[Prettier API override format](https://prettier.io/docs/en/options.html) in the
`html` parameter:

```js
// .storybook/preview.js

export const parameters = {
  // ...
  html: {
    prettier: {
      tabWidth: 4,
      useTabs: false,
      htmlWhitespaceSensitivity: 'strict',
    },
  },
};
```

You can override the wrapper element selector used to grab the component HTML.

```js
export const parameters = {
  html: {
    root: '#my-custom-wrapper', // default: #root
  },
};
```

When using Web Components, the HTML will contain empty comments, i.e. `<!---->`.
If you want to remove these, use the `removeEmptyComments` parameter:

```js
export const parameters = {
  html: {
    removeEmptyComments: true, // default: false
  },
};
```

You can override the `showLineNumbers` and `wrapLines` settings for the syntax
highlighter by using the `highlighter` parameter:

```js
export const parameters = {
  html: {
    highlighter: {
      showLineNumbers: true, // default: false
      wrapLines: false, // default: true
    },
  },
};
```

## Supported frameworks

As of version 4.0.0 all frameworks are supported per default 🎉
npm package: @pbwebdev/cardano-wallet-browser-extensions-interface
Description: Helper library to interact with Cardano Wallets
Author: Gene Alyson Fortunado Torcende
Latest version: 1.9.0

# Cardano Wallet Browser Extensions Interface

A helper javascript library/package to interact with Cardano Wallets

## Installation

`npm install @pbwebdev/cardano-wallet-browser-extensions-interface`

## Supported Wallets

-   Eternl
-   Yoroi
-   Typhon
-   GeroWallet
-   NuFi
-   Lace
-   Begin
-   VESPR

## Usage

Simple ADA payment to an address

```javascript
import Extensions from '@pbwebdev/cardano-wallet-browser-extensions-interface'
import { adaToLovelace } from '@pbwebdev/cardano-wallet-browser-extensions-interface/utils'

const amountInAda = 123
const wantedWallet = 'Lace'
const payeeAddress =
    'addr_test1qqr585tvlc7ylnqvz8pyqwauzrdu0mxag3m7q56grgmgu7sxu2hyfhlkwuxupa9d5085eunq2qywy7hvmvej456flknswgndm3'
const protocolParameters = {} // latest protocol parameters

const Wallet = await Extensions.getWallet(wantedWallet)
const transaction = await Wallet.payTo(payeeAddress, adaToLovelace(amountInAda), protocolParameters)

console.log('Transaction Hash', transaction)
```

Simple stake pool delegation

```javascript
import Extensions from '@pbwebdev/cardano-wallet-browser-extensions-interface'

const poolId = '6658713e2cbfa4e347691a0435953f5acbe9f03d330e94caa3a0cfb4'
const wantedWallet = 'Eternl'
const protocolParameters = {} // latest protocol parameters
const accountInformation = {} // stake account information

const Wallet = await Extensions.getWallet(wantedWallet)
const transaction = await Wallet.delegateTo(poolId, protocolParameters, accountInformation)

console.log('Transaction Hash', transaction)
```