open-index/open-npm huggingface dataset:
npm package: @pascencio/gulp-s3-deploy
Description: A plugin for Gulp that deploy files to s3
Author: Patricio Ascencio
Latest version: 1.0.3

# gulp-s3-deploy

> s3 plugin for [gulp](https://github.com/gulpjs/gulp)

## Info
This plugin is a fork of [gulp-s3-publish](https://github.com/adrianfalleiro/gulp-s3-publish).

> FIX Issue reported [here](https://github.com/adrianfalleiro/gulp-s3-publish/pull/12)

## Usage

First, install `gulp-s3-deploy` and `aws-sdk` as a development dependency:

```shell
npm i --save-dev @pascencio/gulp-s3-deploy aws-sdk
```

Then, use it in your `gulpfile.js`:
```javascript
const { upload, clean } = require('@pascencio/gulp-s3-deploy');
const { S3 } = require('aws-sdk'); 

const client = new S3();

const uploadOpts = {
  bucket: 'my-s3-bucket',
  // uploadPath: 's3/upload/path',
  // delay: 0,
  // maxConcurrency: 1,
  putObjectParams: {
    ACL: 'public-read'
  },
  // dryRun: false,
};

const cleanOpts = {
  bucket: 'my-s3-bucket',
  // uploadPath: 's3/upload/path'
  // whitelist: [
  //   { type: 'key', path: 'keep-this-file.txt' },
  //   { type: 'keyPrefix', path: 'keep-this-path' },
  // ],
  // dryRun: false,
};

// Upload files to S3
// and clean orphaned files
gulp.task('deploy', () => {
  return gulp.src('./dist/**/*')
    .pipe(upload(client, uploadOpts))
    .pipe(clean(client, cleanOpts))
});

```

## License

[MIT License](http://en.wikipedia.org/wiki/MIT_License)

[npm-url]: https://www.npmjs.com/package/@pascencio/gulp-s3-deploy
npm package: @pascencio/stream-combiner
Description: [![npm version](https://img.shields.io/npm/v/stream-combiner.svg)](https://npmjs.org/package/stream-combiner)  [![Travis CI](https://travis-ci.org/dominictarr/stream-combiner.svg)](https://travis-ci.org/dominictarr/stream-combiner)
Author: 'Patricio Ascencio'
Latest version: 0.3.3

# stream-combiner

[![npm version](https://img.shields.io/npm/v/stream-combiner.svg)](https://npmjs.org/package/stream-combiner) 
[![Travis CI](https://travis-ci.org/dominictarr/stream-combiner.svg)](https://travis-ci.org/dominictarr/stream-combiner)

## Combine (stream1,...,streamN)

Turn a pipeline into a single stream. `Combine` returns a stream that writes to the first stream
and reads from the last stream. 

Listening for 'error' will recieve errors from all streams inside the pipe.

```js
var Combine = require('stream-combiner')
var es      = require('event-stream')

Combine(                                  // connect streams together with `pipe`
  process.openStdin(),                    // open stdin
  es.split(),                             // split stream to break on newlines
  es.map(function (data, callback) {      // turn this async function into a stream
    var repr = util.inspect(JSON.parse(data))  // render it nicely
    callback(null, repr)
  }),
  process.stdout                          // pipe it to stdout !
)
```

Can also be called with an array:

```js
var combinedStream = Combine([
  stream1,
  stream2,
]);
```

Or to combine gulp plugins:

```js
function coffeePipe() {
  return Combine(
    coffeescript(),
    coffeelint.reporter('fail').on('error', function(){
      gutil.beep()
      gulp.run('lint')
    })
}

//usage:
gulp.src().pipe(coffeePipe());
```

## License

MIT
npm package: @paschendale/react-elastic-carousel
Description: A flexible and responsive carousel component for react
Author: Victor Marotta
Latest version: 0.11.5-topocart


# react-elastic-carousel

> A flexible and responsive carousel component for react

[![NPM](https://img.shields.io/npm/v/react-elastic-carousel.svg?style=flat-square)](https://www.npmjs.com/package/react-elastic-carousel) ![npm](https://img.shields.io/npm/dw/react-elastic-carousel?style=flat-square) ![npm bundle size](https://img.shields.io/bundlephobia/min/react-elastic-carousel?style=flat-square)

## Why do we need yet another carousel component

- **Element resize support (true responsiveness)**  
  Most of the carousel components are responsive to the viewport size, but this is not a real responsive support as we can have an element with a `width:500px` on a `1200px` screen, most carousel component will "think" we are on a `1200px` mode because they "watch" the view-port's size and not the wrapping element's size.
  This is the reason why `react-eleastic-carousel` is using the [resize-observer](https://developers.google.com/web/updates/2016/10/resizeobserver) which gives us a true responsive support, not matter on what screen size we are.
  
- **RTL (right-to-left) support**  
  Supporting right-to-left languages requires a full support for right-to-left rendering and animations which is not supported in most of the carousel components out there. also, right-to-left support is [important and should be a standard for most applications](https://www.youtube.com/watch?v=A_3BfONFRUc).

## [Live Demos & Docs](https://sag1v.github.io/react-elastic-carousel/)

## Install

```bash
npm install --save react-elastic-carousel
```

or

```bash
yarn add react-elastic-carousel
```

### Note

`react-elastic-carousel` is using [styled-components](https://github.com/styled-components/styled-components) for styling, this means that you should install it as well:

```bash
npm install --save styled-components
```

## Usage

```jsx
import React, { Component } from 'react';
import Carousel from 'react-elastic-carousel';

class App extends Component {
  state = {
    items: [
      {id: 1, title: 'item #1'},
      {id: 2, title: 'item #2'},
      {id: 3, title: 'item #3'},
      {id: 4, title: 'item #4'},
      {id: 5, title: 'item #5'}
    ]
  }

  render () {
    const { items } = this.state;
    return (
      <Carousel>
        {items.map(item => <div key={item.id}>{item.title}</div>)}
      </Carousel>
    )
  }
}
```

## Playground

[![Edit react-elastic-carousel](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/21o46mkwnr)

## Development

```console
git clone https://github.com/sag1v/react-elastic-carousel.git
cd react-elastic-carousel
yarn
```

### To run the docs site run

```console
yarn start
```

### to run a demo Application run

```console
yarn demo
```

The application is running at http://localhost:8888

## License

MIT © [sag1v](https://github.com/sag1v)
npm package: @pascholda1/vue-accordion
Description: a simple slot based accordion with minimal styling and nesting support
Author: Simon Paschold
Latest version: 2.0.1

# @pascholda1/vue-accordion

a simple slot based accordion with minimal styling and nesting support.

## Installation

```shell
npm i @pascholda1/vue-accordion
```

## Usage

```vue

<template>
  <vue-accordion>
    <!-- Basic Usage -->
    <vue-collapse title="Collapse 1">
      CONTENT 1
    </vue-collapse>
    <!-- Basic Usage END-->

    <!-- Custom Header Usage -->
    <vue-collapse>
      <template #header>
        <strong>Collapse 2</strong>
      </template>
      CONTENT 2
    </vue-collapse>
    <!-- Custom Header Usage END -->

    <!-- Custom Header Icon Usage -->
    <vue-collapse>
      <template #header>
        <vue-collapse-header>
          x <!-- ICON SLOT -->
        </vue-collapse-header>
      </template>
      CONTENT 3
    </vue-collapse>
    <!-- Custom Header Icon Usage END -->

  </vue-accordion>
</template>

<script>
import VueAccordion      from '@pascholda1/vue-accordion/src/components/VueAccordion';
import VueCollapse       from '@pascholda1/vue-accordion/src/components/VueCollapse';
import VueCollapseHeader from '@pascholda1/vue-accordion/src/components/VueCollapseHeader';

export default {
  name: 'PsAccordionDemo',
  components: {
    VueAccordion,
    VueCollapse,
    VueCollapseHeader,
  },
};
</script>

<style lang="scss">

@import "@pascholda1/vue-accordion/src/scss/vue_accordion_bundle";

</style>

```
npm package: @pascholda1/vue-cli-plugin-i18n-csv-exchange
Description: Vue CLI plugin to convert i18n localizations from JSON to CSV / CSV to JSON
Author: Simon Paschold
Latest version: 1.0.1

# Vue CLI Plugin i18n CSV exchange

This plugin can export nested localization JSON files to CSV and import CSV localization files back to JSON.

## Installation

````shell
npm i --save-dev @pascholda1/vue-cli-plugin-i18n-csv-exchange 
vue invoke vue-cli-plugin-i18n-csv-exchange
````

## Usage

To create / update CSV files based on your JSON files:

````shell
npm run i18n-export-csv
````

To create / update JSON files based on your CSV files:

````shell
npm run i18n-import-csv
````

## Examples

### i18n-export-csv

reads nested JSON Files like:

`````json
{
	"questions": {
		"answer": {
			"yes": "Yes",
			"no": "No"
		}
	}
}
`````

will create a CSV like:

```csv
questions.answer.yes,Yes
questions.answer.no ,No
```

### i18n-import-csv

reads a CSV File like that:

```csv
questions.answer.yes,Yes
questions.answer.no ,No
```

and adds the second column's values to the first column's object path.
npm package: @pascholda1/vue-error-handler-plugin
Description: Plugin to register middlewares to handle errors in a Vue app
Author: Simon Paschold
Latest version: 3.0.0

# @pascholda1/vue-error-handler-plugin

Plugin to register middlewares to handle errors in a Vue app

## Installation

````shell
npm i @pascholda1/vue-error-handler-plugin
````

## Usage

````javascript

import Vue from 'vue';

import VueErrorHandlerPlugin from '@pascholda1/vue-error-handler-plugin';

Vue.use(VueErrorHandlerPlugin);

VueErrorHandlerPlugin
    // handler for Errors of any type
    .addMiddleware({handler: error => alert(error.toString())})
    // handler for Errors of type SyntaxError
    .addMiddleware({
      handler: () => alert('SyntaxError handler'),
      forErrorClass: SyntaxError,
    });


````

````vue

<template>
  <button type="button" @click="error">ERROR</button>
</template>

<script>
export default {
  name: 'App',
  created() {
    // You can access the plugin by $vueErrorHandlerPlugin to add more middlewares
    this.$vueErrorHandlerPlugin
        .addMiddleware({
          handler: this.myComponentErrorHandler,
        });
  },
  beforeDestroy() {
    // but don't forget to remove your component middlewares
    this.$vueErrorHandlerPlugin
        .removeMiddleware({
          handler: this.myComponentErrorHandler,
        });
  },
  errorCaptured(err, vm, info) {
    // all arguments passed to $errorHandler will also be passed to the middlewares
    this.$errorHandler(err, vm, info);
  },
  methods: {
    myComponentErrorHandler(error) {
      console.error(error)
    },
    error() {
      this.$errorHandler(new Error('an error occurred'))
    }
  }
}
</script>

````
npm package: @pascholda1/vue-runtime-config-plugin
Description: A VueJS plugin to read JSON config files per environment at runtime.
Author: Simon Paschold
Latest version: 3.0.0

# @pascholda1/vue-runtime-config-plugin

A VueJS plugin to read JSON config files per environment at runtime.

Works with Vue2. Vue3 support coming soon.

## Installation

```shell
npm i @pascholda1/vue-runtime-config-plugin
```

## Usage

### Basic Usage

````javascript

import Vue from 'vue';

import vueRuntimeConfigPlugin from '@pascholda1/vue-runtime-config-plugin';

Vue.use(vueRuntimeConfigPlugin)

(async () => {

  // fetch the config files from /config
  const config = await vueRuntimeConfigPlugin.loadEnvironment({
    environment: process.env.NODE_ENV
  });

  console.log(config)

  // init App
  new Vue({
    render: h => h(App),
  }).$mount('#app');
})


````

### Advanced Usage

````javascript

import Vue from 'vue';

import {VueRuntimeConfigPlugin} from '@pascholda1/vue-runtime-config-plugin';

const vueRuntimeConfigPlugin = new VueRuntimeConfigPlugin({
  configPath: "/my/config/path",
  staticConfig: process.env
})

Vue.use(vueRuntimeConfigPlugin)

(async () => {

  // fetch the config files from /my/config/path
  const config = await vueRuntimeConfigPlugin.loadEnvironment({
    environment: process.env.NODE_ENV,
    forceFetch: true
  });

  console.log(config)

  // init App
  new Vue({
    render: h => h(App),
  }).$mount('#app');
})


````

### Access the configuration Object / Switch environment at runtime

````vue

<template>
  <div id="app">
    <pre>{{ $config }}</pre>
  </div>
</template>

<script>

export default {
  name: 'App',
  created() {
    console.log(this.$config)
  },
  methods: {
    async switchConfigEnvironment(environment) {
      await this.$vueRuntimeConfigPlugin.loadEnvironment({
        environment
      });

      // Note that the $config object is NOT reactive
      await this.$forceUpdate()
    }
  }
};
</script>


````

### Config Files and Config merging

Your config directory should contain min. two Files. The `default.config.json` and the one for each environment
eg. `development.config.json`

the environment config will be merged into the default config which will be merged into the static config which was
passed to the constructor.

If you use nested configurations in your file the plugin will overwrite the whole first level Object.
npm package: @pash2048/node-cursor
Description: Windows mouse cursor utils.
Author: hetrodo
Latest version: 1.1.2

# [node-cursor](https://www.npmjs.com/package/node-cursor)

A node module to get information about the Windows mouse cursor, change its position and simulate clicks.

## Installation
#### You must have [Python](https://www.python.org/) and [Visual Studio Community](https://visualstudio.microsoft.com/pt-br/) installed in order to install this package.

```bash
yarn add node-cursor
```

or

```bash
npm install node-cursor
```

## Usage

#### Using import syntax

```typescript
import {getCursorPosition, setCursorPosition, sendCursorEvent, cursorEvents} from "node-cursor";

getCursorPosition();
//Return: { x: 0, y: 0 }

setCursorPosition({
    x: 0,
    y: 0
});

//Send mouse click at 0, 0
sendCursorEvent({
    event: cursorEvents.LEFT_DOWN,
    data: 0,
    x: 0,
    y: 0
});
sendCursorEvent({
    event: cursorEvents.LEFT_UP,
    data: 0,
    x: 0,
    y: 0
});

//Scroll wheel
sendCursorEvent({
    event: cursorEvents.WHEEL,
    data: 120, //amount of wheel movement
    x: 0,
    y: 0
});
```

#### Using require syntax

```javascript
const NodeCursor = require("node-cursor");

NodeCursor.getCursorPosition();
//Return: { x: 0, y: 0 }

NodeCursor.setCursorPosition({
    x: 0,
    y: 0
});

//Send mouse click at 0, 0
NodeCursor.sendCursorEvent({
    event: NodeCursor.cursorEvents.LEFT_DOWN,
    data: 0,
    x: 0,
    y: 0
});
NodeCursor.sendCursorEvent({
    event: NodeCursor.cursorEvents.LEFT_UP,
    data: 0,
    x: 0,
    y: 0
});

//Scroll wheel
NodeCursor.sendCursorEvent({
    event: NodeCursor.cursorEvents.WHEEL,
    data: 120, //amount of wheel movement
    x: 0,
    y: 0
});
```

#### Built-in Events:
```typescript
import {cursorEvents} from "node-cursor";

cursorEvents.LEFT_DOWN //0x0002
cursorEvents.LEFT_UP //0x0004
cursorEvents.RIGHT_DOWN //0x0008
cursorEvents.RIGHT_UP //0x0010
cursorEvents.MIDDLE_DOWN //0x0020
cursorEvents.MIDDLE_UP //0x0040
cursorEvents.WHEEL //0x0800
```

[All events](https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-mouse_event#parameters)

## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

## License

[MIT](https://choosealicense.com/licenses/mit/)
npm package: @pashagames/tsrcon
Description: Source RCON client implementing https://developer.valvesoftware.com/wiki/Source_RCON_Protocol
Author: PashaGames
Latest version: 1.0.0

# TSRCON

A typescript implementation of [Source Remote Console protocol](https://developer.valvesoftware.com/wiki/Source_RCON_Protocol).

Done in about 4 hours (including reserach and 0 knowledge in typescript)

# Contribution

You can contribute to this project by opening a pull request.

# Licensing

This project uses [MIT](https://opensource.org/license/mit/) license.