open-index/open-npm huggingface dataset:
npm package: @findify/helpers
Description: ``` npm install @findify/helpers --save ``` or ``` yarn add @findify/helpers ``` Alternatively, you can use UMD builds, by requiring them to the page using `<script>` tag: ``` https://findify-assets-2bveeb6u8ag.netdna-ssl.com/helpers-js/findify-helpers.0.
Author: Findify
Latest version: 1.1.2

# Getting started
## Installation
```
npm install @findify/helpers --save
```
or
```
yarn add @findify/helpers
```
Alternatively, you can use UMD builds, by requiring them to the page using `<script>` tag:
```
https://findify-assets-2bveeb6u8ag.netdna-ssl.com/helpers-js/findify-helpers.0.1.29.min.js
```
or using unminified version:
```
https://findify-assets-2bveeb6u8ag.netdna-ssl.com/helpers-js/findify-helpers.0.1.29.js
```

## Usage example
```javascript
var FindifyHelpers = require('@findify/helpers');

// First, you need to create one of store instances:
var searchStore = FindifyHelpers.createSearch({
  key: 'b9h348b89h439g43',
  // If you are using this library on a frontend, it will be convenient for you to provide user once on initialization.
  // You can get user object, using `@findify/analytics` library, or by manually getting data from cookies:
  user: {
    uid: 'f892hf2938f2g9p2',
    sid: 'g2984hg2jg9823g9'
  }
});

// After you can emit events
searchStore.emit({
  name: 'search',
  payload: {
    query: 'white t-shirt'
  }
}).emit({
  name: 'request',
});

// And subscribe on store changes
searchStore.subscribe(function(event) {
  if (event.name === 'request') {
    // handle requestBody data
    var requestBody = searchStore.get('request');
  }

  if (event.name === 'responseSuccess') {
    // handle responseBody data
    var responseBody = searchStore.get('response');
  }
});
```

# Documentation
- [API Reference](https://findify.readme.io/reference#initialization)

# License
MIT
npm package: @findify/lerna-conventional-changelog
Description: Commitizen adapter for lerna based monorepo.
Author: Bitaru D.
Latest version: 0.0.1

# findify-conventional-changelog

Part of the [commitizen](https://github.com/commitizen/cz-cli) family. Prompts for [conventional changelog](https://github.com/conventional-changelog/conventional-changelog) standard.

### Commitlint

If using the [commitlint](https://github.com/conventional-changelog/commitlint) js library, the "maxHeaderWidth" configuration property will default to the configuration of the "header-max-length" rule instead of the hard coded value of 100.  This can be ovewritten by setting the 'maxHeaderWidth' configuration in package.json or the CZ_MAX_HEADER_WIDTH environment variable.
npm package: @findify/react-components
Description: Findify react UI components
Author: Findify
Latest version: 0.15.65

[![npm (scoped)](https://img.shields.io/npm/v/@findify/react-components.svg)](https://www.npmjs.com/package/@findify/react-components)

# @findify/react-components

## Overview
Findify React Components is E-commerce UI library with our default search, autocomplete and recommendations presentations. It could be customized via [Findify Chrome Devtools](https://chrome.google.com/webstore/detail/findify-devtools/jngfkjbhdmpkaccemaikjomjdfnmedgm) or partially rewritten in you React project by aliasing.

## Installation
```
npm install @findify/react-components --save
```
or
```
yarn add @findify/react-components
```

# Documentation
- [Customization](https://developers.findify.io/docs/customizations-getting-started)
- [Examples](https://developers.findify.io/docs/customization-examples)
npm package: @findify/react-connect
Description: [![npm (scoped)](https://img.shields.io/npm/v/@findify/react-connect.svg)](https://www.npmjs.com/package/@findify/react-connect) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
Author: Findify
Latest version: 0.8.47

[![npm (scoped)](https://img.shields.io/npm/v/@findify/react-connect.svg)](https://www.npmjs.com/package/@findify/react-connect) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)

# @findify/react-connect

This is a set of Components and High Order Functions based on Findify Agents which simplifies data manipulations in [React.js](https://reactjs.org/) applications.

## Documentation

The full documentation can be found here:
<https://developers.findify.io/page/findify-react-connect-reference>

For release notes, see the [CHANGELOG](./CHANGELOG.md).

## Quickstart

### In the Browser

To use the SDK in the browser, simply add the following script tag to your
HTML pages:

```html
<script src="https://cdn.jsdelivr.net/npm/@findify/react-connect@0.5.1/lib/index.min.js"></script>
```

### In Node.js

Install the SDK using [npm](http://npmjs.org):

```console
$ npm install --save @findify/sdk
```

or [yarn](https://yarnpkg.com/lang/en/)

```console
$ yard add @findify/sdk
```

## Minimal Setup

@findify/react-connect' interface looks similar to react-redux. There are two parts - Providers which automatically creates Agent instance and push it through context to connectors, and the Connectors - Hight Order Functions and who listen to changes, mutating entities and adding helpers to the wrapped component.

```javascript
import React from "react";
import { render } from "react-dom";
import { SearchProvider, connectItems } from "@findify/react-connect";

const Items = connectItems(({ items }) =>
	items.map(({ item }) =>
  	<div key={item.hashCode()}>{item.get('title'}</div>
  )
)
                                                    
const App = (
  <SearchProvider key='YOUR_API_KEY'>
  	<Items />
  </SearchProvider>
);

render(App, document.getElementById('root'));
```
npm package: @findify/rstate
Description: A simple store/dispatch/subscribe module, compatible with the core Redux interface (createStore, dispatch, subscribe, getState)
Author: wojciak
Latest version: 1.3.2

##Rstate
A dead-simple state container - redux api compatible on the basic level (createStore, dispatch, subscribe, getState)

###Why?
I've found out that redux is an overkill for some projects, but I still liked the way it worked.

###How?
I've implemented a simple module that has a storage, allows to bind subscribers and dispatch actions. The store has a redux compatible api: createStore, dispatch, subscribe, getState.

###Techy side
You don't get the dispatch event on each change. Although the state gets updated on each dispatch, I then use requestAnimationFrame/cancelAnimationFrame to threshold the number of dispatch events to keep the resulting rendering as effective to the given platform as possible.

###Typescript?
Yes. Look at the interface definitions - pretty, pretty stuff.
npm package: @findify/skeleton-generator
Description: Generates content skeleton with animation
Author: bitaru
Latest version: 0.0.16

# skeleton-generator
Automatically generates beautiful SVG content loader with animations
<img src="https://raw.githubusercontent.com/findify/skeleton-generator/master/skeleton-generator.jpg" alt="Content loader" align="center" />

## Browser

```javascript
(() => {
  var script = document.createElement('script');
  script.src = 'https://cdn.jsdelivr.net/gh/findify/skeleton-generator@master/dist/skeleton-generator.umd.js';
  document.head.appendChild(script);
  script.onload = function() {
    console.log( // Array of SVG's
      generatePlaceholder({
          container: '.container--page',
          text: '.components--text',
          rect: '.components--cards--product__image, .components--button',
          group: '.components-facets__facet, .components--cards--product',
          identifyGroup: (node) => node.className
      })
    )
  };
})()
```

## Npm/Yarn

```bash
yarn add @findify/skeleton-generator
```

```javascript
import generatePlaceholder from '@findify/skeleton-generator';

const placeholders = generatePlaceholder();
```

## About
This library is similar to [react-content-loader](https://github.com/danilowoz/react-content-loader) but generates paths based on actual DOM. It works perfectly with frameworks where you have specific CSS selectors for text, images and other blocks.
Also, this script allows you to reduce size of svg by using `group` for repeating components, where sample of groups is its first member

## Properties
| Prop Name | Default | Description |
|-----------|---------|-------------|
| `container` | `[data-draw=\'container\']` | Container selector - viewbox for svg. All sizes and elements position will be calculated relative to this container. The generator returns array of SVG strings for each container on the page |
| `group` | `[data-draw=\'group\']` | Repeating items could be combined in group to reduce size of SVG. The sample of group is its first representative |
| `text` | `[data-draw=\'text\']` | Text nodes selector calculates number of lines and its width |
| `rect` | `[data-draw=\'rect\']` | Simple rect node - could be any element, generator will calculate its width and height |
| `border` | `[data-draw=\'border\']` | Draws 4 rectangles around element with 5px width |
| `circe` | `[data-draw=\'circle\']` | Just simple circle, might be useful for avatars |
| `identifyGroup` | `n => node.dataset['draw-id']` | Function to identify what group the element is belong to. Provides DOMNode and waits for unique string ID | 


## Development 

```bash
yarn # Install dependencies
yarn build # Build library
yarn dev # Run dev server

```

## License (MIT)
npm package: @findify/ui-components
Description: Findify react UI components
Author: Findify
Latest version: 2.4.6

# Findify UI components [![npm (scoped)](https://img.shields.io/npm/v/@findify/ui-components.svg)](https://www.npmjs.com/package/@findify/ui-components)

# Getting started

## Installation
```
npm install @findify/ui-components --save
```
or
```
yarn add @findify/ui-components
```

## Usage example
```javascript
import React from 'react';
import ReactDOM from 'react-dom';

var props = {
    config: {
        position: 'left',
        i18n: {
            suggestionsTitle: 'Search suggestions',
            productMatchesTitle: 'Product matches',
            tipTitle: 'Press enter to search'
        }
    },
    meta: {
        q: 'test query'
    },
    items: [{
        product_url: '/test',
        title: 'test',
        price: [200],
        thumbnail_url: 'http://placehold.it/100x100',
        compare_at: 150
    }],
    suggestions: [{
        value: 'test suggestion'
    }],
};

ReactDOM.render(<Autocomplete {...props} />, document.getElementById('autocomplete'));
```

# Documentation
- [API Reference](https://findify.readme.io/reference#initialization)
- [UI Components Playground](https://findify.github.io/ui-components)

## Versioning

We will try to follow [semver](http://semver.org/) as close as possible.
That means bug fixes will be patch releases (1.0.1 -> 1.0.2), additional
functionality like new endpoints will be minor releases (1.0.1 -> 1.1.0)
and breaking changes to both the library and the API endpoints it hits,
will be major releases (1.0.1 -> 2.0.0).

## Getting help

We use the GitHub issues for tracking bugs and feature requests.

 * Ask a question on [StackOverflow](https://stackoverflow.com/) and tag it with `findify-ui-components`
 * If it turns out that you may have found a bug, please [open an issue](https://github.com/findify/findify-js/issues/new)

## Opening Issues

If you encounter a bug with the Findify UI components we would like to hear
about it. Search the [existing issues](https://github.com/findify/findify-js/issues)
and try to make sure your problem doesn’t already exist before opening a new
issue. It’s helpful if you include the version of the UI components, Node.js or browser
environment and OS you’re using. Please include a stack trace and reduced repro
case when appropriate, too.

The GitHub issues are intended for bug reports and feature requests. For help
and questions with using the Findify UI components please make use of the
resources listed in the [Getting help](https://github.com/findify/findify-js/tree/master/packages/ui-components#getting-help)
section.

## Contributing

Please see [CONTRIBUTING.md](./CONTRIBUTING.md) for information on how to
contribute, setup the development environment and run tests.
npm package: @finding-islands/core
Description: Find Islands in the Sea, Core
Author: Marcus Vinicius Monteiro de Souza
Latest version: 1.0.6

# Finding Islands, Core

This package implements the algorithms to find the islands in a sea.

The sea is a bi-dimensional array of integers. Water is represented by the value 0.

An island is an array of coordinates.

## Example

```ts
findIslands([
  [land, land, water, land, water],
  [water, land, water, land, land],
  [water, land, land, water, water],
  [land, land, water, water, land]
]);
[
  ([
    { x: 0, y: 0 },
    { x: 0, y: 1 },
    { x: 1, y: 1 },
    { x: 2, y: 1 },
    { x: 2, y: 2 },
    { x: 3, y: 0 },
    { x: 3, y: 1 }
  ],
  [{ x: 0, y: 3 }, { x: 1, y: 3 }, { x: 1, y: 4 }],
  [{ x: 3, y: 4 }])
];
```
npm package: @findingzumo/do-module
Description: A module used for interact with Digital Ocean services
Author: Phornphatch
Latest version: 0.1.1

# DO Module

A module used for interact with Digital Ocean services

- DO Spaces

## DO Spaces

This module allow user to:

- Generate pre-signed url to upload file to Digital Ocean spaces (or any S3 compatible storage)
- Generate view link for privately uploaded files
- Generate public view link for publicly uploaded files
- Delete a file from the storage

### Usage

- Install this library by running

```
yarn add @findingzumo/do-module
```

Your NestJS application requires:

- `ConfigModule` - For reading ENVs as config service. [Installation guide](https://docs.nestjs.com/techniques/configuration#installation)

- These ENVs (either in `.env` file or exported as ENV variable)

```
SPACES_ENDPOINT=https://sgp1.digitaloceanspaces.com/ # endpoint of your space
SPACES_REGION=sgp1 # region of your space
SPACES_NAME=<name of your space>
SPACES_KEY=<your space access key>
SPACES_SECRET=<your space secret key>
```

- Import `DoModule` into your `AppModule`

```typescript
import { DoModule } from '@findingzumo/do-module';

@Module({
  imports: [ConfigModule.forRoot(), DoModule],
  controllers: [AppController],
  providers: [AppService],
})
export class AppModule {}
```

- Inject `SpacesService` into your controller and use it.

```typescript
@Controller()
export class AppController {
  constructor(private readonly spacesService: SpacesService) {}

  @Get()
  async genUploadLink(): Promise<string> {
    const { url } = await this.spacesService.generateUploadLink(
      'test.jpeg',
      'image/jpeg',
    );
    return url;
  }
}
```

The pre-signed url is creating a private file by default. To upload as public file, add this header when uploading the file with the pre-signed url

```
x-amz-acl: 'public-read'
```

For example with Axios:

```typescript
const { status } = await axios.put(presignedUrl, file, {
  'x-amz-acl': 'public-read',
});
```

#### API reference

**SpacesService**

`generateUploadLink` takes file name and file content type and generate a presigned url for file upload. To ensure uniqueness of the file, the name is suffixed with unix timestamp.

It returns presigned url with suffixed filename.

`generateViewLink` takes suffixed name, content type and isDownload and generate link to access the private file which expired in 5 hours

If `isDownload` is true, the file will be downloaded automatically when accessing the link on a browser. If not, the link view preview the on the browser directly.

`deleteFile` takes suffixed name, content type. It deletes the file from the storage.

`getPublicUrl` takes the suffixed file name and returns a publicly accessible link.