open-index/open-npm huggingface dataset:
npm package: @ianescober/leaflet-draw
Description: A fork of Leaflet.Draw containing several fixes to drawing, editing, and deleting shapes
Latest version: 2.0.1

# @ianescober/Leaflet.Draw
A fork of [Leaflet.Draw](https://github.com/Leaflet/Leaflet.draw) that contains several fixes to drawing, editing, and deleting shapes.

## Fixes
- [x] Assigned undeclared radius variable in _resize function ([Edit.Circle.js](https://github.com/IanEscober/Leaflet.draw/blob/develop/src/edit/handler/Edit.Circle.js))
- [x] Added _tooltip instance check when removing hooks ([EditToolbar.Delete.js](https://github.com/IanEscober/Leaflet.draw/blob/develop/src/edit/handler/EditToolbar.Edit.js))
- [x] Added _deletedLayers instance check removing layers and disabling layer deleting ([EditToolbar.Delete.js](https://github.com/IanEscober/Leaflet.draw/blob/develop/src/edit/handler/EditToolbar.Delete.js))

## Maintenance
This fork will not provide fixes to every issue of the original repo. It will only contain fixes raised in this fork or issues encountered by the projects dependent on this fork.

## License
[MIT](https://github.com/IanEscober/Leaflet.draw/blob/master/License)
npm package: @ianfeather/connect-datadog
Description: Datadog middleware for Connect JS / Express
Author: App Press
Latest version: 0.1.0

# node-connect-datadog

Datadog middleware for Connect JS / Express

This is forked from https://github.com/AppPress/node-connect-datadog and updated to allow passing metrics on 404s.


## Usage

Add middleware immediately before your router.

	app.use(require("connect-datadog")({}));
	app.use(app.router);

## Options

All options are optional.

* `dogstatsd` node-dogstatsd client. `default = new (require("node-dogstatsd")).StatsD()`
* `stat` *string* name for the stat. `default = "node.express.router"`
* `tags` *array* of tags to be added to the histogram. `default = []`
* `path` *boolean* include path tag. `default = false`
* `method` *boolean* include http method tag. `default = false`
* `protocol` *boolean* include protocol tag. `default = false`
* `response_code` *boolean* include http response codes. `default = false`

## License

View the [LICENSE](https://github.com/AppPress/node-connect-datadog/blob/master/LICENSE) file.
npm package: @ianfreitas1/livelo
Description: Retrieves information from Livelo's API
Author: Ian
Latest version: 1.0.1

# @ianfreitas1/livelo

Returns information from Livelo's api within a specified date range and destinations.

## Installation

```
npm install @ianfreitas1/livelo
```

## Usage

```js
const livelo = require('@ianfreitas1/livelo');

const dateStart = new Date(2021, 0, 25);
const dateEnd = new Date(2021, 0, 29);
const origin = 'RIO';
const destinations = ['OPO', 'BCN'];

(async () => {
  const response = await livelo(dateStart, dateEnd, origin, destinations);

  console.log(response);
})();
//=> {
//   OPO: {
//     minPrice: 72500,
//     minPriceWithTax: 79700,
//     date: '2021-01-25',
//     destination: 'Porto',
//     origin: 'Rio de Janeiro'
//   },
//   BCN: {
//     minPrice: 86000,
//     minPriceWithTax: 94000,
//     date: '2021-01-29',
//     destination: 'Barcelona',
//     origin: 'Rio de Janeiro'
//   }
// }
```
npm package: @ianfusion/vue-delete-button
Description: adds a confirmation dialog to a delete button
Author: Ian Forbes
Latest version: 1.0.4

# Customisable delete confirmation button Component #

This package contains a simple Vue component: a button that when clicked will ask user for confirmation before deleting a resource.
If provided, the HTML element representing the resource will fade out.

### Installation ###
`npm i @ianfusion/vue-delete-button`

then in app.js add the line:
"import VueDeleteButton from '@ianfusion/vue-delete-button';"

and add

var vm = new Vue({
    el: '#app',
    components: {
        VueDeleteButton,
    },
});

to import it.

### Requirements ###
 - Sweet alert
 - jQuery

### Support ###

If you come across any issues feel free to email me: ian@infusion-it.co.uk.

### License ###

The MIT License (MIT). Please see the [License File](LICENSE) for more information.
npm package: @ianfusion/vue-loading-button
Description: adds a loading state to a button
Author: Ian Forbes
Latest version: 1.0.1

# Customisable Vue Loading Button Component #

This repo contains a simple Vue component: a button that when clicked has a customisable loading state.

### Installation ###

To install the package using npm:
```
npm i @ianfusion/vue-loading-button
```
Then register the component:
```
// In your app.js or similar file
import VueLoadingButton from '@ianfusion/vue-loading-button';

var vm = new Vue({
    el: '#app',
    components: {
        VueLoadingButton,
    },
});
```

### Usage ###

Here is an example below:
```html
<vue-loading-button loading-icon="fa fa-cog fa-spin" loading-text="loading text">normal text</vue-loading-button>
```
This will make a button with the text "normal text", and when clicked on has text "loading text" and an icon of a spinning cog.

![Example](loading-button-example.gif)

The two attributes are:
* ```loading-text``` - Where you can put the text you want to show after being clicked.
* ```loading-icon``` - Where you can put an icon that you want to show after being clicked. (More available at [Fontawesome](https://fontawesome.com/))


### Support ###

If you come across any issues feel free to email me: ian@infusion-it.co.uk.

### License ###

The MIT License (MIT). Please see the [License File](LICENSE) for more information.
npm package: @iangrainger/angular-testing-library-schematic
Description: Angular Schematic to create an angular-testing-library spec file
Author: Ian Grainger
Latest version: 0.0.2

# Getting Started With Schematics

This repository is a basic Schematic implementation that serves as a starting point to create and publish Schematics to NPM.

### Testing

To test locally, install `@angular-devkit/schematics-cli` globally and use the `schematics` command line tool. That tool acts the same as the `generate` command of the Angular CLI, but also has a debug mode.

Check the documentation with
```bash
schematics --help
```

### Unit Testing

`npm run test` will run the unit tests, using Jasmine as a runner and test framework.

### Publishing

To publish, simply do:

```bash
npm run build
npm publish
```

That's it!
npm package: @iangregsondev/eslint-config
Description: A standard base ESLint configuration file
Author: Ian Gregson
Latest version: 1.0.3

<h1 align="center">Welcome to @iangregsondev/eslint-config 👋</h1>
<p>
  <img alt="Version" src="https://img.shields.io/badge/version-0.0.1-blue.svg?cacheSeconds=2592000" />
  <a href="#" target="_blank">
    <img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-yellow.svg" />
  </a>
  <a href="https://twitter.com/iangregsondev" target="_blank">
    <img alt="Twitter: iangregsondev" src="https://img.shields.io/twitter/follow/iangregsondev.svg?style=social" />
  </a>
</p>

> A standard base ESLint configuration file

### 🏠 [Homepage](https://github.com/iangregsondev/eslint-config)

## Install

```sh
npm install @iangregsondev/eslint-config
```

## Author

👤 **Ian Gregson <ian@iangregson.dev> (https://iangregson.dev)**

* Website: https://iangregson.dev
* Twitter: [@iangregsondev](https://twitter.com/iangregsondev)
* Github: [@iangregsondev](https://github.com/iangregsondev)
* LinkedIn: [@iangregsondev](https://linkedin.com/in/iangregsondev)

## 🤝 Contributing

Contributions, issues and feature requests are welcome!<br />Feel free to check [issues page](https://github.com/iangregsondev/eslint-config/issues). 

## Show your support

Give a ⭐️ if this project helped you!

<a href="https://www.patreon.com/iangregsondev">
  <img src="https://c5.patreon.com/external/logo/become_a_patron_button@2x.png" width="160">
</a>

***
_This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_
npm package: @ianhatton/vanilla-collapsible-content
Description: Collapsible content module written in vanilla JavaScript
Author: Ian Hatton
Latest version: 1.0.8

# vanilla-collapsible-content

### Synopsis
A collapsible content module written in vanilla JavaScript.

### Installation
```
npm install @ianhatton/vanilla-collapsible-content
```

### Running tests
```
npm run test
```

### Example Instantiation
```javascript
const CollapsibleContentClass = require('@ianhatton/vanilla-collapsible-content');

const collapsibleContentElements = document.querySelectorAll('.collapsible-content');

if (collapsibleContentElements.length > 0){
  Array.from(collapsibleContentElements).map((element)=>{
    return new CollapsibleContentClass({
      element: element
    });
  });
}
```

### Configuration
A new instance of CollapsibleContentClass can contain the following in its configuration object:
```javascript
new CollapsibleContentClass({
  element: // The DOM node to be instantiated as having collapsible content
  , bodyContainerClass: // String. Class for each collapsible content item's body. Default is "collapsible-content-body"
  , itemContainerClass: // String. Class for each collapsible content item. Default is "collapsible-content-item"
  , toggleContainerClass: // String. Class for each collapsible content item's toggle. Default is "collapsible-content-toggle"
});
```

### Example HTML structure
```html
<div class="collapsible-content" data-name="collapsible-example" data-visible-mobile="false" data-visible-tablet="false" data-visible-desktop="true">
  <div class="collapsible-content-item" data-parent="collapsible-example">
    <div class="collapsible-content-toggle">
      <p>The toggle. This can be any element.</p>
    </div>
    <div class="collapsible-content-body">
      <p>The body. This can be any element.</p>
    </div>
  </div>
  <div class="collapsible-content-item" data-parent="collapsible-example">
    <article>
      <div class="collapsible-content-toggle">
        <h1>Another toggle.</h1>
      </div>
      <div class="collapsible-content-body">
        <p>Another body.</p>
      </div>
    </article>
  </div>
</div>
```

All collapsible content items must be wrapped in a single parent div with a class of ***collapsible-content***, and individually wrapped in a div with a class of ***collapsible-content-item***. They always contain a div with a class of ***collapsible-content-toggle*** and ***collapsible-content-body***.

The ***data-name*** attribute of ***collapsible-content*** and ***data-parent*** attribute of ***collapsible-content-item*** determines the relationship between the two. This is in case you need to nest multiple collapsible content divs inside one another.

The ***data-visible-*** attributes of ***collapsible-content-item*** determine whether or not the items are expanded or collapsed by default at the corresponding breakpoint.

### CSS
As a bare minimum, you'll require the following, or similar CSS:

```scss
.collapsible-content-body {
  display: none;
  
  &.open {
    display: block;
  }
}
```
npm package: @ianhatton/vanilla-tabbed-content
Description: Tabbed content module written in vanilla JavaScript
Author: Ian Hatton
Latest version: 1.0.5

# vanilla-tabbed-content

### Synopsis
A tabbed content module written in vanilla JavaScript.

### Installation
```
npm install @ianhatton/vanilla-tabbed-content
```

### Running tests
```
npm run test
```

### Example Instantiation
```javascript
const TabbedContentClass = require('@ianhatton/vanilla-tabbed-content');

const tabbedContentElements = document.querySelectorAll('.tabbed-content');

if (tabbedContentElements.length > 0){
  Array.from(tabbedContentElements).map((element)=>{
    return new TabbedContentClass({
      element: element
    });
  });
}
```

### Configuration
A new instance of TabbedContentClass can contain the following in its configuration object:
```javascript
new TabbedContentClass({
  element: // The DOM node to be instantiated as having tabbed content
  , bodyContainerClass: // String. Class for the tabbed content's body. Default is "tabbed-content-body"
  , navContainerClass: // String. Class for the tabbed content's navigation. Default is "tabbed-content-nav"
  , tabContainerClass: // String. Class for each tab. Default is "tabbed-content-tab"
});
```

### Example HTML structure
```html
<div class="tabbed-content">
  <ul class="tabbed-content-nav" role="tablist">
    <li role="presentation">
      <a href="#" role="tab">Tab 1</a>
    </li>
    <li role="presentation">
      <a href="#" role="tab">Tab 2</a>
    </li>
  </ul>
  <div class="tabbed-content-body">
    <article class="tabbed-content-tab">
      <h1>Tab 1</h1>
      <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit.</p>
    </article>
    <article class="tabbed-content-tab">
      <h1>Tab 2</h1>
      <p>Doloribus quisquam, voluptatum dolores amet incidunt dicta.</p>
    </article>
  </div>
</div>
```

All tabbed content must be wrapped in a single parent div with a class of ***tabbed-content***. The navigation is always wrapped in a div with a class of ***tabbed-content-nav***, and the body in a div with a class of ***tabbed-content-body***. The tabs themselves are individually wrapped in a div with a class of ***tabbed-content-tab***.

### CSS
As a bare minimum, you'll require the following, or similar CSS:

```scss
.tabbed-content-tab {
  display: none;

  &.active {
    display: block;
  }
}
```