open-index/open-npm huggingface dataset:
npm package: @rwdt/logger
Description: [![Build Status](https://travis-ci.com/remote-web-dev-tools/logger.svg?branch=main)](https://travis-ci.com/remote-web-dev-tools/logger) [![Coverage Status](https://coveralls.io/repos/github/remote-web-dev-tools/logger/badge.svg?branch=main)](https://cover
Latest version: 1.0.0

# @rwdt/logger

[![Build Status](https://travis-ci.com/remote-web-dev-tools/logger.svg?branch=main)](https://travis-ci.com/remote-web-dev-tools/logger) [![Coverage Status](https://coveralls.io/repos/github/remote-web-dev-tools/logger/badge.svg?branch=main)](https://coveralls.io/github/remote-web-dev-tools/logger?branch=main)

A simple javascript library for log.

## Install

Use npm

```
npm i @rwdt/logger --save
```

or use yarn

```
yarn add @rwdt/logger
```

## Usage

### Quick start

```javascript
import { Logger } from '@rwdt/logger'

const logger = new Logger()

logger.debug('debug')
logger.info('info')
logger.warn('warn')
logger.error('error')
```

![example png](https://raw.githubusercontent.com/remote-web-dev-tools/logger/main/assets/example.png)

### Set logger level

```javascript
import { Logger } from '@rwdt/logger'

const logger = new Logger()
logger.setLevel('WARN') // or const logger = new Logger({level: 'WARN'})

logger.debug('debug')
logger.info('info')
logger.warn('warn')
logger.error('error')
```

![set-logger-level.png](https://raw.githubusercontent.com/remote-web-dev-tools/logger/main/assets/set-logger-level.png)

### Custom logger appender

write the log to file

```javascript
import { Logger } from '@rwdt/logger'
import { writeFileSync } from 'fs'

const logger = new Logger()

logger.addAppender(loggingEvent => {
  writeFileSync('logger.log', JSON.stringify(), {
    flag: 'a'
  })
})

// or 
// const logger = new Logger({
//   appender: [loggingEvent => {
//     writeFileSync('logger.log', JSON.stringify(), {
//       flag: 'a'
//     })
//   }]
// })

logger.info('custom appender')
```

### Set context

The context will be set to LoggingEvent

```javascript
import { Logger } from '@rwdt/logger'

const logger = new Logger({context: 'any type context'})

// or logger.setContext({other: 'context'})
```

## API

See [types/index.d.ts](https://github.com/remote-web-dev-tools/logger/blob/main/types/index.d.ts)
npm package: @rweda/cloud-machine-testing
Description: Generic infrastructure for testing scripted configuration for cloud machines.
Author: Redwood EDA
Latest version: 0.1.4

# Cloud Machine Testing

[![NPM Version][NPM_BADGE]](https://www.npmjs.com/package/@rweda/cloud-machine-testing)

Generic infrastructure for testing scripted configuration for cloud machines.

## Example

See the [online documentation](https://rweda.github.io/cloud-machine-testing/) for the full API, including:

- Changing [`TestMachine`][]/[`GCETestMachine`][] to specify how new cloud machines can be created
- Specify custom setup/teardown actions in [`CloudMachineTest`][]
- Full API for the [`FormatTestOutput`][] testing framework

```js
const chai = require("chai");
const should = chai.should();
const CloudMachineTest = require("@rweda/cloud-machine-testing");
const FormatTestOutput = require("@rweda/cloud-machine-testing/FormatTestOutput");
const GCETestMachine = require("@rweda/cloud-machine-testing/GCETestMachine");

/**
 * Runs tests against a Google Compute Engine machine.
*/
class MyMachineTest extends CloudMachineTest {
  
  constructor() {
    super();
    this.machine = new GCETestMachine();
    this.out = new FormatTestOutput();
  }
  
  /**
   * Run automated tests on a newly created machine running on the Google Compute Engine.
   * @return {Promise} resolves when testing has finished.
  */
  automatedTests() {
    return this.out
      .section("Directory Existence", () => {
        return this.out
          .it("should have '/dev'", () => {
            return this.machine
              .ssh("[ -d '/dev' ]; echo $?")
              .then(res => res.stdout)
              .then(code => code.should.equal("0"));
          })
          .catch(this.out.allowAssertion)
          .then(this.out._it("should have '/var'", () => {
            return this.machine
              .ssh("[ -d '/var' ]")
              .then(res => res.stdout)
              .then(code => code.should.equal("0"));
          }))
          .catch(this.out.allowAssertion);
      })
      .then(() => this.out.section("Root User", () => {
        return this.out
          .it("should have '/root'", () => {
            return this.machine
              .ssh("sudo [ -d '/root' ]; echo $?")
              .then(res => res.stdout)
              .then(code => code.should.equal("0"));
          })
          .catch(this.out.allowAssertion);
      }));
  }
  
}

const tester = new MyMachineTest();
tester.test();
```

[NPM_BADGE]: https://img.shields.io/npm/v/@rweda/cloud-machine-testing.svg

[`TestMachine`]: https://rweda.github.io/cloud-machine-testing/TestMachine.html
[`GCETestMachine`]: https://rweda.github.io/cloud-machine-testing/GCETestMachine.html
[`CloudMachineTest`]: https://rweda.github.io/cloud-machine-testing/CloudMachineTest.html
[`FormatTestOutput`]: https://rweda.github.io/cloud-machine-testing/FormatTestOutput.html
npm package: @rweda/codemirror
Description: Full-featured in-browser code editor
Latest version: 1.0.0

# CodeMirror
[![Build Status](https://travis-ci.org/codemirror/CodeMirror.svg)](https://travis-ci.org/codemirror/CodeMirror)
[![NPM version](https://img.shields.io/npm/v/codemirror.svg)](https://www.npmjs.org/package/codemirror)
[![Join the chat at https://gitter.im/codemirror/CodeMirror](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/codemirror/CodeMirror)  
[Funding status: ![maintainer happiness](https://marijnhaverbeke.nl/fund/status_s.png?again)](https://marijnhaverbeke.nl/fund/)

CodeMirror is a versatile text editor implemented in JavaScript for
the browser. It is specialized for editing code, and comes with over
100 language modes and various addons that implement more advanced
editing functionality.

A rich programming API and a CSS theming system are available for
customizing CodeMirror to fit your application, and extending it with
new functionality.

You can find more information (and the
[manual](http://codemirror.net/doc/manual.html)) on the [project
page](http://codemirror.net). For questions and discussion, use the
[discussion forum](https://discuss.codemirror.net/).

See
[CONTRIBUTING.md](https://github.com/codemirror/CodeMirror/blob/master/CONTRIBUTING.md)
for contributing guidelines.

The CodeMirror community aims to be welcoming to everybody. We use the
[Contributor Covenant
(1.1)](http://contributor-covenant.org/version/1/1/0/) as our code of
conduct.

### Quickstart

To build the project, make sure you have Node.js installed (at least version 6)
and then `npm install && npm run build`. To run, just open `index.html` in your
browser (you don't need to run a webserver). Run the tests with `npm test`.
npm package: @rweda/domnodeappear
Description: Watches the document for node insertions.
Author: Redwood EDA
Latest version: 1.0.2

#jQuery.DOMNodeAppear

jQuery.DOMNodeAppear is basically a replacement for the DOMNodeInserted event. DOMNodeInserted is useful for finding and acting upon new nodes in the DOM, but it fires for every single new node. This can get crazy, and has led to mobile browsers crashing in my experience, which makes *me* crazy. DOMNodeAppear executes a callback *only* when the selector in question appears in the DOM, and has a nice syntax to boot.

The technique on which this functionality is based was first outlined at [Back Alley Coder](http://www.backalleycoder.com/2012/04/25/i-want-a-damnodeinserted/) in 2012. The gist of it is that we can leverage the fact that CSS3 animations auto-start (and fire an event!) as soon as their associated element appears in the DOM.

## Updates:
Port of jQuery.DOMNodeAppear library to support RequireJS and jQuery versions >1.9.  Written in CoffeeScript for convenience.

## Usage

```js
require.config({
  paths: {
    "DOMNodeAppear": "https://raw.azureedge.net/rweda/DOMNodeAppear/raw/v1.0.2/public/jquery.domnodeappear.js"
  }
});
require(function() {
  $ = require("jquery");
  require("DOMNodeAppear");
  $.DOMNodeAppear("#newdiv", function() {
    alert("#newdiv inserted!");
  });
  $("body").append("<div id='newdiv'></div>");
});
```

## Q: When would this literally ever be useful?
**A:** Let's say you're working on a site with AJAX calls, but you have no access to the javascript that makes the requests. Adding a callback to an AJAX function is easy, but without that functionality, all you can do is watch for the results of the AJAX call to appear in the DOM and then act on them. If you're using the [Moovweb](https://github.com/moovweb) platform, this can happen quite a lot.

Special thanks to [Ben Bayard](https://github.com/benbayard) for running some tests and assuring me that the idea to make this script was at least part-way good.
npm package: @rweda/flush-async
Description: Promisified 'flush()' for WCT
Author: Redwood EDA
Latest version: 0.0.1

# Flush Async

[![Build Status](https://travis-ci.org/rweda/flush-async.svg?branch=master)](https://travis-ci.org/rweda/flush-async)

Promisified `flush()` for `web-component-tester`.

Example:

```html
<!doctype html>
<html>
  <head>
    <script src="/components/webcomponentsjs/webcomponents-lite.js"></script>
    <link rel="import" href="/components/flush-async/flush-async.html">
  </head>
  <body>
    <!-- ... -->
    <script>
      chai.should();
      
      it("should do something", () => {
        const items = list.countElements();
        list.append("new element"); // won't hit DOM immediately
        return flushAsync()
          .then(() => list.countElements().should.equal(items + 1));
      });
    </script>
  </body>
</html>
```
npm package: @rweda/jsverify-generators
Description: Common, configurable generators for JSVerify
Author: Redwood EDA
Latest version: 0.1.0

# JSVerify Generators

Common, configurable generators for [JSVerify][] brought to you by [Redwood EDA][rweda].
Used in-house in several testing processes.

## ValueGenerator

Generates random values.  Disable value types by providing `false`, or customize by providing different implementations.

```js
const jsc = require("jsverify");
const ValueGenerator = require("@rweda/jsverify-generators/Val");

jsc.assert(jsc.forall(ValueGenerator({ str: false, num: jsc.integer }), val => {
  console.log(val);
  return true;
}));
```

[JSVerify]: https://github.com/jsverify/jsverify
[rweda]: http://redwoodeda.com/
npm package: @rweda/npm-pkg-sym
Description: Packages symbolic links into package.json to be unpacked on npm install.
Author: Redwood EDA
Latest version: 1.1.8

Packages symbolic links into package.json to be unpacked on npm install.

# Installation

Install `npm-pkg-sym` as a standard dependency (as it needs to run on `npm install` to unpack links).

    npm install git+ssh://git@gitlab.com/rweda/npm-pkg-sym.git#v1.1.0

To pack/unpack automatically on `npm version` and `npm install`, insert the following into package.json:

    {
      "scripts": {
        "preversion": "pack-sym --git && git add package.json && git commit -m 'Added symlinks'",
        "install": "unpack-sym"
      }
    }
npm package: @rweich/eslint-config
Description: eslint config for my projects
Author: rweich
Latest version: 4.0.0

# eslint-config

default config for my ts-projects

## Installation
1. Install dependencies
    ```shell
    yarn add --dev @rweich/eslint-config
    ```

1. Configure
    1. either add the config to your `.eslintrc.js`:
        ```javascript
        module.exports = {
          extends: "@rweich",
          rules: {
            // Additional, per-project rules...
          }
        };
        ```
    1. or add it to your `package.json`:
        ```json
        {
          "eslintConfig": {
            "extends": "@rweich"
          }
        }
        ```

1. (optional) add the two following scripts to your `package.json` to run the linter manually:
    ```json
    {
      "scripts": {
        "lint": "eslint 'src/**/*.ts'",
        "lint-tests": "eslint 'test/**/*.ts'"
      }
    }
    ```
npm package: @rweich/prettier-config
Description: prettier config for my projects
Author: rweich
Latest version: 3.0.0

# prettier-config

default config for my ts-projects

## Installation
1. Install dependencies
    ```shell
    yarn add --dev @rweich/prettier-config
    ```

1. Configure

    add to your `package.json`:
    ```json
    {
        "prettier": "@rweich/prettier-config"
    }
    ```
npm package: @rweich/semantic-release-config
Description: semantic-release config for my projects
Author: rweich
Latest version: 3.0.0

# semantic-release-config
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Frweich%2Fsemantic-release-config.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Frweich%2Fsemantic-release-config?ref=badge_shield)


Default config for my ts-projects.

## Installation

1. Install dependencies

    ```shell
    yarn add --dev semantic-release @rweich/semantic-release-config
    ```

1. Configure
    1. either add the config to your `release.config.js`:

        ```javascript
        module.exports = {
          extends: "@rweich/semantic-release-config",
          branches: "main"
        };
        ```

    1. or add it to your `package.json`:

        ```json
        {
          "release": {
            "extends": "@rweich/semantic-release-config",
            "branches": "main"
          }
        }
        ```

1. Usage

   Test with:

   ```shell
   yarn semantic-release --dry-run
   ```


## License
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Frweich%2Fsemantic-release-config.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Frweich%2Fsemantic-release-config?ref=badge_large)
npm package: @rweich/streamdeck-events
Description: A colletion of streamdeck events in typescript.
Author: rweich
Latest version: 6.1.0

# streamdeck-events

[![Build/Test](https://github.com/rweich/streamdeck-events/actions/workflows/build-test-versions.yml/badge.svg)](https://github.com/rweich/streamdeck-events/actions/workflows/build-test-versions.yml)
[![codecov](https://codecov.io/gh/rweich/streamdeck-events/branch/main/graph/badge.svg?token=OQCBLTYNIY)](https://codecov.io/gh/rweich/streamdeck-events)
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Frweich%2Fstreamdeck-events.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Frweich%2Fstreamdeck-events?ref=badge_shield)

## About

A collection of event definitions sent to / received from the streamdeck.

## Links

[Official Streamdeck developer documentation.](https://developer.elgato.com/documentation/)


## License
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Frweich%2Fstreamdeck-events.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Frweich%2Fstreamdeck-events?ref=badge_large)
npm package: @rweich/webworker-timer
Description: timers running inside webworkers
Author: @rweich
Latest version: 2.0.2

# webworker-timer

Timers running inside webworkers.

- no dependencies

## Usage

This package exposes the following methods:

- setTimeout
- setInterval
- clearTimeout
- clearInterval

Just import the methods and use them like usual.

```typescript
import { clearInterval, setInterval } from '@rweich/webworker-timer';

const interval = setInterval(
  () => console.log('interval called'),
  500
);

clearInterval(interval);
```
npm package: @rwenzel22/dropfiles-uploader
Description: Smart and sophisticated jQuery plugin for file upload
Author: RWenzel
Latest version: 1.2.0

# Dropfiles Uploader

Dropfiles Uploader é um plugin jQuery simples e altamente customizável que ajuda você a realizar o envio de arquivos em seus formulários da web.

- [👀 Demo preview](https://dropfiles-uploader-example.netlify.app/)
- [📚 Documentação](https://dropfiles-uploader.gitbook.io)

## Diferenciais do Dropfiles Uploader ✅

- Envio de arquivos via submit ou Api.
- Validação de extensão e tamanho de arquivos.
- Suporte a traduções.
- Suporte a arrastar e soltar arquivos.
- Suporte a eventos.
- Debug mode.
- Suporte a thumbnails de imagens.
- Suporte a envio de parâmetros personalizados na envio da request.

# Licença MIT

- [Licença](https://github.com/rwenzel22/drop-files-uploader/blob/main/LICENSE)