open-index/open-npm huggingface dataset:
npm package: @madnow/inertia-local-visit
Description: A vue.js plugin to add local visit capability to inertia.
Latest version: 0.1.0

<p>
  <a href="https://www.npmjs.com/package/@madnow/inertia-local-visit"><img src="https://img.shields.io/npm/v/%40madnow%2Finertia-local-visit" alt="npm version"></a>
  <a href="https://www.npmjs.com/package/@madnow/inertia-local-visit"><img src="https://img.shields.io/npm/dt/%40madnow%2Finertia-local-visit" alt="npm downloads"></a>
  <a href="https://github.com/madnowruzi/inertia-local-visit/blob/main/LICENSE"><img src="https://img.shields.io/github/license/madnowruzi/inertia-local-visit" alt="License"></a>
</p>

# @madnow/inertia-local-visit

A vue.js plugin to add local visit capability to Inertia.js v1.\*

Based on https://github.com/inertiajs/inertia/discussions/261#discussioncomment-225570

## Usage

```sh
# install
npm i @madnow/inertia-local-visit
```

```ts
// resources/app.ts
import { InertiaLocalVisit, findLocalPage, type LocalPages } from "@madnow/inertia-local-visit";

const localPages: LocalPages = [
  { url: "/some-pages/page1", component: "SomePages/Page1" },
  { url: "/some-pages/page2", component: "SomePages/Page2" },
  { url: /^\/another-set-of-pages\/\d+$/, component: "AnotherSetOfPages/Show" },
];

void createInertiaApp({
  resolve: (name) =>
    resolvePageComponent(
      `./Pages/${name}.vue`,
      import.meta.glob<DefineComponent>("./Pages/**/*.vue"),
    ),
  setup({ el, App, props, plugin }) {
    // @ts-expect-error fails to recognize dataset
    let initialPage = JSON.parse(el.dataset.page);
    if (initialPage.component === "not-found") {
      const matched = findLocalPage(window.location.pathname, localPages);

      if (matched) {
        initialPage = {
          url: window.location.pathname,
          component: matched.component,
        };
      }
    }

    props.initialPage = initialPage;

    const vueApp = createApp({ render: () => h(App, props) });
    vueApp.use(plugin).use(ZiggyVue).use(InertiaLocalVisit, { localPages }).mount(el);
  },
});
```

```vue
// some-component.vue

<script>
import { getCurrentInstance, toRaw } from "vue";

const { appContext } = getCurrentInstance()!;
const onClickHandler = () => {
  appContext.config.globalProperties.$localVisit(
      route("some.route.name"),
      {
        prop1: somePrimitiveValueOrProxy,
        prop2: toRaw(someComplexProxy),
      },
    );
}
</script>
```

## License

[MIT](./LICENSE)
npm package: @madnow/zarinpal-soap
Description: Unofficial node.js package for Zarinpal web api using SOAP
Latest version: 0.0.4

<p>
  <a href="https://www.zarinpal.com" target="_blank" rel="noopener noreferrer">
    <img src="./zarinpal_logo.svg" alt="Zarinpal logo">
  </a>
</p>
<p>
  <a href="https://www.npmjs.com/package/@madnow/zarinpal-soap"><img src="https://img.shields.io/npm/v/%40madnow%2Fzarinpal-soap" alt="npm version"></a>
  <a href="https://www.npmjs.com/package/@madnow/zarinpal-soap"><img src="https://img.shields.io/npm/dt/%40madnow%2Fzarinpal-soap" alt="npm downloads"></a>
  <a href="https://github.com/madnowruzi/js_zarinpal-soap/blob/main/LICENSE"><img src="https://img.shields.io/github/license/madnowruzi/js_zarinpal-soap" alt="License"></a>
</p>

# @madnow/zarinpal-soap

Unofficial node.js package for Zarinpal web api using SOAP, based on v1.3 specification.

!!!STILL A WORK IN PROGRESS!!!

## Usage

Install:

```sh
# npm
npm i @madnow/zarinpal-soap
```

Import:

```js
// ESM
import { makeZarinpalClient } from "@madnow/zarinpal-soap";

// CommonJS
const { makeZarinpalClient } = require("@madnow/zarinpal-soap");
```

## License

[MIT](./LICENSE)
npm package: @mado/utils
Description: ```bash npm install @mado/utils # or yarn add @mado/utils # or pnpm add @mado/utils ```
Author: doinki
Latest version: 0.4.0

# @mado/utils

## Installation

```bash
npm install @mado/utils
# or
yarn add @mado/utils
# or
pnpm add @mado/utils
```
npm package: @madoc.io/tasks-api
Description: A generic service for storing the state of "Tasks" or units of work for users or other services.
Author: Stephen Fraser
Latest version: 0.0.2

# Tasks API
A generic service for storing the state of "Tasks" or units of work for users or other services.

## Installation
You can either grab the built docker image, or run your own server using the NPM package.

### Requirements
- Postgres 12+
- Node 12+ or Docker

### Docker

The image can be found at:
```
ghcr.io/digirati-co-uk/tasks-api:latest
```

You need to have a postgres available. Configuration is passed through environment variables.
- `DATABASE_HOST` - postgres host
- `DATABASE_USER` - postgres user
- `DATABASE_NAME` - name of the database

Some other environment variables are optional:
- `DATABASE_PORT` - postgres port (default: 5432)
- `SERVER_PORT` - server port internal (default: 3000)
- `REDIS_HOST` - redis host
- `REDIS_DB` - redis database
- `QUEUE_LIST` - comma separated list of queues to push

### NPM

First install with NPM or Yarn
```
$ npm install @madoc.io/tasks-api
$ yarn add @madoc.io/tasks-api
```

And create a javascript file to run your server:

```js
const { createApp } = require('@madoc.io/tasks-api');
const path = require('path');

createApp({
  migrate: true,
  migrationsPath: path.join(process.cwd(), './node_modules/@madoc.io/tasks-api/migrations'),
  postgres: `postgresql://postgres:postgres@localhost:5432/postgres`,
  env: 'production',
  enableQueue: false,
  queueList: []
}).then(app => {

    // Listen on a port.
    app.listen(8999);
});
```

`createApp` returns a promise, when resolve you can start to listen on a port. 


## BullMQ
If you set up a redis host, you can configure different events to be published to a BullMQ instance. This can then be consumed by an external service or services.

List of events:

- `created`
- `modified`
- `assigned`
- `status`
- `subtask_created`
- `deleted`
- `subtask_status`

Open an issue or discussion if you'd like more information on how these work.
npm package: @madoc/component-repl
Description: Madoc Repl Component
Author: Jérémie Pichon
Latest version: 0.1.1

# @madoc/component-repl

[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=cadgerfeast_madoc-component-repl&metric=alert_status)](https://sonarcloud.io/dashboard?id=cadgerfeast_madoc-component-repl)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=cadgerfeast_madoc-component-repl&metric=coverage)](https://sonarcloud.io/dashboard?id=cadgerfeast_madoc-component-repl)
[![Version](https://badge.fury.io/js/%40madoc%2Fcomponent-repl.svg)](https://www.npmjs.com/package/@madoc/component-repl)
[![Downloads](https://img.shields.io/npm/dt/@madoc/component-repl.svg)](https://www.npmjs.com/package/@madoc/component-repl)
[![License](https://img.shields.io/npm/l/@madoc/component-repl.svg)](https://github.com/cadgerfeast/madoc-component-repl/blob/master/LICENSE)

[Madoc](https://madoc.cadgerfeast.dev/) is a **MA**rkdown **DOC**umentation Framework.

It will help your generate a static documentation website.

This component adds coding capability inside the browser using [Codemirror](https://codemirror.net/) and **iframes**.

``` bash
# Install dependencies
npm install --save-dev @madoc/component-repl
```

Then add this in a **addons/index.ts** file of your project.

``` typescript
// Addons
import MadocComponentRepl from '@madoc/component-repl';

export default [
  MadocComponentRepl
];
```
npm package: @madoc/core
Description: Markdown Documentation Framework
Author: Jérémie Pichon
Latest version: 0.2.5

# @madoc/core

[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=cadgerfeast_madoc-core&metric=alert_status)](https://sonarcloud.io/dashboard?id=cadgerfeast_madoc-core)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=cadgerfeast_madoc-core&metric=coverage)](https://sonarcloud.io/dashboard?id=cadgerfeast_madoc-core)
[![Version](https://badge.fury.io/js/%40madoc%2Fcore.svg)](https://www.npmjs.com/package/@madoc/core)
[![Downloads](https://img.shields.io/npm/dt/@madoc/core.svg)](https://www.npmjs.com/package/@madoc/core)
[![License](https://img.shields.io/npm/l/@madoc/core.svg)](https://github.com/cadgerfeast/madoc-core/blob/master/LICENSE)

<p align="center"><br/><img width="200" src="https://madoc.cadgerfeast.dev/icons/madoc.svg" alt="Madoc Icon"/><br/><br/></p>

> Markdown Documentation Framework

## Installation

**Madoc** is a **MA**rkdown **DOC**umentation Framework.

It will help your generate a static documentation website.

How to get started easily:

``` bash
# Install globally
npm install -g @madoc/core
# Install locally
npm install --save-dev @madoc/core
# Start the project in development
madoc dev
# Build the final website
madoc build
# Check out the final website
madoc preview
```