open-index/open-npm huggingface dataset:
npm package: @le2xx/angular-resize-event
Description: [![github version](https://img.shields.io/github/package-json/v/vdolek/angular-resize-event/master?label=github)](https://github.com/vdolek/angular-resize-event) [![npm version](https://img.shields.io/npm/v/angular-resize-event)](https://www.npmjs.com/pac
Author: Martin Volek, le2xx
Latest version: 15.0.0

# Angular Resize Event

[![github version](https://img.shields.io/github/package-json/v/vdolek/angular-resize-event/master?label=github)](https://github.com/vdolek/angular-resize-event)
[![npm version](https://img.shields.io/npm/v/angular-resize-event)](https://www.npmjs.com/package/angular-resize-event)
[![build status](https://img.shields.io/github/workflow/status/vdolek/angular-resize-event/CI/master)](https://github.com/vdolek/angular-resize-event/actions?query=workflow%3ACI)
[![downloads](https://img.shields.io/npm/dt/angular-resize-event)](https://www.npmjs.com/package/angular-resize-event)
[![vulnerabilities](https://img.shields.io/snyk/vulnerabilities/github/vdolek/angular-resize-event)](https://snyk.io/test/github/vdolek/angular-resize-event)

Angular 12 directive for detecting changes of an element size.

It is as simple as:

```html
<div (resized)="onResized($event)"></div>
```

It internally uses browser native [`ResizeObserver`](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver). Therefore it is not supported in IE.

For Angular 11 you can use version 2.1.0 which internally uses uses `ResizeSensor` from [CSS Element Queries](https://github.com/marcj/css-element-queries) that is supported in IE.

## Playground

[StackBlitz playground](https://stackblitz.com/edit/angular-resize-event-playground?file=src/app/app.component.html)

## Using the library

Import the library in any Angular application by running:

```bash
$ npm install angular-resize-event
```

and then from your Angular `AppModule`:

```typescript
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';

// Import the library module
import { AngularResizeEventModule } from 'angular-resize-event';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,

    // Specify AngularResizeEventModule library as an import
    AngularResizeEventModule
  ],
  providers: [],
  bootstrap: [ AppComponent ]
})
export class AppModule { }
```

Once your library is imported, you can use its `resized` directive in your Angular application:

```html
<div (resized)="onResized($event)"></div>
```

```typescript
import { Component } from '@angular/core';

// Import the resized event model
import { ResizedEvent } from 'angular-resize-event';

@Component({...})
class MyComponent {
  width: number;
  height: number;

  onResized(event: ResizedEvent) {
    this.width = event.newRect.width;
    this.height = event.newRect.height;
  }
}
```

## License

MIT © [Martin Volek](mailto:martin@vdolek.cz)
npm package: @le2xx/ng-yandex-metrika
Description: Yandex metrika for angular
Author: Lyubimov Roman
Latest version: 18.0.0

# Angular Yandex Metrika
Модуль добавляет на страницу счетчик(и) яндекс метрики, доступны все [методы](https://yandex.ru/support/metrika/objects/method-reference.xml) API метрики.
Для методов, в которые можно передать колбэк, возвращается промис, но колбэки так же работают.

```bash
npm install ng-yandex-metrika
```

Чтобы подключить, нужно добавить скрипт в шаблон, либо подключить с помощью загрузчика модулей, и подключить в приложение.
```typescript
import { MetrikaModule } from 'ng-yandex-metrika';

@NgModule({
  imports: [
    MetrikaModule.forRoot(
      { id: 35567075, webvisor: true }, // CounterConfig | CounterConfig[]
      {
        // Можно задать ID счетчика, либо порядковый номер в массиве, необязательный параметр, по умолчанию первый
        defaultCounter,
        // Для загрузки метрики с другого источника
        alternativeUrl: 'https://cdn.jsdelivr.net/npm/yandex-metrica-watch/tag.js',
      },
    ),
  ]
})
```
```typescript
import { ApplicationConfig, importProvidersFrom } from '@angular/core';

export const appConfig: ApplicationConfig = {
  providers: [
    // ...
    importProvidersFrom(
      MetrikaModule.forRoot([
        { id: 35567075, webvisor: true },
        { id: 35567076 },
      ])
    ),
  ]
};

```

Если вам нужно, чтобы счетчик работал без javascript, нужно добавить это:
```html
<noscript><div><img src="https://mc.yandex.ru/watch/put_your_id_here" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
```

Для отправки javascript цели можно вызвать метод вручную:
```typescript
export class AppComponent {
  constructor(private metrika: Metrika) {}

  onClick() {
    this.metrika.reachGoal('a_goal_name');
  }
}
```

Или использовать директиву:
```html
<!-- eventName по умолчанию click -->
<button metrikaGoal goalName="test" eventName="mouseover">Click me</button>
<button metrikaGoal goalName="test" [counterId]="123456">Click me</button>
```

Для отправки данных о просмотре:
```typescript
import { NavigationEnd, Router, RouterLink, RouterOutlet } from '@angular/router';
import { Location } from '@angular/common';
import { filter } from 'rxjs/operators';

export class AppComponent {
  constructor(
    private metrika: Metrika,
    private router: Router,
    location: Location,
    @Inject(PLATFORM_ID) platformId: Object,
  ) {
    if (isPlatformServer(platformId)) {
      return;
    }

    let prevPath = location.path();
    this.router
      .events
      .pipe(filter(event => (event instanceof NavigationEnd)))
      .subscribe(() => {
        const newPath = location.path();
        this.metrika.hit(newPath, {
          referer: prevPath,
          callback: () => { console.log('hit end'); }
        });
        prevPath = newPath;
      });
  }
}
```
npm package: @lea-8/auto-form
Description: Everything you need to build a Svelte library, powered by [`sv`](https://npmjs.com/package/sv).
Latest version: 0.0.8

# Svelte library

Everything you need to build a Svelte library, powered by [`sv`](https://npmjs.com/package/sv).

Read more about creating a library [in the docs](https://svelte.dev/docs/kit/packaging).

## Creating a project

If you're seeing this, you've probably already done this step. Congrats!

```bash
# create a new project in the current directory
npx sv create

# create a new project in my-app
npx sv create my-app
```

## Developing

Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:

```bash
npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open
```

Everything inside `src/lib` is part of your library, everything inside `src/routes` can be used as a showcase or preview app.

## Building

To build your library:

```bash
npm run package
```

To create a production version of your showcase app:

```bash
npm run build
```

You can preview the production build with `npm run preview`.

> To deploy your app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for your target environment.

## Publishing

Go into the `package.json` and give your package the desired name through the `"name"` option. Also consider adding a `"license"` field and point it to a `LICENSE` file which you can create from a template (one popular option is the [MIT license](https://opensource.org/license/mit/)).

To publish your library to [npm](https://www.npmjs.com):

```bash
npm publish
```
npm package: @leachain/vm-exec
Description: A CLI for executing LEA VM smart contracts via the VM shim.
Author: Allwin Ketnawang
Latest version: 1.0.1
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

<!--
giturl: https://github.com/LEA-Blockchain/vm-exec
name: @leachain/vm-exec
version: 1.0.0
-->

[![npm version](https://img.shields.io/npm/v/@leachain/vm-exec)](https://www.npmjs.com/package/@leachain/vm-exec)
[![GitHub license](https://img.shields.io/github/license/LEA-Blockchain/vm-exec)](https://github.com/LEA-Blockchain/vm-exec/blob/main/LICENSE)

# `lea-vm-exec` Command-Line Usage

This guide provides detailed instructions for using the `lea-vm-exec` command-line tool to execute smart contracts in the Lea-chain VM shim.

## Installation

For one-off commands, you can use `npx` without any installation:

```sh
npx @leachain/vm-exec <path/to/module.wasm> <entry_point> [flag] [value]
```

Alternatively, you can install it globally to use the `lea-vm-exec` command directly:

```sh
npm install -g @leachain/vm-exec
lea-vm-exec <path/to/module.wasm> <entry_point> [flag] [value]
```

---

## Command Reference

The `lea-vm-exec` tool executes a WebAssembly smart contract by specifying the module path and an entry point function.

### `exec`

Executes a function within a WebAssembly module, passing arguments as specified by the flags.

#### Synopsis

```sh
lea-vm-exec <path/to/module.wasm> <entry_point> [options]
```

-   `<path/to/module.wasm>`: The path to the WebAssembly module to execute.
-   `<entry_point>`: The name of the exported function to call.

#### Options

-   `--string <value>`: Pass a string to the entry point. The string is encoded and written into the Wasm memory.
-   `--number <value>`: Pass a number to the entry point.
-   `--file <path>`: Pass the contents of a file to the entry point. The file content is read as bytes and written into the Wasm memory.

#### Examples

**1. Execute with a string argument**

**Command:**
```sh
npx @leachain/vm-exec ./contract.wasm run_test --string "hello world"
```

**Output:**
```
[INFO] Successfully instantiated wasm module. Entry point 'run_test' found.

[INFO] Argument is a string.

[INFO] Copied string content to wasm memory at address 1048816 (size: 11).

[INFO] Calling entry point with (pointer, size).

[INFO] Entry point returned exit code: 0
```

**2. Execute with a file as an argument**

**Command:**
```sh
npx @leachain/vm-exec ./contract.wasm process_data --file ./data.json
```

**Output:**
```
[INFO] Successfully instantiated wasm module. Entry point 'process_data' found.

[INFO] Argument is a file ('./data.json'). Reading content.

[INFO] Copied file content to wasm memory at address 1048816 (size: 256).

[INFO] Calling entry point with (pointer, size).

[INFO] Entry point returned exit code: 0
```
---
## Metadata

-   **Name**: `lea-vm-exec`
-   **Version**: `1.0.0`
-   **Description**: A CLI for executing LEA VM smart contracts via the VM shim.
-   **Category**: Virtual Machine
-   **Repository**: `https://github.com/LEA-Blockchain/vm-exec.git`
npm package: @leactive/core
Description: Dead simple and extremely fast state manager for javascript
Author: Eduard Troshin
Latest version: 0.1.1

# @leactive/core

[![npm](https://img.shields.io/npm/v/@leactive/core.svg)](https://www.npmjs.com/package/@leactive/core)
[![License](https://img.shields.io/npm/l/@leactive/core.svg)](https://www.npmjs.com/package/@leactive/core)
[![Build Status](https://travis-ci.org/leactive/core.svg?branch=master)](https://travis-ci.org/leactive/core)
[![Coverage Status](https://coveralls.io/repos/github/leactive/core/badge.svg?branch=master)](https://coveralls.io/github/leactive/core?branch=master)
![types: typescript/flow](https://img.shields.io/badge/types-typescript%2Fflow-blue.svg)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/leactive/core/pulls)

> Dead simple and extremely fast state manager | [github.com/leactive/core](https://github.com/leactive/core#readme)

- [Installation](#installation)
- [How It Works](#how-it-works)
- [Questions](#questions)
- [License](#license)

## Installation

### Direct `<script />` include

The library will be exposed as a global `Leactive` variable

```html
<script src="https://cdn.jsdelivr.net/npm/@leactive/core@latest"></script>
```

**or** via unpkg

```html
<script src="https://unpkg.com/@leactive/core@latest"></script>
```

### NPM

```bash
npm install @leactive/core --save
```

### Yarn

```bash
yarn add @leactive/core
```

## How It Works

Leactive is reactive, so the store reacts when you change the state. When you create store instance via `createStore(options)` the library walks through each `options.state` property and observes it with getters/setters. If the value of the property is an object, Leactive observes this object too. Also if at runtime you assign an object to some of state properties Leactive will also observe it. You can be familliar with this behavior if you have experience in Vue.js

## Questions

If you have any troubles, questions or proposals you can create the [issue](https://github.com/leactive/core/issues)  
Good pull requests are also appreciated :)

## License

[MIT](http://opensource.org/licenses/MIT)

Copyright (c) 2018 - present, Eduard Troshin
npm package: @leactive/logger
Description: LeactiveJS logger middleware
Author: Eduard Troshin
Latest version: 0.1.1

# @leactive/logger

![types: typescript/flow](https://img.shields.io/badge/types-typescript%2Fflow-blue.svg)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/leactive/logger/pulls)

> LeactiveJS logger middleware | [github.com/leactive/logger](https://github.com/leactive/logger#readme)

- [Installation](#installation)
- [Questions](#questions)
- [License](#license)

## Installation

### NPM

```bash
npm install @leactive/logger --save
```

### Yarn

```bash
yarn add @leactive/logger
```

## Questions

If you have any troubles, questions or proposals you can create the [issue](https://github.com/leactive/logger/issues)  
Good pull requests are also appreciated :)

## License

[MIT](http://opensource.org/licenses/MIT)

Copyright (c) 2018 - present, Eduard Troshin
npm package: @leactive/react
Description: LeactiveJS connector for React
Author: Eduard Troshin
Latest version: 0.1.1

# @leactive/react

![types: typescript/flow](https://img.shields.io/badge/types-typescript%2Fflow-blue.svg)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/leactive/react/pulls)

> LeactiveJS connector for React | [github.com/leactive/react](https://github.com/leactive/react#readme)

- [Installation](#installation)
- [Questions](#questions)
- [License](#license)

## Installation

### NPM

```bash
npm install @leactive/react --save
```

### Yarn

```bash
yarn add @leactive/react
```

## Questions

If you have any troubles, questions or proposals you can create the [issue](https://github.com/leactive/react/issues)  
Good pull requests are also appreciated :)

## License

[MIT](http://opensource.org/licenses/MIT)

Copyright (c) 2018 - present, Eduard Troshin
npm package: @leadcodedev/logger
Description: [MIT](./LICENSE) License © 2021 [Baptiste Parmantier](https://github.com/LeadcodeDev)
Author: Baptiste Parmantier
Latest version: 1.0.0

# @DiscordFactory/Hook

## License

[MIT](./LICENSE) License © 2021 [Baptiste Parmantier](https://github.com/LeadcodeDev)
npm package: @leadcrate/n8n-leadcrate
Description: N8N Leadcrate integration, trigger & action nodes
Author: Dennis Snijder
Latest version: 0.1.1
Deprecated: Moved to @leadcrate/n8n-nodes-leadcrate

![Banner image](https://user-images.githubusercontent.com/10284570/173569848-c624317f-42b1-45a6-ab09-f0ea3c247648.png)

# n8n-nodes-starter

This repo contains example nodes to help you get started building your own custom integrations for [n8n](n8n.io). It includes the node linter and other dependencies.

To make your custom node available to the community, you must create it as an npm package, and [submit it to the npm registry](https://docs.npmjs.com/packages-and-modules/contributing-packages-to-the-registry).

## Prerequisites

You need the following installed on your development machine:

* [git](https://git-scm.com/downloads)
* Node.js and npm. Minimum version Node 16. You can find instructions on how to install both using nvm (Node Version Manager) for Linux, Mac, and WSL [here](https://github.com/nvm-sh/nvm). For Windows users, refer to Microsoft's guide to [Install NodeJS on Windows](https://docs.microsoft.com/en-us/windows/dev-environment/javascript/nodejs-on-windows).
* Install n8n with:
	```
	npm install n8n -g
	```
* Recommended: follow n8n's guide to [set up your development environment](https://docs.n8n.io/integrations/creating-nodes/build/node-development-environment/).


## Using this starter

These are the basic steps for working with the starter. For detailed guidance on creating and publishing nodes, refer to the [documentation](https://docs.n8n.io/integrations/creating-nodes/).

1. [Generate a new repository](https://github.com/n8n-io/n8n-nodes-starter/generate) from this template repository.
2. Clone your new repo:
    ```
    git clone https://github.com/<your organization>/<your-repo-name>.git
    ```
3. Run `npm i` to install dependencies.
4. Open the project in your editor.
5. Browse the examples in `/nodes` and `/credentials`. Modify the examples, or replace them with your own nodes.
6. Update the `package.json` to match your details.
7. Run `npm run lint` to check for errors or `npm run lintfix` to automatically fix errors when possible.
8. Test your node locally. Refer to [Run your node locally](https://docs.n8n.io/integrations/creating-nodes/test/run-node-locally/) for guidance.
9. Replace this README with documentation for your node. Use the [README_TEMPLATE](README_TEMPLATE.md) to get started.
10. Update the LICENSE file to use your details.
11. [Publish](https://docs.npmjs.com/packages-and-modules/contributing-packages-to-the-registry) your package to npm.

## More information

Refer to our [documentation on creating nodes](https://docs.n8n.io/integrations/creating-nodes/) for detailed information on building your own nodes.

## License

[MIT](https://github.com/n8n-io/n8n-nodes-starter/blob/master/LICENSE.md)
npm package: @leadcrate/n8n-nodes-leadcrate
Description: N8N Leadcrate integration, trigger & action nodes
Author: Dennis Snijder
Latest version: 0.1.0

![Banner image](https://user-images.githubusercontent.com/10284570/173569848-c624317f-42b1-45a6-ab09-f0ea3c247648.png)

# n8n-nodes-starter

This repo contains example nodes to help you get started building your own custom integrations for [n8n](n8n.io). It includes the node linter and other dependencies.

To make your custom node available to the community, you must create it as an npm package, and [submit it to the npm registry](https://docs.npmjs.com/packages-and-modules/contributing-packages-to-the-registry).

## Prerequisites

You need the following installed on your development machine:

* [git](https://git-scm.com/downloads)
* Node.js and npm. Minimum version Node 16. You can find instructions on how to install both using nvm (Node Version Manager) for Linux, Mac, and WSL [here](https://github.com/nvm-sh/nvm). For Windows users, refer to Microsoft's guide to [Install NodeJS on Windows](https://docs.microsoft.com/en-us/windows/dev-environment/javascript/nodejs-on-windows).
* Install n8n with:
	```
	npm install n8n -g
	```
* Recommended: follow n8n's guide to [set up your development environment](https://docs.n8n.io/integrations/creating-nodes/build/node-development-environment/).


## Using this starter

These are the basic steps for working with the starter. For detailed guidance on creating and publishing nodes, refer to the [documentation](https://docs.n8n.io/integrations/creating-nodes/).

1. [Generate a new repository](https://github.com/n8n-io/n8n-nodes-starter/generate) from this template repository.
2. Clone your new repo:
    ```
    git clone https://github.com/<your organization>/<your-repo-name>.git
    ```
3. Run `npm i` to install dependencies.
4. Open the project in your editor.
5. Browse the examples in `/nodes` and `/credentials`. Modify the examples, or replace them with your own nodes.
6. Update the `package.json` to match your details.
7. Run `npm run lint` to check for errors or `npm run lintfix` to automatically fix errors when possible.
8. Test your node locally. Refer to [Run your node locally](https://docs.n8n.io/integrations/creating-nodes/test/run-node-locally/) for guidance.
9. Replace this README with documentation for your node. Use the [README_TEMPLATE](README_TEMPLATE.md) to get started.
10. Update the LICENSE file to use your details.
11. [Publish](https://docs.npmjs.com/packages-and-modules/contributing-packages-to-the-registry) your package to npm.

## More information

Refer to our [documentation on creating nodes](https://docs.n8n.io/integrations/creating-nodes/) for detailed information on building your own nodes.

## License

[MIT](https://github.com/n8n-io/n8n-nodes-starter/blob/master/LICENSE.md)
npm package: @leadent/intercom-vue-plugin
Description: intercom.com Vue.js plugin
Author: Ben Gooding
Latest version: 1.0.8

# intercom.com Vue.js Plugin

A reactive wrapper for [Intercom's](https://www.intercom.com/) [JavaScript API](https://developers.intercom.com/docs/intercom-javascript)

## Installation

```bash
npm install intercom-vue-plugin
```

In src/main.js 
```javascript
import Vue from 'vue';
import IntercomVuePlugin from '@leadent/intercom-vue-plugin';

Vue.use(IntercomVuePlugin, { app_id: 'your-app-id' });
```
Note: Option parameters can be set when initalising the plugin (as above) or when booting the plugin (as below) which will override any initial options settings.
## Usage

`intercom-vue-plugin` handles the injection of Intercom's script into your html and wraps calls to the Intercom API with methods and exposes them through the `$intercom` object in your components.

```javascript
new Vue({
  el: '#app',
  data() {
    return {
      userId: 1,
      name: 'Foo Bar',
      email: 'foo@bar.com',
    };
  },
  mounted() {
    this.$intercom.boot({
      user_id: this.userId,
      name: this.name,
      email: this.email,
    });
    this.$intercom.show();
  },
  watch: {
    email(email) {
      this.$intercom.update({ email });
    },
  }
});
```

## Example App

```
npm run build
cd example/
npm run serve
```

## API

### Values

#### `$intercom.ready`

Set to `true` once the Intercom script has been loaded. There is no need to wait for this property, the plugin watches this internally and will only pass user calls to methods and properties to Intercom once this is `true`. 

#### `$intercom.visible`

Set via the `onShow`/`onHide` events.

#### `$intercom.unreadCount`

Set via the `onUnreadCountChange` event.

### Methods

#### `$intercom.boot(/* optional */options)`

Calls `Intercom('boot')`. Automatically sets the `app_id` unless specified in the options object.

#### `$intercom.shutdown()`

Calls `Intercom('shutdown')`.

#### `$intercom.update(/* optional */options)`

Calls `Intercom('update')`. If the options object is set, calls `Intercom('update', options)`

#### `$intercom.show()`

Calls `Intercom('show')`.

#### `$intercom.hide()`

Calls `Intercom('hide')`.

#### `$intercom.showMessages()`

Calls `Intercom('showMessages')`.

#### `$intercom.showNewMessage(/* optional */content)`

Calls `Intercom('showNewMessage')` with pre-populated content if provided.

#### `$intercom.trackEvent(name, /* optional */metadata)`

Calls `Intercom('trackEvent')` with extra metadata if provided.

#### `$intercom.getVisitorId()`

Calls `Intercom('getVisitorId')`

#### `$intercom.getVisitorId()`

Calls `Intercom('getVisitorId')`

#### `$intercom.startTour()`

Calls `Intercom('startTour')`

## License

[MIT](http://opensource.org/licenses/MIT)

Copyright (c) 2021 Leadent Digital
npm package: @leadercodes/create-meeting
Description: Pop Up for Create Meeting
Author: rivkaShimch
Latest version: 1.1.17

# @leadercodes/create-meeting

> Pop Up for Create Meeting

[![NPM](https://img.shields.io/npm/v/@leadercodes/create-meeting.svg)](https://www.npmjs.com/package/@leadercodes/create-meeting) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save @leadercodes/create-meeting
```

## Usage

```jsx
import React, { Component } from 'react'

import MyComponent from '@leadercodes/create-meeting'
import '@leadercodes/create-meeting/dist/index.css'

class Example extends Component {
  render() {
    return <MyComponent />
  }
}
```

## License

MIT © [rivkaShimch](https://github.com/rivkaShimch)