open-index/open-npm huggingface dataset:
npm package: @habsyr/weth-helper
Description: A simple class for helping to wrap and unwrap Ether.
Author: Henry Harder
Latest version: 0.3.0

# WETH Helper (`@habsyr/weth-helper`)

Exports a helper class `WethHelper` to simplify interactions with the canonical [wrapped Ether](https://weth.io) (WETH9) contract.

Documentation can be found in the [`docs/`](./docs/classes/wethhelper.md) folder.

## Usage

This section will get you started quickly with the `WethHelper` class.

### Install

Add the package to your project.

```bash
# with yarn
yarn add @habsyr/weth-helper

# with npm
npm i --save @habsyr/weth-helper
```

### Import

Import the helper class into your codebase.

```typescript
// ES6+ and TypeScript
import { WethHelper } from "@habsyr/weth-helper";

// CommonJS
const { WethHelper } = require("@habsyr/weth-helper");
```

### Setup

You must instantiate helper instances with a configured Ethereum provider.

#### Browser

To use in a `web3` supported browser, try the following.

```javascript
const { WethHelper } = require("@habsyr/weth-helper");

(async () => {
    await window.ethereum.enable();

    const wethHelper = new WethHelper(window.ethereum);

    // use any public methods after construction
    const one = wethHelper.toBaseUnits(1);
    const txId = await wethHelper.wrap(one);
})();
```

#### Server

For usage in the server (Node.js), try the following.

```javascript
const { WethHelper } = require("@habsyr/weth-helper");
const Web3 = require("web3");

const {
    ETHEREUM_JSONRPC_URL = "http://localhost:8545",
} = process.env;

const web3 = new Web3(ETHEREUM_JSONRPC_URL);
const wethHelper = new WethHelper(web3.currentProvider);
```

## Develop

1. Install dependencies (`yarn`)
1. Build source (`yarn build`)
1. Lint source (`yarn lint`)
1. Generate docs (`yarn docs`)
1. Run tests against Ganache RPC (`yarn test`)

## License

[MIT Licensed](./LICENSE).

Written by Henry Harder (`@hrharder`), 2019.

## Contributing

Contributions and issue reports welcome and encourage. 

Please feel free to open an [issue](https://github.com/hrharder/weth-helper/issues) or a [pull request](https://github.com/hrharder/weth-helper/pulls) as needed.
npm package: @habui-epi/gulp-compile-handlebars
Description: Compile Handlebars templates to file - gulp plugin
Author: Kaanon MacFarlane
Latest version: 0.0.7

# gulp-compile-handlebars
Forked from [gulp-template](https://github.com/sindresorhus/gulp-template)
Inspired by [grunt-compile-handlebars](https://github.com/patrickkettner/grunt-compile-handlebars)

> Compile [Handlebars templates](http://www.handlebarsjs.com/)

## Install

Install with [npm](https://npmjs.org/package/gulp-compile-handlebars)

```
npm install --save-dev gulp-compile-handlebars
```


## Example

### `src/hello.handlebars`

```handlebars
{{> header}}
<p>Hello {{firstName}}</p>
<p>HELLO! {{capitals firstName}}</p>
{{> footer}}
```

### `src/partials/header.handlebars`

```handlebars
<h1>Header</h1>
```

### `gulpfile.js`

```js
var gulp = require('gulp');
var handlebars = require('gulp-compile-handlebars');
var rename = require('gulp-rename');

gulp.task('default', function () {
	var templateData = {
		firstName: 'Kaanon'
	},
	options = {
		ignorePartials: true, //ignores the unknown footer2 partial in the handlebars template, defaults to false
		partials : {
			footer : '<footer>the end</footer>'
		},
		batch : ['./src/partials'],
		helpers : {
			capitals : function(str){
				return str.toUpperCase();
			}
		}
	}

	return gulp.src('src/hello.handlebars')
		.pipe(handlebars(templateData, options))
		.pipe(rename('hello.html'))
		.pipe(gulp.dest('dist'));
});
```

### `dist/hello.html`

```html
<h1>Header</h1>
<p>Hello Kaanon</p>
<p>HELLO! KAANON</p>
<footer>the end</footer>
```

## Options

- __ignorePartials__ : ignores any unknown partials. Useful if you only want to handle part of the file
- __partials__ : Javascript object that will fill in partials using strings
- __batch__ : Javascript array of filepaths to use as partials
- __helpers__: javascript functions to stand in for helpers used in the handlebars files
- __compile__: compile options. See [handlebars reference](http://handlebarsjs.com/reference.html#base-compile) for possible values

## handlebars.Handlebars

You can access the Handlebars library from the `handlebars.Handlebars` property.

```js
var handlebars = require('gulp-compile-handlebars');
var safestring = new handlebars.Handlebars.SafeString('<strong>HELLO! KAANON</strong>');
```

## Works with gulp-data

Use gulp-data to pass a data object to the template based on the handlebars file being processed.
If you pass in template data this will be extended with the object from gulp-data.

See [gulp-data](https://www.npmjs.org/package/gulp-data) for usage examples.

## License

[MIT](http://opensource.org/licenses/MIT) © [Kaanon MacFarlane](http://kaanon.com)
npm package: @habytorg/juro-api
Description: Typed client API for Juro
Author: holcz
Latest version: 1.0.6

# 📑 Client API for Juro

This client is intended to access [Juro](https://juro.com/) in a type safe manner.
[The API doc description](https://api-docs.juro.com/)


+1: it contains the OpenAPI specification of the Juro API, so you can easily build your own client - if you publish your package with the help of the spec, maybe mention this package as origin. 🍻


## Prerequisites
The package is using the `fetch` API, hence you need to provide it with one of the followings:
- use node version `> 18` - recommended
- use `--experimental-fetch` on node version `>16.15.0`
- install `node-fetch`


## Working with this project

- Install the package: `npm install` / `yarn install`
- Execute the tests: `npm run test` / `yarn test`
- Check linter errors: `npm run lint` / `yarn lint`
- Fix linter errors: `npm run lint:fix`  /`yarn run lint:fix`
- Regenerate the API defs from the open-api specs: `npm run generate` / `yarn generate`

## Examples
```
import { Juro } from '@habyt/juro-api';

const juro = Juro('your-juro-api-key');
const result = await juro.health.healthCheck(); //result is { message: 'ok' }
```