open-index/open-npm huggingface dataset:
npm package: @josefkriz/dynaway-angular-wdio-builder
Description: A fork of @migalons Angular builder for running functional test based on webdriver.io runner.
Author: Miguel Angel Alonso
Latest version: 1.1.8

# dynaway-angular-wdio-builder

Angular builder for running e2e test using webdriver.io runner.

A fork of [@migalon's angular-wdio-builder](https://github.com/migalons/angular-wdio-builder).

Enables include wdio launcher into angular workspace (angular.json). Replaces protractor as e2e test framework.

## Peer dependencies

- _@wdio/cli_

wdio client is not installed. You must install this package by yourself, among other related packages (@wdio/sinc, services, plugins, etc.)

## Requirements

- @angular/cli >= @14.0.0

## Usage

### Install 

npm install @josefkriz/dynaway-angular-wdio-builder --save-dev

### Angular workspace

For enabling your e2e test using angular builders, you just need to use this builder for running your e2e test:

```
{
  "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  "version": 1,
  "newProjectRoot": "projects",
  "projects": {
    "my-awesome-project": {
      ...
      "architect": {
        ...
        "e2e": {
          "builder": "@josefkriz/dynaway-angular-wdio-builder:test",
          "options": {
            "wdioConfig": "e2e/wdio.conf.js",
            "devServerTarget": "my-awesome-project:serve"
          },
          "configurations": {
            "production": {
              "wdioConfig": "e2e/wdio-prod.conf.js",
              "devServerTarget": "my-awesome-project:serve:production"
            },
            "dev": {
              "wdioOptions": {
                  "port": 4567  // whatever options accepted by wdio cli
              }
              "devServerTarget": "my-awesome-project:serve:production",
              "port": 4201,
              "host": "0.0.0.0",
              "disableHostCheck: true"
            }
          }
        }
      }
    }
  ...
}
```

This builder, accepts three parameters:

- wdioConfig: URL for wdio cli configuration (defaults to "./e2e/wdio.conf.js).
- wdioOptions: Custom options for overriding provided configuration (wdioConfig). See [wdio cli options](https://webdriver.io/docs/clioptions.html) for more information.
- devServerTarget: Project target and configuration to be scheduled before running e2e test (i.e. serve app).
- port: Serve angular application using a custom port
- host: Host to listen on
- disableHostCheck: Don't verify connected clients are part of allowed hosts.

## Example

You can find an example of a project with angular application with e2e test implemented using this builder for include wdio test into angular workspace here:

https://github.com/migalons/angular-wdio-builder-demo
npm package: @josefleventon/graz-interchain
Description: React hooks for Cosmos
Latest version: 0.0.53

# graz

[![npm/v](https://badgen.net/npm/v/graz)](https://www.npmjs.com/package/graz)
[![npm/dt](https://badgen.net/npm/dt/graz)](https://www.npmjs.com/package/graz)
[![stars](https://badgen.net/github/stars/graz-sh/graz)](https://github.com/graz-sh/graz)

React hooks for Cosmos. Learn more about graz on the [official GitHub repository](https://github.com/graz-sh/graz).

[MIT License, Copyright (c) 2023 Graz](./LICENSE)
npm package: @josegarrera/streak-counter
Description: This is a basic streak counter - inspired by Duolingo - written in TypeScript and meant for the browser (uses `localStorage`).
Author: Josee Garrera
Latest version: 0.0.1

# `@josegarrera/streak-counter` - a basic streak counter

This is a basic streak counter - inspired by Duolingo - written in TypeScript and meant for the browser (uses `localStorage`).

## Install

yarn add @josegarrera/streak-counter

npm install @josegarrera/streak-counter

## Usage

import {streakCounter} from '@josegarrera/streak-counter'

const today = new Date()
const streak = streakCounter(localStorage, today)
// streak returns an object:
// {
// currentCount: 1,
// lastLoginDate: "11/11/2021",
// startDate: "11/11/2021",
// }