open-index/open-npm huggingface dataset:
npm package: @stare.js/stare.js-client
Description: visualization package for stare.js-server
Author: d-salazar-se
Latest version: 1.1.2

# StArE.js (Client version)

![npm](https://img.shields.io/npm/v/@stare.js/stare.js-client)
![npm](https://img.shields.io/npm/dm/@stare.js/stare.js-client)
[![Build Status](https://travis-ci.com/StArE-js/stare.js-client.svg?branch=master)](https://travis-ci.com/StArE-js/stare.js-client)
![NPM](https://img.shields.io/npm/l/@stare.js/stare.js-client)

## Description
StArE.js is an open source project intended to facilitate developers the creation of alternative visualizations of search engine results page (SERP). StArE.js provides a modular and extensible processing pipeline capable of (1) transforming SERP, (2) extracting features from individual search results, and (3) visualizing SERP in multiple ways.

For StArE.js-server docs [click here](https://github.com/StArE.js/stare.js-server/master/docs/README.md)


## Installation

```bash
npm i @stare.js/stare.js-client
```
## How to use

This package consist of only one function that will render the chart that you desire based on JSON documents of StArE.js.
The following code is an example of how to render a <code>bar</code> chart for an array of documents of StArE.js

```js
import stare from '@stare.js/stare.js-server';

const stareChart = stare('d3', 'bar');

stareChart('#my-chart', stareDocuments = [], chartOptions = {});
```

Essencially, to render a chart you need 4 steps:

* Import stare.js-client.
* Import you desired library for visualization (currently supported <code>d3.js</code>, <code>three.js</code>).
* Use the imported stare function to get the renderer function (ex: d3 -> bar renderer).
+ Use the function following the params defined in the next section.

## Supported Charts

For the supported options for each chart checkout [the docs](/docs/README.md)

### D3.js

- bar
- bubble
- network
- stackedBar
- tiles
- tiles2
- tiles3

### Three.js

- grid


## Contributors

- [Roberto González-Ibáñez](https://github.com/rgonzal/)
- [Camila Márquez](https://github.com/bellyster/)
- [Daniel Gacitúa](https://github.com/dgacitua/)
- [Franz Farbinger](https://github.com/DarkAnimat/)
- [Diego Salazar S.](https://github.com/d-salazar-se/)

## License
[MIT](LICENSE)
npm package: @starecase/nest-cron-monitor
Description: This is a NestJS module designed for monitoring cron jobs through starecase.io
Author: Aman Madhukar
Latest version: 0.1.11

This is a NestJS module designed for monitoring cron jobs through Starecase.io

# Installation
``` ts
npm install @starecase/nest-cron-monitor
OR
yarn add @starecase/nest-cron-monitor
```

# Prerequisite
You will need to:
- Fill the form to get API Key: [URL](https://forms.gle/ZFeTSZVh6r7v9Mju6) btw it's Free to use 🎉
- Own a Starecase account
- Create a Starecase API Key

# Environment Variables
We recommend using environment variables for storing your API Key. To set values for these variables, use the following variable names:
- **STARECASE_API_KEY:** To store the API Key.

# Quick Start
### Register module

Just register this module:

```ts
@Module({
    imports: [
        StarecaseModule.forRoot({
            apiKey: `YOUR_API_KEY_GOES_HERE`,
        }) as DynamicModule,
    ],
})
class AppModule {
}
```

Quite often you might want to asynchronously pass module options instead of passing them beforehand.
In such case, use `forRootAsync()` method like many other Nest.js libraries.

- Use factory

```ts
StarecaseModule.forRootAsync({
    imports: [ConfigModule],
    useFactory: async (configService: ConfigService) => {
        return {
            apiKey: configService.get<string>("STARECASE_API_KEY")
        };
    },
    inject: [ConfigService],
}) as DynamicModule
```

### Decorate methods

You need to add the @CronMonitor decorator to your @Cron or any other monitoring method you are using. Below is an example using @nestjs/schedule:

```ts
import {CronMonitor} from "@starecase/nest-cron-monitor";

@Injectable()
export class AppController {

    @Cron('45 * * * * *')
    @CronMonitor({jobName: "Job Name", jobGroup: "Job Group", expression: '45 * * * * *', debug: true})
    handleCron() {
        console.log('Called when the current second is 45');
    }
}
```

# License

This project is licensed under the terms of the MIT license.
npm package: @starefossen/express-cors
Description: Cross-origin resource sharing headers middleware for Express.js
Author: Hans Kristian Flaatten
Latest version: 1.1.2

# @starefossen/express-cors

[![Build status](https://app.wercker.com/status/82a3fcc4a07532a3dff7f71c17996d1a/s "wercker status")](https://app.wercker.com/project/bykey/82a3fcc4a07532a3dff7f71c17996d1a)
[![Codacy grade](https://img.shields.io/codacy/grade/2a40f5c2df884985872e4d0a0c9ce60b.svg "Codacy")](https://www.codacy.com/app/starefossen/node-express-cors)
[![Codacy coverage](https://img.shields.io/codacy/coverage/2a40f5c2df884985872e4d0a0c9ce60b.svg "Codacy")](https://www.codacy.com/app/starefossen/node-express-cors)
[![NPM downloads](https://img.shields.io/npm/dm/@starefossen/express-cors.svg "NPM downloads")](https://www.npmjs.com/package/@starefossen/express-cors)
[![NPM version](https://img.shields.io/npm/v/@starefossen/express-cors.svg "NPM version")](https://www.npmjs.com/package/@starefossen/express-cors)
[![Node version](https://img.shields.io/node/v/@starefossen/express-cors.svg "Node version")](https://www.npmjs.com/package/@starefossen/express-cors)
[![Dependency status](https://img.shields.io/david/Starefossen/node-express-cors.svg "Dependency status")](https://david-dm.org/Starefossen/node-express-cors)

Smart CORS headers middleware for your Express.js applications.

## Install

```
$ npm install @starefossen/express-cors --save
```

## Usage

```js
const cors = require('@starefossen/express-cors');
```

### Simple

The simple configuration is controlled by environment variables:

| Variable | Description | Default |
|----------|-------------|---------|
| `CORS_ALLOW_CREDENTIALS` | allow-credentials (boolean) | `undefined` |
| `CORS_ALLOW_HEADERS` | allow-headers header (comma separated string) | `Content-Type` |
| `CORS_ALLOW_METHODS` | allow-methods header (comma separated string) | `GET, OPTIONS` |
| `CORS_ALLOW_ORIGINS` | orins whitelist (comma seperated string) | `""` |
| `CORS_DENY_ORIGINS` | origins blacklist (comma seperated string) | `""` |
| `CORS_EXPOSE_HEADERS` | expose-headers header (comma seperated string) | `""` |
| `CORS_MAX_AGE` | max-age header (integer) | `0` |
| `CORS_REQUIRE_ORIGIN` | require origin header from client (boolean) | `false` |

```js
const cors = require('@starefossen/express-cors');

app.use(cors.middleware);
```

### Advanced

The advanced configuration takes in a configuration object. All values defaults
to their environment conunterpart as statated in the simple configuration.

```js
const cors = require('@starefossen/express-cors');

app.use(cors({
  allowCredentials: false,
  allowHeaders: 'Content-Type',
  allowMethods: 'GET, OPTIONS',
  allowOrigins: 'foo.com,bar.com',
  denyOrigins: 'example.com',
  exposeHeaders: 'x-request-time',
  maxAge: 133734,
  requireOrigin: true,
});
```

### Localhost

If you want to allow local development domains like `localhost` or `file://` you
can add the following to your `CORS_ALLOW_ORIGINS` environment variable:

```
CORS_ALLOW_ORIGINS='localhost,null'
```

## [MIT Licensed](https://github.com/Starefossen/node-express-cors/blob/master/LICENSE)
npm package: @starefossen/express-health
Description: Health checking route for Express.js applications
Author: Hans Kristian Flaatten
Latest version: 1.0.1

# @starefossen/express-health

[![Build status](https://app.wercker.com/status/725a775429b1e6c1fc395feda8a5a05d/s "wercker status")](https://app.wercker.com/project/bykey/725a775429b1e6c1fc395feda8a5a05d)
[![Codacy grade](https://img.shields.io/codacy/grade/1969f7ff739943c8907743150427c811.svg "Codac gradey")](https://www.codacy.com/app/starefossen/node-express-health)
[![Codacy coverage](https://img.shields.io/codacy/coverage/1969f7ff739943c8907743150427c811.svg "Codacy coverage")](https://www.codacy.com/app/starefossen/node-express-health)
[![NPM downloads](https://img.shields.io/npm/dm/@starefossen/express-health.svg "NPM downloads")](https://www.npmjs.com/package/@starefossen/express-health)
[![NPM version](https://img.shields.io/npm/v/@starefossen/express-health.svg "NPM version")](https://www.npmjs.com/package/@starefossen/express-health)
[![Node version](https://img.shields.io/node/v/@starefossen/express-health.svg "Node version")](https://www.npmjs.com/package/@starefossen/express-health)
[![Dependency status](https://img.shields.io/david/Starefossen/node-express-health.svg "Dependency status")](https://david-dm.org/Starefossen/node-express-health)

Health checking route for Express.js applications.

## Install

```
$ npm install @starefossen/express-health --save
```

## Usage

```js
const healthCheck = require('@starefossen/express-health');

### Single Check

```js
app.get('/healthCheck', healthCheck({
  name: 'Database',
  check: cb => {
    // get status from database
    db.getStatus(cb);
  },
}));
```

### Multiple Checks

```js
app.get('/healthChecks', healthCheck([{
  name: 'MongoDB',
  check: cb => {
    // get status from MongoDB database
    mongo.db.stats(cb);
  },
},{
  name: 'Redis',
  check: cb => {
    // get status from Redis cache
    redis.info(cb);
  },
}]));
```

## [MIT Licensed](https://github.com/Starefossen/node-express-health/blob/master/LICENSE)
npm package: @starefossen/express-project-x
Description: X-Project headers for Express.js applications
Author: Hans Kristian Flaatten
Latest version: 1.0.1

# @starefossen/express-project-x

[![Build status](https://app.wercker.com/status/89db51a1ee5a8596acfb8362f919d6e5/s "wercker status")](https://app.wercker.com/project/bykey/89db51a1ee5a8596acfb8362f919d6e5)
[![Codacy grade](https://img.shields.io/codacy/grade/a410ea7a6c0e44d09e0ccac98286cbab.svg "Codacy")](https://www.codacy.com/app/starefossen/node-express-project-x)
[![Codacy coverage](https://img.shields.io/codacy/coverage/a410ea7a6c0e44d09e0ccac98286cbab.svg "Codacy")](https://www.codacy.com/app/starefossen/node-express-project-x)
[![NPM downloads](https://img.shields.io/npm/dm/@starefossen/express-project-x.svg "NPM downloads")](https://www.npmjs.com/package/@starefossen/express-project-x)
[![NPM version](https://img.shields.io/npm/v/@starefossen/express-project-x.svg "NPM version")](https://www.npmjs.com/package/@starefossen/express-project-x)
[![Node version](https://img.shields.io/node/v/@starefossen/express-project-x.svg "Node version")](https://www.npmjs.com/package/@starefossen/express-project-x)
[![Dependency status](https://img.shields.io/david/Starefossen/node-express-project-x.svg "Dependency status")](https://david-dm.org/Starefossen/node-express-project-x)

X-Project headers for Express.js applications.

## Install

```
$ npm install @starefossen/express-project-x --save
```

## Usage

```js
const xapp = require('@starefossen/express-project-x');
```

### Simple

The simple configuration reads your `package.json` and will set the following
headers if their values are defined in your `package.json`:

* `X-App-Name`
* `X-App-Version`
* `X-App-Author`
* `X-App-Homepage`

```js
const xapp = require('@starefossen/express-project-x');

app.use(xapp.middleware);
```

### Advanced

The advanced configuration takes in a configuration object and an optional data
object.

```js
const xapp = require('@starefossen/express-project-x');
const data = require('./package');

app.use(xapp({
  name: true,
  version: false,
  license: true,
}, data));
```

## [MIT Licensed](https://github.com/Starefossen/node-express-project-x/blob/master/LICENSE)
npm package: @starefossen/http-error
Description: HTTP aware error class for all your Node.js applications
Author: Hans Kristian Flaatten
Latest version: 1.0.1

# HttpError

[![Build status](https://img.shields.io/wercker/ci/566166f590c1072f350993d2.svg "Build status")](https://app.wercker.com/project/bykey/9cf398f236208de61be9815bd091bc97)
[![Codacy grade](https://img.shields.io/codacy/grade/a04da1d7b2d44e1abb980f8ceed99711.svg "Codacy grade")](https://www.codacy.com/app/starefossen/node-http-error)
[![Codacy coverage](https://img.shields.io/codacy/coverage/a04da1d7b2d44e1abb980f8ceed99711.svg "Codacy coverage")](https://www.codacy.com/app/starefossen/node-http-error)
[![NPM downloads](https://img.shields.io/npm/dm/@starefossen/http-error.svg "NPM downloads")](https://www.npmjs.com/package/@starefossen/http-error)
[![NPM version](https://img.shields.io/npm/v/@starefossen/http-error.svg "NPM version")](https://www.npmjs.com/package/@starefossen/http-error)
[![Node version](https://img.shields.io/node/v/@starefossen/http-error.svg "Node version")](https://www.npmjs.com/package/@starefossen/http-error)
[![Dependency status](https://img.shields.io/david/Starefossen/node-http-error.svg "Dependency status")](https://david-dm.org/Starefossen/node-http-error)

HTTP aware `Error` class `HttpError` for all your Node.js applications.

## Purpose

The HttpError serves two purposes. First to attach a status `code` to error
objects in one single operation, and second to encapsulate lower lever errors in
application specific errors that can be presented to users without decoupling or
loss of important technical details.

## Install

```
$ npm install --save @starefossen/http-error
```

## Usage

```js
const HttpError = require('@starefossen/http-error');
const express = require('express');

const app = express();

app.get('/some/route', (req, res, next) => {
  db.get({…}, (err, data) => {
    if (err) { return next(new HttpError('Database Query Failed', 500, err)); }
    if (!data) { return next(new HttpError('Object Not Found', 404)); }

    // do work here
  });
});

app.use((req, res, next, httpError) => {
  // print system errors to stderr
  if (httpError.code > 500) {
    if (httpError.error) {
      console.error(httpError.error.message);
      console.error(httpError.error.stack);
    } else {
      console.error(httpError.message);
      console.error(httpError.stack);
    }
  }

  res.status(httpError.code);
  res.end();
});
```

## [MIT Licensed](https://github.com/Starefossen/node-http-error/blob/master/LICENSE)
npm package: @starefossen/node-http-error
Description: HTTP aware error class for all your Node.js applications
Author: Hans Kristian Flaatten
Latest version: 1.0.1

# HttpError

HTTP aware error class `HttpError` for all your Node.js applications.

## Purpose

The HttpError serves two purposes. First to attach a status `code` to error
objects in one single operation, and second to encapsulate lower lever errors in
application specific errors that can be presented to users without decoupling or
loss of important technical details.

```js
const HttpError = require('http-error');
const express = require('express');

const app = express();

app.get('/some/route', function(req, res, next) {
  db.get({…}, function(err, data) {
    if (err) {
      return next(new HttpError('Database Query Failed', 500, err));
    }

    if (!data) {
      return next(new HttpError('Object Not Found', 404));
    }

    // do work here
  });
});

app.use(function(req, res, next, httpError) {
  // print system errors to stderr
  if (httpError.code > 500) {
    if (httpError.error) {
      console.error(httpError.error.message);
      console.error(httpError.error.stack);
    } else {
      console.error(httpError.message);
      console.error(httpError.stack);
    }
  }

  res.status(httpError.code);
  res.end();
});
```

## [MIT Licensed](https://github.com/Starefossen/node-http-error/blob/master/LICENSE)
npm package: @starefossen/rand-path
Description: Dead simple random path generator
Author: Hans Kristian Flaatten
Latest version: 2.1.0

# @starefossen/rand-path

[![Build status](https://img.shields.io/wercker/ci/55dc258586a50fca220ae773.svg "Build status")](https://app.wercker.com/project/bykey/2df0989284b71b22b33a3bd0555f445a)
[![Codacy grade](https://img.shields.io/codacy/grade/91016e0b22484cde9ef27e1219cf7850.svg "Codacy grade")](https://www.codacy.com/app/starefossen/node-rand-path)
[![Codacy coverage](https://img.shields.io/codacy/coverage/91016e0b22484cde9ef27e1219cf7850.svg "Codacy coverage")](https://www.codacy.com/app/starefossen/node-rand-path)
[![NPM downloads](https://img.shields.io/npm/dm/@starefossen/rand-path.svg "NPM downloads")](https://www.npmjs.com/package/@starefossen/rand-path)
[![NPM version](https://img.shields.io/npm/v/@starefossen/rand-path.svg "NPM version")](https://www.npmjs.com/package/@starefossen/rand-path)
[![Node version](https://img.shields.io/node/v/@starefossen/rand-path.svg "Node version")](https://www.npmjs.com/package/@starefossen/rand-path)
[![Dependency status](https://img.shields.io/david/Starefossen/node-rand-path.svg "Dependency status")](https://david-dm.org/Starefossen/node-rand-path)

Dead simple random path generator.

## Install

```
npm install @starefossen/rand-path --save
```

## Usage

```
> var randPath = require('@starefossen/rand-path');
> randPath()
'wr/TB/s6'
> randPath(4)
'3J/P3/8K/y6'
> randPath(10, 3)
'6Szt/skob/vvay/ul23/6ceF/iX3O/ngU8/jKQU'
```

## Test

```
npm test
```

## Collision Probability

With the default alphabet of 62 characters, this random path generator has a
`62^2n` (where `n` is the depth of path) probability for a collision. With the
default depth of `3` that is `1` in `56,800,235,584` chance.

## [MIT Licensed](https://github.com/Starefossen/node-rand-path/blob/master/LICENSE)
npm package: @starefossen/status-api
Description: Service status API
Author: Hans Kristian Flaatten
Latest version: 1.0.1

# Service Status API

[![Build status](https://img.shields.io/wercker/ci/56e1de0b8b8eccd53600aa8c.svg "Build status")](https://app.wercker.com/project/bykey/a9dbc41d2e608c70fbfbd5ec57c50db0)
[![NPM downloads](https://img.shields.io/npm/dm/@starefossen/status-api.svg "NPM downloads")](https://www.npmjs.com/package/@starefossen/status-api)
[![NPM version](https://img.shields.io/npm/v/@starefossen/status-api.svg "NPM version")](https://www.npmjs.com/package/@starefossen/status-api)
[![Node version](https://img.shields.io/node/v/@starefossen/status-api.svg "Node version")](https://www.npmjs.com/package/@starefossen/status-api)
[![Dependency status](https://img.shields.io/david/Starefossen/status-api.svg "Dependency status")](https://david-dm.org/Starefossen/status-api)

Microservice for returning the status of various services monitored through
Pingdom. Using the Pingdom API under the hood.

## Requirements

* Node.JS >= v4.0.0

## Start

```
npm start
```

### Environment

* `PINGDOM_KEY` - Pingdom API app key
* `PINGDOM_USER` - Pingdom user
* `PINGDOM_PASS` - Pingdom password

## API

| Method | Path             | Desc                  |
|--------|------------------|-----------------------|
| `GET`  | `/api/v1/checks` | Get all status checks |

## [MIT Licensed](https://github.com/Starefossen/status-api/blob/master/LICENSE)
npm package: @starfallprojects/n8n-nodes-powershell
Description: Run PowerShell scripts within an n8n workflow.
Author: Deborah Barnard
Latest version: 1.0.1

# n8n-nodes-powershell

This is a custom node for [n8n](https://n8n.io/). It allows you to execute PowerShell commands within an n8n workflow.

## Purpose

n8n provides an Execute Command node, which allows you to execute scripts on your system's default shell. On Windows, this is Command Prompt (cmd). There is currently no option to use PowerShell, other than changing your system's default shell. This node provides an alternative. It copies _heavily_ from the Execute Command node (source for that node is [here](https://github.com/n8n-io/n8n/tree/master/packages/nodes-base/nodes/ExecuteCommand) if you're curious just how blatantly I've copied).

## Installation

1. Make sure you have PowerShell installed on the same machine as n8n. The node gives you the option to use either your default PowerShell installation, or your default PowerShell Core installation. You can't choose between multiple PowerShell (or PowerShell Core) versions.
2. Follow the n8n documentation to [install community nodes](https://docs.n8n.io/integrations/community-nodes/installation/).

## Limitations

### Not available on Cloud or Desktop

Like the Execute Command node, the PowerShell node won't work on n8n Cloud.

Community nodes are currently unavailable on n8n Desktop.

### Requires PowerShell

You must have PowerShell installed on the same machine as n8n.

### Limited PowerShell selection

You can choose either PowerShell or PowerShell Core to run your script. The node uses the default installation. This means if you have PowerShell 3.x, 4.x, and 5.x installed, it will automatically use the default. You can't use the node to select an alternative installation. This shouldn't be a problem with PowerShell, as the latest version has good backwards compatibility, but you may need to be aware of differences between the main PowerShell Core versions.

## Technical background

This node uses `execPromise`, an n8n function that promisifies Node.js' `child_process.exec()`. Refer to the [Node.js 16.x documentation](https://nodejs.org/docs/latest-v16.x/api/child_process.html#child_processexeccommand-options-callback) for more background.

> **Note:** because we're using `exec` rather than `spawn`, there is no option to detach the child process. This means the n8n workflow waits for the PowerShell script to complete before proceeding.

> **Note:** `exec` is designed to handle commands with small outputs. Be cautious about using this node for memory-heavy operations.
npm package: @starfarm-libs/sdk
Description: 🛠 An SDK for building applications on top of starfarm.
Latest version: 1.0.1

# BecoSwap SDK

[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![Actions Status](https://github.com/becoswap/becoswap-sdk/workflows/CI/badge.svg)](https://github.com/becoswap/becoswap-sdk)
[![npm version](https://img.shields.io/npm/v/@becoswap-lib/sdk/latest.svg)](https://www.npmjs.com/package/@becoswap-lib/sdk/v/latest)

## Running tests

To run the tests, follow these steps. You must have at least node v10 and [yarn](https://yarnpkg.com/) installed.

First clone the repository:

```sh
git clone https://github.com/becoswap/becoswap-sdk.git
```

Move into the becoswap-sdk working directory

```sh
cd becoswap-sdk/
```

Install dependencies

```sh
yarn install
```

Run tests

```sh
yarn test
```

You should see output like the following:

```sh
yarn run v1.22.4
$ tsdx test
 PASS  test/constants.test.ts
 PASS  test/pair.test.ts
 PASS  test/fraction.test.ts
 PASS  test/miscellaneous.test.ts
 PASS  test/entities.test.ts
 PASS  test/trade.test.ts

Test Suites: 1 skipped, 6 passed, 6 of 7 total
Tests:       3 skipped, 82 passed, 85 total
Snapshots:   0 total
Time:        5.091s
Ran all test suites.
✨  Done in 6.61s.
```
npm package: @starfarm-libs/uikit
Description: Set of UI components for starfarm projects
Latest version: 1.0.0

# BecoSwap UIkit

[![Version](https://img.shields.io/npm/v/@becoswap-libs/uikit)](https://www.npmjs.com/package/@becoswap-libs/uikit) [![Size](https://img.shields.io/bundlephobia/min/@becoswap-libs/uikit)](https://www.npmjs.com/package/@becoswap-libs/uikit)

BecoSwap UIkit is a set of React components and hooks used to build pages on BecoSwap's apps. It also contains a theme file for dark and light mode.

## Install

`yarn add @becoswap-libs/uikit`

## Setup

### Theme

Before using Becoswap UIkit, you need to provide the theme file to styled-component.

```
import { ThemeProvider } from 'styled-components'
import { light, dark } from '@becoswap-libs/uikit'
...
<ThemeProvider theme={isDark}>...</ThemeProvider>
```

### Reset

A reset CSS is available as a global styled component.

```
import { ResetCSS } from '@becoswap-libs/uikit'
...
<ResetCSS />
```

### Types

This project is built with Typescript and export all the relevant types.

## How to use the UIkit

If you want to use components from the UIkit, check the [Storybook documentation](https://becoswap.github.io/becoswap-uikit/)
npm package: @starfederation/datastar
Description: The hypermedia framework.
Author: Delaney Gillilan
Latest version: 1.0.0-beta.11
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

[![Version](https://img.shields.io/github/package-json/v/starfederation/datastar?filename=library/package.json)](https://github.com/starfederation/datastar/releases)
[![License](https://img.shields.io/github/license/starfederation/datastar)](https://github.com/starfederation/datastar/blob/main/LICENSE)
[![Stars](https://img.shields.io/github/stars/starfederation/datastar?style=flat)](https://github.com/starfederation/datastar/stargazers)

<p align="center"><img width="200" src="https://data-star.dev/static/images/rocket.webp"></p>

# Datastar

### The hypermedia framework.

Datastar helps you build reactive web applications with the simplicity of server-side rendering and the power of a full-stack SPA framework.

Getting started is as easy as adding a single 14.5 KiB script tag to your HTML.

```html
<script type="module" src="https://cdn.jsdelivr.net/gh/starfederation/datastar@v1.0.0-beta.11/bundles/datastar.js"></script>
```

Then start adding frontend reactivity using declarative <code>data-*</code> attributes.

```html
<input data-bind-title />
<div data-text="$title.toUpperCase()"></div>
<button data-on-click="@post('/endpoint')">Save</button>
```

Visit the [Datastar Website »](https://data-star.dev/)

Watch the [Videos »](https://www.youtube.com/@data-star)

Join the [Discord Server »](https://discord.com/channels/1296224603642925098/1296224603642925102)

## Getting Started

Read the [Getting Started Guide »](https://data-star.dev/guide/getting_started)

## Contributing

Read the [Contribution Guidelines »](https://github.com/starfederation/datastar/blob/develop/CONTRIBUTING.md)

## Custom Plugins

You can manually add your own plugins to the core:

```html
<script type="importmap">
{
    "imports": {
      "datastar": "https://cdn.jsdelivr.net/gh/starfederation/datastar@v1.0.0-beta.11/bundles/datastar.js"
    }
}
</script>
<script type="module">
    import { load } from 'datastar'

    load(
        // Look ma’, I made a plugin!
    )
</script>
```
npm package: @starfetch/nodemailer-mailgun-transport-ts
Description: Mailgun transport for the nodemailer library
Latest version: 1.0.0

## Installation

To use nodemailer-mailgun-transport, all you need to do is install the
`@starfetch/nodemailer-mailgun-transport-ts` package

```sh
$ yarn add @starfetch/nodemailer-mailgun-transport-ts

# or

$ npm i @starfetch/nodemailer-mailgun-transport-ts
```

## Usage

```ts
import nodemailer from 'nodemailer';
import { MailgunTransport } from '@starfetch/nodemailer-mailgun-transport-ts';

// This is your options that you retrieve from www.mailgun.com
const options = {
    auth: {
        domain: 'domain-name',
        api_key: '123456789',
    },
    host: 'api.mailgun.net',
};

const nodemailerMailgun = nodemailer.createTransport(new MailgunTransport(options));

nodemailerMailgun.sendMail({
    from: 'myemail@example.com',
    to: 'recipient@domain.com', // An array if you have multiple recipients.
    cc:'second@domain.com',
    bcc:'secretagent@company.gov',
    subject: 'Hey you, awesome!',
    'replyTo': 'reply2this@company.com',
    //You can use "html:" to send HTML email content. It's magic!
    html: '<b>Wow Big powerful letters</b>',
    //You can use "text:" to send plain-text content. It's oldschool!
    text: 'Mailgun rocks, pow pow!'
}, (err, info) => {
    if (err) {
        console.log(`Error: ${err}`);
    }
    else {
        console.log(`Response: ${info}`);
    }
});
```
The "from", "to", "cc", and "bcc" fields support an address object or array of address objects. Each "name" and 
"address" are converted to ```"name <address>"``` format. "name" is optional, "address" is required. Missing or null 
address in object is skipped.

Example:
```ts
 from: {name: 'Sales', address: 'sales@example.com'},
 to: [{name:'Mary', address:'mary@differentexample.com'}, {address:'john@anotherexample.com'}]
```
Is converted to:
```ts
 from: 'Sales <sales@example.com>',
 to: 'Mary <mary@differentexample.com>,john@anotherexample.com'
```
To use consolidate.js templates locally, give the template key an object instead that contains a name key, an 
engine key and, optionally, a context object. For example, you can use Handlebars templates to generate the 
HTML for your message like so:
```ts
const contextObject = {
  variable1: 'value1',
  variable2: 'value2'
};

nodemailerMailgun.sendMail({
  from: 'myemail@example.com',
  to: 'recipient@domain.com', // An array if you have multiple recipients.
  subject: 'Hey you, awesome!',
  template: {
    name: 'email.hbs',
    engine: 'handlebars',
    context: contextObject
  }
}, (err, info) => {
  if (err) {
    console.log(`Error: ${err}`);
  }
  else {
    console.log(`Response: ${info}`);
  }
});
```
npm package: @starfez/quasar-auth-ui
Description: Starfez login Quasar UI Component
Author: Starfez
Latest version: 1.0.6

# Auth Quasar UI

O Auth Quasar UI é um pacote que oferece componentes de interface do usuário para autenticação e gerenciamento de usuários em aplicativos Quasar Framework. Ele simplifica a integração de recursos de autenticação, como login, registro, redefinição de senha, perfil do usuário e muito mais em aplicativos Quasar.

## Instalação

Para usar o Auth Quasar UI em seu projeto Quasar, você pode instalá-lo via npm:

```bash
npm install auth-quasar-ui