open-index/open-npm huggingface dataset:
npm package: @irys/cli
Description: NodeJS multi-token CLI for the Irys network
Author: Irys maintainers
Latest version: 0.0.19

# CLI

NodeJS multi-token CLI for Irys network bundlers.

## Docs

https://docs.irys.xyz/build/d/storage-cli/installation

## Installation

```sh
npm install @irys/upload-cli
```
npm package: @irys/query
Description: Irys query package
Author: JesseTheRobot
Latest version: 0.0.13

# Irys Query package
[![Irys query package](./assets/query-package-yt-image.png?raw=true)](https://youtu.be/zD0XNzw90lc)

The Irys query package enables users to search Irys and Arweave through an intuitive JavaScript package.

It is easily implemented in a few lines of code.	

>The query package is for searching transaction metadata on Irys and Arweave and Arweave block information. Once you've found transactions, use the transaction ID to [download](http://docs.irys.xyz/developer-docs/downloading) the associated data.

## Installation

You can install via npm:

```console
npm install @irys/query
```

and yarn:

```console
yarn add @irys/query
```

## Imports

Import the Irys query package with:

```js
import Query from "@irys/query";
```

## Creating a Query object

Start by instantiating a new `Query` object, this is a shared instance you can reuse each time you want to execute a new query:

```js
const myQuery = new Query();
```

Then execute a query by chaining together a series of functions that collaboratively narrow down the results returned:

```js
const results = await myQuery
	.search("irys:transactions")
	.tags([{ name: "Content-Type", values: ["image/png", "image/gif"] }])
	.token("matic")
	.fromTimestamp(new Date("2022-07-01"))
	.toTimestamp(new Date("2023-07-03"))
	.sort("ASC")
	.limit(20);
```

## Query locations

Using the Query class users can search:

- Irys transactions
- Arweave transactions
- Arweave blocks

## Further reading

Consult our [documentation](http://docs.irys.xyz/developer-docs/querying/query-package#imports) for sample code demonstrating each query type.
npm package: @irys/upload-ethereum
Description: Ethereum NodeJS token client for Irys network bundlers
Author: Irys maintainers
Latest version: 0.0.16

# ethereum

Ethereum NodeJS token client for Irys network bundlers.

## Docs

https://docs.irys.xyz/build/d/sdk/install-configure

## Installation

```sh
npm install @irys/upload-ethereum
```
npm package: @irys/upload-solana
Description: Solana NodeJS token client for Irys network bundlers
Author: Irys maintainers
Latest version: 0.1.8

# solana-node

Solana NodeJS token client for Irys network bundlers.

## Docs

https://docs.irys.xyz/build/d/irys-in-the-browser#solana

## Installation

```sh
npm install @irys/upload-solana
```
npm package: @irys/web-upload-aptos
Description: Aptos web token client for Irys network bundlers
Author: Irys maintainers
Latest version: 0.0.15

# aptos-web

Aptos web token client for Irys network bundlers.

## Docs

https://docs.irys.xyz/build/d/irys-in-the-browser#aptos

## Installation

```sh
npm install @irys/upload-aptos-web
```
npm package: @irys/web-upload-ethereum
Description: Ethereum web token client for Irys network bundlers
Author: Irys maintainers
Latest version: 0.0.16

# ethereum-web

Ethereum web token client for Irys network bundlers.

## Docs

https://docs.irys.xyz/build/d/irys-in-the-browser

## Installation

```sh
npm install @irys/web-upload-ethereum
```
npm package: @irys/web-upload-ethereum-ethers-v6
Description: Provider adapter library for adapting ethersv6 providers for use with the web Ethereum Irys bundler token client
Author: Irys maintainers
Latest version: 0.0.16

# ethereum-ethers-v6

Provider adapter library for adapting ethersv5 providers for use with the web Ethereum Irys bundler token client.

## Docs

https://docs.irys.xyz/build/d/irys-in-the-browser#ethers-v6

## Installation

```sh
npm install @irys/web-upload-ethereum-ethers-v6
```
npm package: @irys/web-upload-ethereum-viem-v2
Description: Provider adapter library for adapting Viem v2 providers for use with the web Ethereum Irys bundler token client
Author: Irys maintainers
Latest version: 0.0.17

# ethereum-viem-v2

Provider adapter library for adapting Viem v2 providers for use with the web Ethereum Irys bundler token client.

## Docs

https://docs.irys.xyz/build/d/irys-in-the-browser#viem-v2

## Installation

```sh
npm install @irys/web-upload-ethereum-viem-v2
```
npm package: @irysius/anguli-cli
Description: Command line interface for the anguli framework
Author: Lester Sy
Latest version: 0.1.5

# Anguli Components

Relies on a global implementation of Promise.

This library contains server-side components common to my web server implementations. It is unlikely that you will consume this library directly.

See [some other repo](#) for details.

## Installation

	$ npm install @irysius/anguli-components
	
## Usage

anguli setup
anguli controller
anguli hub
anguli model
anguli react-component?
npm package: @irysius/anguli-components
Description: Web server components for the anguli framework
Author: Lester Sy
Latest version: 0.2.11

# Anguli Components

Relies on a global implementation of Promise.

This library contains server-side components common to my web server implementations. It is unlikely that you will consume this library directly.

See [some other repo](#) for details.

## Installation

	$ npm install @irysius/anguli-components
	
## Usage

anguli setup
anguli controller
anguli hub
anguli model
anguli react-component?
npm package: @irysius/config-manager
Description: Manager that assembles configurations from different sources.
Author: Lester Sy
Latest version: 0.1.0

# Config Manager

Relies on a global implementation of Promise.

This service assumes an application that takes a very particular shape, and may not be applicable for all purposes.

This service acts as an assembler of configuration sources, and will likely require the use of other modules.

## Installation

	$ npm install @irysius/config-manager
	
## Usage

To instantiate the manager:

	var startingConfig = {};
	var ConfigManager = require('@irysius/config-manager');
	var configManager = ConfigManager(startingConfig);
	
To use middleware with the manager:

	// the middleware instances conform to the interface ConfigMiddleware (see below)
	configManager
		.use(middlewareOne)
		.use(middlewareTwo)
		
To generate the configuration:

	configManager
		.use(middlewareOne)
		.use(middlewareTwo)
		.assemble().then(function (config) {
			// Use config
		});
	
## API
### interface ConfigMiddleware
	
	{
		transform: Object => Promise<Object>
	}

### constructor
`ConfigManager(startingConfig?: {})`

Constructor for the config manager.

### configManager.use
`configManager.use(ConfigMiddleware) => configManager`

### configManager.assemble
`configManager.assemble() => Promise<Object>`
npm package: @irysius/file-config-service
Description: Utility for parsing configurations from file based sources.
Author: Lester Sy
Latest version: 0.1.2

#File Config Service

Relies on a global implementation of Promise.

This service assumes an application that takes a very particular shape, and may not be applicable for all purposes.

It is intended to be used with `@irysius/config-service`. 

It searches paths progressively for configuration files, and optionally merge in environment specific configurations if necessary.

For all paths, it is suggested an absolute path be provided.

## Installation

	$ npm install @irysius/file-config-service
	
## Usage

To instantiate a service:

	var FileConfigService = require('@irysius/file-config-service');
	var fileConfigService = FileConfigService({ rootFolder: __dirname, paths: ['config.json'] });
	
By default it is assumed the config will be assembled in the following manner:

	configManager
		.use(fileConfigService)
		.assemble().then(function (config) {
			// Use config
		});
		
But you may use it as a standalone like so:

	fileConfigService.transform(prevConfig).then(function (config) {
		// Use config
	});
	
## API
### constructor
`FileConfigService({ rootFolder: String, paths: Array<String>, locator?: () => Array<String>})`

Constructor for the config service.

The root folder is mandatory, and is the root by which the paths array will resolve from.

The paths array is mandatory, but may be empty. The service proceeds down the list one-by-one until it finds a matching file. It only considers the first match.

Once a match is found, the locator, if provided, will be used to search for additional files that may need to be merged in.

### fileConfigService.transform
`fileConfigService.transform(prevConfig: {}) => Promise<nextConfig: {}>`

Tries to merge in the located configuration, and returns a Promise of the new configuration.
npm package: @irysius/grid-math
Description: Tools to assist with grid math and algorithms
Author: Lester Sy
Latest version: 0.0.8

# @irysius/grid-math

## This thing needs bloody unit tests

## Library Validation
### Validate CommonJS
To check if the library can run in a NodeJS setting:

    $ gulp build
    $ node check


### Validate AMD
To check if the library can run in a RequireJS setting:

    $ gulp build
    $ http-server

Inspect the console to see if the components all loaded.

## Library Usage
### Usage in NodeJS

    $ npm install --save @irysius/grid-math

### Usage in RequireJS

    $ npm install --save @irysius/grid-math

Assuming your `require` config might look like the following:

    var require = {
        paths: {
            '@irysius/grid-math': 'lib/math'
        }
    };

You would then copy the contents of the `build` folder to `lib/math`.

If you would like to take advantage of the predefined TypeScript definitions, please use `@irysius/grid-math` as the name.
npm package: @irysius/schema-service
Description: Utility for validating javascript objects against defined schemas.
Author: Lester Sy
Latest version: 0.1.2

#Schema Service

Relies on a global implementation of Promise.

This service assumes an application that takes a very particular shape, and may not be applicable for all purposes.

It is intended to load a bunch of schemas in a folder, and provide helper methods for validating javascript objects against these loaded schemas.

For all paths, it is suggested an absolute path be provided.

## Installation

	$ npm install @irysius/schema-service
	
## Usage

To instantiate a service:

	var SchemaService = require('@irysius/schema-service');
	var schemaService = SchemaService();
	
Before using it, you need to initialize the service with the schema folder's location:

	schemaService.initialize('./schemas').then(() => {
		return SchemaService.validate(
			{}, // config object
			schemaService.schemas['configuration']).then(instance => {
				// continue working with the validated object.
			}).catch(err => {
				// handle validation error.
			});
	});
	
For consistency with my other services, initialize always returns a Promise.

The above example assumes a file at `./schemas/configuration.json` exists, that follows the format specified by [json-schema](http://json-schema.org).

## API
### SchemaService.validate
`SchemaService.validate(data: any, schema: any) => Promise<any>`

Validates given object data against provided schema. 

If the data validates, returns the data wrapped in a Promise.

If the data isn't valid, returns an Error object with the additional fields: `instance` and `errors`, for further inspection.
 
### instance.initialize
`instance.initialize(schemaFolder: String) => Promise`

Goes through the provided folder and attaches all json files to `instance.schemas`.

You gain access to the different schemas by referring to them by filename in `instance.schemas`.

For example, if the file `outbound.json` exists in the schema folder, then you can access its contents via `instance.schemas['outbound']`.

### instance.schemas
`instance.schemas`

Returns a hash of all schemas located via `instance.initialize`.

If this property is accessed before initializing the service, the service throws an error.
npm package: @irysius/typings-util
Description: Utility functions to help assemble TypeScript declarations
Author: Lester Sy
Latest version: 0.2.0

# @irysius/typings-util

Utility functions to help assemble TypeScript declarations.

## Usage
1. Make sure your project can generate loose declaration files using `tsc -d`.
2. Install this package: `npm install --save-dev @iryius/typings-util`
3. Import the main function in your task running script of choice:

    var generateTypes = require('@irysius/typings-util');

4. If your generated types are in the `types` folder, if you want your declarations to be rooted against `@irysius/custom-lib`, and if you want the concatenated result to be `index.d.ts`:

    let promise = generateTypes('./types', '@irysius/custom-lib', './index.d.ts');
npm package: @irysius/utils
Description: Opinionated utility functions
Author: Lester Sy
Latest version: 0.2.5

#Utilities

Relies on a global implementation of Promise.

The set of utilities here are intended to be reused across my modules.

They mostly revolve around Promisifying and grouping existing node functions to my liking.

## Installation

	$ npm install @irysius/utils
	
## API

### fs

**fs.stat**

`fs.stat(path: String) => ???`

**fs.writeFile**

`fs.writeFile(file: String, data: String, options) => Promise`

Promise returning version of node's `fs.writeFile`.

**fs.readFile**

`fs.readFile(file: String, options) => Promise<any>`

Promise returning version of node's `fs.readFile`.

**fs.removeFile**

`fs.removeFile(file: String) => Promise`

Promise returning version of node's `fs.unlink`.

**fs.moveFile**

`fs.moveFile(source: String, target: String) => Promise`

Wraps the `mv` library in a Promise.

**fs.copyFile**

`fs.copyFile(source: String, target: String)` => Promise`

Wraps the `ncp` library in a Promise.

**fs.chmod**

`fs.chmod(file: String, mode: Number) => Promise`

Promise returning version of node's `fs.chmod`.

**fs.removeFolder**

`fs.removeFolder(path: String) => Promise`

Wraps the `rimraf` library in a Promise.

**fs.assertFolder**

`fs.assertFolder(path: String) => Promise`

Wraps the `mkdirp` library in a Promise.

**fs.moveFolder**

`fs.moveFolder(source: String, target: String) => Promise`

Wraps the `mv` library in a Promise.

**fs.copyFolder**

`fs.copyFolder(source: String, target: String) => Promise`

Wraps the `ncp` library in a Promise.

**fs.listContents**

`fs.listContents(path: String, options) => Promise<Array<{ path: String, stat: fs.Stats }>>`

Returns an array of item records at the provided path (shallow). An item record exposes its full path, and the corresponding stats object.

options.filter takes a predicate that takes an item record, and will only return items for which the predicate returns true for. 

**fs.listFiles**

`fs.listFiles(path: String, options) => Promise<Array<String>>`

Returns an array of full file paths at the provided path.

options.recurse is a boolean that determines if listing the files should be recursive or not.

options.ignore is a string or array of strings to exclude from the results based on an indexOf check against the file's basename.

**fs.listDirectories**

`fs.listDirectories(path: String, options) => Promise<Array<String>>`

Returns an array of full directory paths at the provided path.

options.recurse is a boolean that determines if listing the directories should be recursive or not.

options.ignore is a string or array of strings to exclude from the results based on an indexOf check against the folder's basename.
npm package: @iryu54/badge-audit
Description: Generate a badge for vulnerabilities
Latest version: 1.0.1

# Badge-audit
![vulnerabilities](audit-badge.svg)
## Install
``` npm i @iryu54/badge-audit```
``` npm i -g @iryu54/badge-audit```

## Usage 

Global
``` javascript
const audit = require('@iryu54/badge-audit)
;(async _ => {
  const svg = await audit.launch()
})()
```
npm package: @iryu54/checker
Description: Just a small module to check website in interval of one hour and send problems on discord
Latest version: 1.3.1

# Checker

Just a small module to check website in interval of one hour and send problems on discord

## Install

``` bash
npm i @iryu54/checker
```

## Usage

``` bash
DISCORD_TOKEN=<your bot token\> CHANNEL_ID=<channel to send msg> URLS=http://some-site.com,https://another-site/somewhere checker
```

Available command in discord: 

| Command  | Description  | 
|---|---|
| /isAlive  | Check if service is online or not  |
| /autotest  | Launch a full report  |