open-index/open-npm huggingface dataset:
npm package: @hyperone/resource-provider
Description: agent provider framework
Latest version: 1.1.1

# Resource Provider Framework

## Versions

* 1.1.1 - Fix compatibility check in `bulkEmitMetric`
* 1.1.0 - Updated protocol & signature in `bulkEmitMetric` in `region.js` to write multiple points of resource per request
* 1.0.0 - Added support for `bulkEmitMetric` in `region.js`
* 1.0.0 - Added support for emit metric to `metric_uri` via passport file
* 1.0.0 - Added `AuthPasswordOrToken` to authenticate & authorize request via IAM / password

## OpenAPI

```javascript
const {openapi} = require('apf');
const Koa = require('koa');
const Router = require('koa-router');
const app = new Koa();
const router = new Router();

const swagger = openapi({
    router: router,
    info: require('./package.json'),
});

swagger.api.addSchema('containerCreate', openapi.props({
    id: {type: 'string'},
    state: {
        type: 'string',
        enum: ['Online', 'Attached', 'Detached', 'Unknown'],
        'x-rbx-field-type': ['state', 'live'],
    },
}));

swagger.addEndpoint({
    method: 'get',
    url: '/resource/:id',
    handler: async (ctx) => {
        ctx.body = await ctx.backend.containerShow(ctx.params.id);
    },
    responses: {
        200: {
            description: 'resource state',
            content: {
                'application/json': {
                    schema: openapi.refComp('container'),
                },
            },
        },
    },
});

router.stack
    .map(route => route.methods.map(method => `AGENT ${method} ${route.path}`)
    .forEach(v => console.log(v)));

app
    .use(router.routes())
    .use(router.allowedMethods());
```
npm package: @hyperone/vhdx
Description: read vhdx info
Author: Frederico Silva
Latest version: 2.1.1

## usage
```javascript
const vhdx = require('@hyperone/vhdx');

const info = await vhdx.info('C:\\disk.vhdx');

{
    type: 'dynamic'     //dynamic || fixed || differencing
  , size: 1073741824    //bytes
  , ...
}

const info = await vhdx.info('http://example.com/test.vhdx');

{
    type: 'dynamic'     //dynamic || fixed || differencing
  , size: 1073741824    //bytes
  , ...
}

```
npm package: @hyperoracle/zkgraph-lib
Description: AssemblyScript library for writing zkGraph for Hyper Oracle
Latest version: 1.0.1
Deprecated: This package has been deprecated in favor of @ora-io/cle-lib. Please migrate to @ora-io/cle-lib for future updates and support.

# [@hyperoracle/zkgraph-lib](https://www.npmjs.com/package/@hyperoracle/zkgraph-lib)

## Install

```bash
npm i @hyperoracle/zkgraph-lib
```

## Intro

zkGraph AssemblyScript Library used in [zkGraph Template](https://github.com/hyperoracle/zkgraph) provides essential data structure for development:

- Event of Ethereum in AssemblyScript
- ByteArray in AssemblyScript
- Bytes in AssemblyScript
- BigInt in AssemblyScript
- ...

For more information, please refer to [zkGraph AssemblyScript Library Doc](https://docs.hyperoracle.io/zkgraph/zkgraph-assemblyscript-lib).