open-index/open-npm huggingface dataset:
npm package: @naddison36/account-abstraction-sdk
Description: This package provides 2 APIs for using UserOperations:
Latest version: 0.5.2

# SDK to create and send UserOperation 

This package provides 2 APIs for using UserOperations:

- Low-level "walletAPI"
- High-level Provider


## LowLevel API:

### BaseWalletAPI

An abstract base-class to create UserOperation for a contract wallet.

### SimpleAccountAPI

An implementation of the BaseWalletAPi, for the SimpleWallet sample of account-abstraction.

```typescript
owner = provider.getSigner()
const walletAPI = new SimpleAccountAPI({
    provider, 
    entryPointAddress,
    owner,
    factoryAddress
})
const op = await walletAPI.createSignedUserOp({
  target: recipient.address,
  data: recipient.interface.encodeFunctionData('something', ['hello'])
})
```

## High-Level Provider API

A simplified mode that doesn't require a different wallet extension. 
Instead, the current provider's account is used as wallet owner by calling its "Sign Message" operation.

This can only work for wallets that use an EIP-191 ("Ethereum Signed Message") signature (like our sample SimpleWallet)
Also, the UX is not great (the user is asked to sign a hash, and even the wallet address is not mentioned, only the signer)

```typescript
import { wrapProvider } from '@account-abstraction/sdk'

//use this account as wallet-owner (which will be used to sign the requests)
const aaSigner = provider.getSigner()
const config = {
  chainId: await provider.getNetwork().then(net => net.chainId),
  entryPointAddress,
  bundlerUrl: 'http://localhost:3000/rpc'
} 
const aaProvider = await wrapProvider(provider, config, aaSigner)
const walletAddress = await aaProvider.getSigner().getAddress()

// send some eth to the wallet Address: wallet should have some balance to pay for its own creation, and for calling methods.

const myContract = new Contract(abi, aaProvider)

// this method will get called from the wallet address, through account-abstraction EntryPoint
await myContract.someMethod()
```
npm package: @nadeemramsing/mongoose-auto-number
Description: Mongoose plugin to auto increment numeric field
Author: Nadeem Ramsing
Latest version: 2.0.10

# mongoose-auto-number

[![npm version](https://badge.fury.io/js/mongoose-auto-number.svg)](http://badge.fury.io/js/mongoose-auto-number)

This plugin can be used to auto increment any number field in a schema.

## Installation

```sh
$ npm install mongoose-auto-number
```

### Usage

Once you have the plugin installed it is very simple to use. Just get reference to it, initialize it by passing in your mongoose connection and pass autoNumber.plugin to the plugin() function on your schema.

> Note: You only need to initialize the mongoose once.

```javascript
var mongoose = require('mongoose'),
    Schema = mongoose.Schema,
    autoNumber = require('mongoose-auto-number');
 
var connection = mongoose.createConnection("mongodb://localhost/dbname");
 
autoNumber.init(connection);
 
var itemSchema = new Schema({
    itemNo: {
        type: Number,
        autoIncrement: true    
    },
    name: String,
    price: Number
});
 
itemSchema.plugin(autoNumber.plugin, 'Item');

```
npm package: @nadeemramsing/mongoose-rest-query
Description: Mongoose
Author: Nadeem Ramsing
Latest version: 2.0.28

# mongoose-rest-query

[![npm version](https://badge.fury.io/js/@nadeemramsing%2Fmongoose-rest-query.svg)](https://www.npmjs.com/package/@nadeemramsing/mongoose-rest-query)
npm package: @nadeeshadileen/npm-pack-test
Description: A simple component library to demonstrate publishing to npm
Author: Nadeesha Nawagaththegama
Latest version: 1.0.5

# TypeScript Components by Nadeesha Nawagaththegama

This repository was created as part of a guide to publishing TypeScript React components. You can read the guide over here: [Publishing TypeScript React components to NPM](https://fildon.hashnode.dev/publishing-typescript-react-components-to-npm)

## Getting Started

Install this package:

```shell
npm install npm-pack-test
```

Import the Counter component:

```js
import { Counter } from "npm-pack-test";
```

You can then render the `Counter` component like any other React component in JSX.
npm package: @nadeeshadileen/raintree-ui
Description: Raintree UI Component Library
Author: nadeeshadileen nadeeshadileen@gmail.com
Latest version: 0.1.6

# Getting Started with Raintree UI Component Library

This project was bootstrapped with storybook and material-ui.

## Available Scripts

You can install:

### `yarn add @nadeeshadileen/raintree-ui`
npm package: @nadeeshadileen/storybooktest1
Description: Sample UI design system
Author: nadeeshadileen nadeeshadileen@gmail.com
Latest version: 0.2.3

# Storybook design system tutorial

The Storybook design system tutorial is a subset of the full [Storybook design system](https://github.com/storybookjs/design-system/), created as a learning resource for those interested in learning how to write and publish a design system using best in practice techniques.

Learn more in [Storybook tutorials](https://storybook.js.org/tutorials/).
npm package: @nadeshikon/sprite-vtt-generator
Description: Easily generate thumbnail sprites and its vtt file.
Author: binoy638
Latest version: 1.1.0

# Sprite Vtt Generator

## Easily generate thumbnail sprites along with vtt file.

### Important Note: FFmpeg needs to be installed.

Example

```ts
import SpriteGenerator from 'sprite-vtt-generator';

const spriteGenerator = new SpriteGenerator({
  inputPath: './test/test.mp4',
  outputDir: './test/output',
  width: 120, // default 160,
  height: 60, // default 90,
  rowCount: 2, // default 5,
  colCount: 5, // default 5,
  multiple: true, // default false, if true rowCount will be ingored,
  interval: 5, // if not provided optimal interval will be chosed based on video duration,
  thumbnailPrefix: 'img', // default 'thumb',
  webVTT: {
    required: true,
    path: './test/output/test.vtt',
  },
});

await spriteGenerator.generate();
```