open-index/open-npm huggingface dataset:
npm package: @iiddoo/aim-password-retrieve
Description: Retrieve password for user.
Author: “Ido
Latest version: 2.1.2

[![Build Status](https://travis-ci.org/iiddoo/aim-password-retrieve.svg?branch=master)](https://travis-ci.org/iiddoo/aim-password-retrieve)
[![Coverage Status](https://coveralls.io/repos/github/iiddoo/aim-password-retrieve/badge.svg?branch=master)](https://coveralls.io/github/iiddoo/aim-password-retrieve?branch=master)
[![npm version](https://badge.fury.io/js/%40iiddoo%2Faim-password-retrieve.svg)](https://badge.fury.io/js/%40iiddoo%2Faim-password-retrieve)

# aim-password-retrieve
Retrieve password for user

## Installation

  `npm install @iiddoo/aim-password-retrieve`

## Usage

    const retriever = require('@iiddoo/aim-password-retrieve');

    const pwd = retriever('user');

  
  Output should be `password`


## Tests

  `npm test`
npm package: @iifetech-ui/core
Description: A modern React component library and design system by IIFE Tech
Latest version: 1.0.4

# @iifetech-ui/core

A modern React component library and design system by IIFE Tech.

## Installation

npm install @iifetech-ui/core## Usage

**Important:** You must wrap your app with `ThemeProvider` to use components. This ensures proper Emotion cache initialization.

```tsx
import { ThemeProvider, Button, TextField, Checkbox } from '@iifetech-ui/core';

function App() {
  return (
    <ThemeProvider>
      <div>
        <Button>Click me</Button>
        <TextField label="Name" />
        <Checkbox label="Accept terms" />
      </div>
    </ThemeProvider>
  );
}
```## Components

- Button
- TextField
- Checkbox
- NumberField
- RadioGroup
- Rating
- Switch
- Badge
- Select

## Requirements

- React 18+ or 19+
- React DOM 18+ or 19+

## License

MIT
npm package: @iifire/store-analysis-plugin
Description: A Medusa plugin to provide store analytics features.
Author: Ahmed-M-Aboutaleb
Latest version: 1.0.6

# Medusa Store Analysis Plugin

Advanced revenue insights, order health metrics, and historical currency normalization for Medusa Admin.

## Features

- 📊 Admin Analytics Dashboard
- 🗓️ Smart Date Filtering
- 💰 Intelligent Currency Normalization
- 🧾 Detailed Data Reporting

## Installation

Install with npm

```bash
  npm install @iifire/store-analysis-plugin
```
npm package: @iigethr/zaha_alignments
Description: Align a given element.
Author: Team IIGETHR
Latest version: 0.0.4

# Zaha Alignments
Horizontally or Vertically center align a given element.

## Installation

###### NPM
```
npm i zaha_alignments
```

###### Yarn
```
yarn add zaha_alignments
```

## Usage

Declare the element using the css class ".center-h" for horizontal alignment or ".center-v" for vertical.

```
ZahaAlignments.centerH();
ZahaAlignments.centerV();
```

## License
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
npm package: @iigethr/zaha_overlay
Description: Overlay module for mobile & desktop layouts.
Author: Team IIGETHR
Latest version: 0.0.8

# Zaha Overlay
Overlay module for mobile & desktop layouts.

## Installation

###### NPM
```
npm i zaha_overlay
```

###### Yarn
```
yarn add zaha_overlay
```

## Usage

```
ZahaOverlay.basic();
```

## License
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
npm package: @iigethr/zaha_sortable
Description: Sort elements & update position records.
Author: Team IIGETHR
Latest version: 0.0.2

# Zaha Sortable
Sort elements & update position records.

## Installation

###### NPM
```
npm i zaha_sortable
```

###### Yarn
```
yarn add zaha_sortable
```

## Usage

Declare the parent box using the css class ".sortable" and set sortable children using the css class ".sortable-item".

```
ZahaSortable.position();
```

## License
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
npm package: @iigethr/zaha_visibilities
Description: Align a given element.
Author: Team IIGETHR
Latest version: 0.0.2

# Zaha Visibilities
Hide elements on click.

## Installation

###### NPM
```
npm i zaha_visibilities
```

###### Yarn
```
yarn add zaha_visibilities
```

## Usage

```
ZahaVisibilities.hideOnClick();
```

## License
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
npm package: @iihll/eslint-config
Description: iihll's ESLint config
Author: iihll
Latest version: 0.0.5

# @iihll/eslint-config

## Usage

### Install

```bash
pnpm add -D eslint @iihll/eslint-config
```

### Config `.eslintrc`

```json
{
  "extends": "@iihll/eslint-config"
}
```

> You don't need `.eslintignore` normally as it has been provided by the preset.

### Add script for package.json

For example:

```json
{
  "scripts": {
    "lint": "eslint .",
    "lint:fix": "eslint . --fix"
  }
}
```

### Config VS Code auto fix

Install [VS Code ESLint extension](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) and create `.vscode/settings.json`

```json
{
  "prettier.enable": false,
  "editor.formatOnSave": false,
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
  }
}
```

### Lint Staged

If you want to apply lint and auto-fix before every commit, you can add the following to your `package.json`:

```json
{
  "simple-git-hooks": {
    "pre-commit": "pnpm lint-staged"
  },
  "lint-staged": {
    "*": "eslint --fix"
  }
}
```

and then

```bash
npm i -D lint-staged simple-git-hooks
```
npm package: @iihll/gf
Description: A command line tool for generating Vue file
Author: iihll
Latest version: 0.0.5

# A command line tool for generating Vue file

## Install
```txt
npm i -g gf-iihll
```

## Usage
```txt
gf help                       Get detailed help for a command  
gf gen <file_name>            Generate your vue file for using GF  
gf version                    Display GF version
```
npm package: @iiif-viewer/basic-iiif-viewer
Description: A simple webcomponent that displays a iiif image.
Author: Bronson Brown-deVost
Latest version: 0.1.14

# `basic-iiif-viewer`

> TODO: description

## Usage

```
const basicIiifViewer = require('basic-iiif-viewer');

// TODO: DEMONSTRATE API
```
npm package: @iiif-viewer/iiif-image-info-parser
Description: This is a simple javascript utility that fetches and parses a iiif image API info.json file and extracts the relevant information for accessing the image.
Author: Bronson Brown-deVost
Latest version: 1.0.5

# iiif-image-info-parser

 [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg)](https://lerna.js.org/)

This is a simple javascript utility the fetches and parses a iiif image API info.json file and extracts the relevant information for accessing the image.

It will calculate image tiles based on the server supplied information and can provide the optimal tiles for any given display resolution.

## How to use It

Either build the library from this repository or simple use NPM `npm i @iii-viewer/iiif-image-info-parser`.  The library can be used either in a browser or with node:

```javascript
import IiifImageInfoParser from 'iiif-image-info-parser'

fetch('https://cool/iiif/resource')
.then(res => res.text())
.then(info => {
    const parser = new IiifImageInfoParser(info)
    const tileInfo = parser.calculateFullImageTiles(2000, 2000)
    /* Do something with the tiles here */
})
.catch(e => alert(e))

```

## How it works

The `IiifImageInfoParser` class is instantiated with a URL for the image resource being accessed.  Then you must call the async `init()` function, which downloads the iiif `info.json` and performs the initial parsing.  Alternatively, you can pass an info.json file directly to the constructor, and avoid the need to call `init()`.

The `calculateImageTiles` (allows image cropping) and `calculateFullImageTiles` functions receive a desired width and height of the image, in pixels, as parameters.  They both return an array of tile objects with all the information necessary to reconstruct the image, either locally as a file, or in the browser within a canvas or SVG element, or any other desired application.  The tile object provides the x and y coordinates for the starting point of the tile along with the tile width and height, finally it provides a preformatted URL to the image (or portion therof) that should be placed at those coordinates.  

## Get involved

I am happy to receive PRs and any improvements to the library, especially building it out to optimize for support all the variations of iiif servers that exist in the wild.

If you have a PR, please to ensure that tests have been written for any new functionality and that all current tests still pass.
npm package: @iiif-viewer/iiif-image-tile-provider
Description: A package to provide optimal tiling information for a sepecific iiif image resource under the specified viewing conditions
Author: Bronson Brown-deVost
Latest version: 1.0.11

# `@iiif-viewer/iiif-image-tile-provider`

> TODO: description

## Usage

```
const iiifImageTileProvider = require('@iiif-viewer/iiif-image-tile-provider');

// TODO: DEMONSTRATE API
```
npm package: @iiif-viewer/iiif-svg-display-manager
Description: A module to manage displaying and updating of iiif image tiles in an SVG context
Author: Bronson Brown-deVost
Latest version: 1.0.16

# `@iiif-viewer/iiif-svg-display-manager`

> TODO: description

## Usage

```
const iiifSvgDisplayManager = require('@iiif-viewer/iiif-svg-display-manager');

// TODO: DEMONSTRATE API
```
npm package: @iiif-viewer/iiif-svg-image-tiles
Description: A utility to produce efficient, individual svg <image> elements for each tile of a iiif image
Author: Bronson Brown-deVost
Latest version: 1.0.5

# `@iiif-viewer/iiif-svg-image-tiles`

> TODO: description

## Usage

```
const iiifSvgImageTiles = require('@iiif-viewer/iiif-svg-image-tiles');

// TODO: DEMONSTRATE API
```
npm package: @iiif/iiif-av-component
Description: npm i     npm run build     npm start
Author: @edsilv
Latest version: 1.2.4

# iiif-av-component

    npm i
    npm run build
    npm start
    
 ## Example Manifests
 
 https://iiif-commons.github.io/iiif-av-component/examples/data/bl/sounds-tests/index.html

 ## Publishing

Checkout the `master` branch, and ensure it is up-to-date.

Run `npm version [major | minor | patch]` for example:

```
npm version patch
```

This will update the `package.json` version and create a git tag. Then push both the main/tag.

```
git push origin main v0.0.8
```

Then the GitHub action will pick up the tag and publish it to NPM :tada:
npm package: @iiif/iiif-gallery-component
Description: ## Getting started
Author: @edsilv
Latest version: 1.1.23

# iiif-gallery-component

## Getting started

    npm i
    npm run build
    npm start

This will launch a demo on http://localhost:3000/examples that you can use for interactive testing.

## Making a release

First decide on a new version number (x.y.z) using [semantic versioning](https://semver.org/). Then run these commands, being sure to substitute the real version number for x.y.z below:

    npm i
    npm version x.y.z
    npm publish
npm package: @iiif/iiif-metadata-component
Description: ## Getting started
Author: @edsilv
Latest version: 1.2.2

# iiif-metadata-component

## Getting started

    npm i
    npm run build
    npm start

This will launch a demo on http://localhost:3000/examples that you can use for interactive testing.

## Making a release

First decide on a new version number (x.y.z) using [semantic versioning](https://semver.org/). Then run these commands, being sure to substitute the real version number for x.y.z below:

    npm i
    npm version x.y.z
    npm publish
npm package: @iiif/iiif-redux
Description: Redux store for IIIF (in development)
Latest version: 0.0.0-pre.1

# iiif-redux

Redux store for IIIF (in development) based on https://spin.atomicobject.com/2017/07/24/redux-action-pattern-typescript/

Example: http://iiif-commons.github.io/iiif-redux/
npm package: @iiif/iiif-tree-component
Description: npm i     npm run build     npm start
Author: @edsilv
Latest version: 2.0.7

# iiif-tree-component

    npm i
    npm run build
    npm start

<!-- ## Publishing

Checkout the `master` branch, and ensure it is up-to-date.

Run `npm version [major | minor | patch]` for example:

```
npm version patch
```

This will update the `package.json` version and create a git tag. Then push both the main/tag.

```
git push origin master v0.0.8
```

Then the GitHub action will pick up the tag and publish it to NPM -->
npm package: @iiif/manifold
Description: [![Build Status](https://github.com/IIIF-Commons/manifold/actions/workflows/build-test.yml/badge.svg?branch=main)](https://github.com/IIIF-Commons/manifold/actions/workflows/build-test.yml)
Author: @edsilv
Latest version: 2.2.0

# manifold

[![Build Status](https://github.com/IIIF-Commons/manifold/actions/workflows/build-test.yml/badge.svg?branch=main)](https://github.com/IIIF-Commons/manifold/actions/workflows/build-test.yml)

    npm install @iiif/manifold --save

Stateful utils on top of manifesto. Returns a `helper` object that can be used to navigate a IIIF manifest.

e.g.

- `getMetadata`: returns all metadata for current image, range, canvas, sequence, manifest)
- `getCurrentRange`, `getPreviousRange`, `getNextRange`: Used to navigate a flattened range tree (useful for IIIF AV scenarios)
- `getTree`: Returns a default tree (sortable by `navDate`) of collections, manifests, ranges, or a tree based on a given top range.

Has an ajax implementation of manifesto's `IExternalResource` (used in the IIIF auth flow).

## Getting Started

### Documentation

https://iiif-commons.github.io/manifold/

### Developer Setup

    git clone https://github.com/iiif-commons/manifold.git
    npm install
    npm run build

### Testing the build
The build can be run and tested in the browser console by running

    npm start

and navigating to examples/index.html.

### Publishing Package

    git checkout main
    npm version patch
    npm run docs
    git add .
    git commit -m "Release v1.2.3"
    git tag v1.2.3
    git push origin main v1.2.3
npm package: @iiif/presentation-2
Description: A set of types that describe the format of the IIIF Presentation 2.1.1 specification as accurately as possible. Types are also available for [IIIF Presentation 3](https://github.com/IIIF-Commons/presentation-3-types)
Latest version: 1.0.4

# IIIF Presentation 2 types
A set of types that describe the format of the IIIF Presentation 2.1.1 specification as accurately as possible. Types
are also available for [IIIF Presentation 3](https://github.com/IIIF-Commons/presentation-3-types)

Installation:
```
$ npm i @iiif/presentation-2
```
Installation (yarn):
```
$ yarn add @iiif/presentation-2
```

Usage (Typescript):
```typescript
import { Manifest } from '@iiif/presentation-2';

const manifest = getManifestFromSomewhere() as Manifest;

function doSomethingWithManifest(manifest: Manifest) {
 // ...
}
```

Usage (Javascript):
```javascript
/**
 * @typedef { import("@iiif/presentation-2").Manifest } Manifest
 */

/**
 * @type {Manifest}
 */
const manifest = {};


/**
 * @param manifest {Manifest}
 */
function doSomethingWithManifest(manifest) {
    console.log(manifest.label);
}

// You can also inline the import:

/**
 * @type {import("@iiif/presentation-2").Manifest}
 */
const manifest2 = {};
```

This will enable types completions in VSCode and IDEA, along with inline documentation from the IIIF specification:
<img width="713" alt="Screenshot 2021-03-28 at 17 11 14" src="https://user-images.githubusercontent.com/8266711/112759081-4b651600-8fe9-11eb-83c6-9739d557716d.png" />

### Support

The following types are supported:

* Manifest
* Collection
* Canvas
* Annotation (Open Annotation)
* Annotation List  (Open Annotation)
* Layer
* Content Resource
* Provider
* Range
* Service

#### Partial / Abstract types
These types are building blocks of other types.

Type | Description
--- | ---
**TechnicalProperties** | The technical properties of IIIF in a map `TechnicalProperties['id']`
**DescriptiveProperties** | The descriptive properties of IIIF in a map `DescriptiveProperties['label']`
**LinkingProperties** | The linking properties of IIIF in a map `LinkingProperties['related']`
**PagingProperties** | The paging properties of IIIF in a map `PagingProperties['first']`
**RightsProperties** | The structural properties of IIIF in a map `RightsProperties['attribution']`
npm package: @iiif/presentation-3-normalized
Description: IIIF Presentation v3.0 normalized typescript types
Author: Stephen Fraser
Latest version: 0.9.7

# IIIF Presentation 3 types (Normalized)

A set of types that describe an opinionated normalized format of the IIIF Presentation 3.0 specification.

Installation:

```
$ npm i @iiif/presentation-3-normalized
```

Installation (yarn):

```
$ yarn add @iiif/presentation-3-normalized
```

#### Normalized resources

This is map of all the resources normalized where the following modifications are assumed to have been made:

- Everything property exists either as null, or an empty array
- Nested resources are replaced with references (id/type)
- References that _could_ have a selector are mapped to `SpecificResource`

The [@iiif/parser](https://github.com/IIIF-Commons/parser) library is an implementation of this normalization
specification, although they are free to be used standalone.

| Type                               | Description                                            |
|------------------------------------|--------------------------------------------------------|
| **DescriptiveNormalized**          | Normalized abstract with all descriptive properties    |
| **LinkingNormalized**              | Normalized abstract with all linking properties        |
| **StructuralNormalized**           | Normalized abstract with all structural properties     |
| **OtherPropertiesNormalized**      | Misc properties on W3C Annotations normalized          |
| **AnnotationW3cNormalised**        | Normalized W3C Annotation                              |
| **AnnotationCollectionNormalized** | Normalized Annotation Collection                       |
| **AnnotationNormalized**           | Normalized Annotation as it appears in a IIIF Manifest |
| **AnnotationPageNormalized**       | Normalized Annotation Page                             |
| **CanvasNormalized**               | Normalized Canvas                                      |
| **CollectionNormalized**           | Normalized Collection                                  |
| **CreatorNormalized**              | Normalized Creator (from annotation)                   |
| **ManifestNormalized**             | Normalized Manifest                                    |
| **RangeNormalized**                | Normalized Range                                       |
| **ServiceNormalized**              | Alias of Service - NOT CURRENTLY SUPPORTED             |
| **ContentResourceNormalized**      | Alias of ContentResource - NOT CURRENTLY SUPPORTED     |
npm package: @iiif/thumbnail-panel
Description: [Demo](https://thumbnail-panel.netlify.app/) | [Code Sandbox](https://codesandbox.io/dashboard/repositories/github/IIIF-Commons/thumbnail-panel)
Latest version: 0.0.13

# Thumbnail panel

[Demo](https://thumbnail-panel.netlify.app/) | [Code Sandbox](https://codesandbox.io/dashboard/repositories/github/IIIF-Commons/thumbnail-panel)

```bash
npm i @iiif/thumbnail-panel
```

## Development

To start a local development environment, clone the repo, and run:

```bash
yarn install
yarn start
```

A consuming environment for developing is available via the `src/dev.tsx` component.

## Usage

The app will export React components, and also a vanilla JavaScript bundled version (coming soon).

### Vanilla JavaScript

### React

The `ThumbnailPanel` component can be used in a _controlled_ or _uncontrolled_ way. [What is controlled vs uncontrolled?](https://react.dev/learn/sharing-state-between-components#controlled-and-uncontrolled-components).

#### Controlled

```tsx
import { ThumbnailPanel } from "@iiif/thumbnail-panel";

// Somewhere here you'll have to keep track of which
// "resource" is "active".  Handle user events and
// continually pass in whichever resourceId you want
// to be active.

...
<ThumbnailPanel
    currentResourceId="someResourceId"
    iiifContent="https://iiif-commons.github.io/fixtures/examples/thumbnail_panel/non_paged_at_end/v2/manifest.json"
    onResourceChanged={(resourceId?: string) => {
        console.log("resourceId", resourceId);
        // Now you can pass around the current thumbnail item to
        // other parts of your app which need to know about it.
    }}
    orientation="vertical"
/>

```

#### Uncontrolled

```tsx
import { ThumbnailPanel } from "@iiif/thumbnail-panel";

function MyApp() {
    ...

    return (
        <ThumbnailPanel
            iiifContent="https://iiif-commons.github.io/fixtures/examples/thumbnail_panel/non_paged_at_end/v2/manifest.json"
            onResourceChanged={(resourceId?: string) => console.log("resourceId", resourceId)}
            orientation="vertical"
        >
            <Nav />
        </ThumbnailPanel>
    )
}

function Nav() {
    const { isEnd, isStart, next, prev } = useThumbnailPanelContext();

    const { handleNextClick, resourceId: nextResourceId } = next;
    const { handlePrevClick, resourceId: prevResourceId } = prev;

    return (
        <>
            <button onClick={handlePrevClick} disabled={isStart} data-id={prevResourceId}>
                Prev
            </button>
            <button onClick={handleNextClick} disabled={isEnd} data-id={nextResourceId}>
                Next
            </button>
        </>
    );
}

```

#### useThumbnailPanelContext()

Helper hook, details coming soon...

## Publishing

Checkout the `main` branch, and ensure it is up-to-date.

Run `npm version [major | minor | patch]` for example:

```
npm version patch
```

This will update the `package.json` version and create a git tag. Then push both the main/tag.

```
git push origin main v0.0.8
```

Then the GitHub action will pick up the tag and publish it to NPM :tada:
npm package: @iiif/vault
Description: **Current v0.9 waiting for feedback before 1.0**
Latest version: 0.9.22

# Vault

**Current v0.9 waiting for feedback before 1.0**

[Docs to be written]

### Entry points
- `@iiif/vault` -> default vault class
- `@iiif/vault/actions` -> Actions for interacting with vault (tree-shaken out of vault)
- `@iiif/vault/store` -> redux createStore and reducers
- `@iiif/vault/utility` -> set of utilities

### Dependencies

This package depends on both the presentation 2 and 3 parsers. The Vault requires `redux` and `typesafe-actions`, it bundles `mitt`. For the UMD package, it comes in two flavours. The first (and default) includes everything (`dist/index.umd.js`) and there is a
standalone package that does not contain the parser (`dist/index.standalone.umd.js`). This expects `IIIFParser` to be defined and point to `@iiif/parser`. The way this is intended to be used is for both UMD bundles to be added to a page.

### Vault helpers

List of existing, or planned helpers.

- **Thumbnails** - providers methods for resolving thumbnails given a resource and size preferences
- **i18n** - helpers for internationalized values, and integrations with existing tools
- **Styles** - a meta extension for storing CSS styles associated with IIIF content
- **Events** - a meta extension for storing event listeners associated with IIIF content
- **Getters** - a vault wrapper, abstracting away references with javascript getters
- **Rendering strategy** - Normalisation of canvas annotations into simple and implementable strategies for rendering
- **Annotation page manager** - Discovery, loading and management of annotation pages

Custom helpers may opt to use a standard naming (`iiif-vault-[name]-helper`) and a format similar to this:
```ts
function createHelper(vault: Vault, ...dependencies: any[]) {
  return {
    helperA() {
      //..
    }
  };
}
```

### Changes to Hyperion vault

- `state.hyperion` -> `state.iiif`
- Import entities can accept partial resources
- `vault.getThumbnai()` removed
- New `state.meta` for storing non-data linked to IIIF
- Prefix for action type `@hyperion/*` to `@iiif/*`
- `vault.fromRef()` and `vault.allFromRef()` combined into `vault.get()`
npm package: @iiif/vocabulary
Description: IIIF Vocabulary
Author: @edsilv
Latest version: 1.0.31

# vocabulary

> npm install @iiif/vocabulary --save

A central place to keep all IIIF strings/namespaces and make them available as typed enums.

### Publishing Package

    git checkout main
    npm version patch
    git add .
    git commit -m "Release v1.2.3"
    git tag v1.2.3
    git push origin main v1.2.3
npm package: @iiimoood/randomid-generator
Description: The id generator returns a random string with the length entered by the user of the function.
Latest version: 1.0.1

# ID generator

The id generator returns a random string with the length entered by the user of the function.

## Installation

```bash
yarn add @iiimoood/randomid-generator
npm i @iiimoood/randomid-generator
```

## Usage

```
const randomID = require('@iiimoood/randonid-generator');

console.log(randomID(10));
```

## Contributing

Pull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.

Please make sure to update tests as appropriate.