open-index/open-npm huggingface dataset:
npm package: @planet221b/pure-mvc
Description: PureMVC is a lightweight framework for creating applications based upon the classic Model-View-Controller design meta-pattern
Author: RollinSafary
Latest version: 2.2.5

# pure MVC

## how to install

`npm i @planet221b/pure-mvc@latest`

## About

Basic Model-View-Controller architecture with extended functionality in TypeScript.

Example project here https://github.com/planet-221b/pureMVC-example.

## Added functionalities.

1. Mediator have `sleap()` and `wake()` functions, which will give you ability to stop and start mediator from listening notifications dynamically.
2. Mediator have `subscribeToNotifications()` and `unsubscribeToNotification` functions, which are giving ability to dynamically subscribe and unsubscribe listening notifications. `listenNotificationInterests` now is a getter not a function.
3. Now it's allowed to have same mediator-view pairs, so for every mediator instance will be generated unique id, which is available in mediator in `id` property.
4. Now `facade.retrieveMediator` function has optional second property `id`. It's for cases where you have multiple instances of same mediator-view pairs. If you're using `retrieveMediator` function without giving `id` argument, it will return first mediator from mediators with given name.
5. Now facade has new function `getMediatorsCount(mediatorName: string)` which will return count of Mediator with same name. It'd done for cases, when you want to write you own logic based on Mediator count.
6. Mediator have `index` property which shows in which index in the same name mediators list it is, cane be used to different them from each other.
7. Same notification can call multiple commands, so added functions to remove commands from notification's call queue. To remove single command from call queue call `removeCommand(notification, command)` on facade, and to remove all commands from notification's queue call `removeCommands(notification)` on facade.
8. To register command for signle use `registerCommandOnce(notification, command)` on facade. So it will called only once, then it will be removed from commands queue.
9. Added `Guard` for commad, it can be used to make checkes before command will execute, it has reference to facade too.
10. Added `addGuard(...guardClassRefs)`, you need to give as argument just `Guard` classes, not instances.
11. Command has protected method `perpare`, which is provided to add guards.
12. Command execution is being done in following sequence, <br>`prepare -> checkGuards -> execute`

## ToDo

## 2. Create a TypeScript example with all new functionalities usage. And update attached example.

### Description

At the moment, attached example repo is in ES6 and doesn't using all new functionalities
npm package: @planetadeleste/vuemc
Description: Models and Collections for Vue 3. Maintained version.
Author: Rudi Theunissen
Latest version: 1.0.11

<p>
  <img align="left" height="120" src="http://vuemc.io/assets/images/logo.png" />
</p>

# Models and Collections for Vue.js

[![Build Status](https://img.shields.io/travis/FiguredLimited/vue-mc.svg?style=flat-square&branch=master)](https://travis-ci.org/FiguredLimited/vue-mc)
[![Coverage](https://img.shields.io/codecov/c/github/FiguredLimited/vue-mc/master.svg?style=flat-square)](https://codecov.io/gh/FiguredLimited/vue-mc)
[![Latest Version](https://img.shields.io/npm/v/vue-mc.svg?style=flat-square)](https://www.npmjs.com/package/vue-mc)
[![License](https://img.shields.io/npm/l/vue-mc.svg?style=flat-square)](https://github.com/FiguredLimited/vue-mc/blob/master/LICENSE)

### Documentation

Documentation is available at **[http://vuemc.io](http://vuemc.io)**

### Development

#### Install

Install [`yarn`](https://yarnpkg.com/en/) if you don't already have it available:

```
sudo npm install -g yarn
```

Install the dependencies:

```
yarn
```

#### Build

```
yarn build --watch
```

#### Test

```
yarn test --watch
```

#### Docs

You will need to install jekyll to render and edit the documentation.

```
yarn docs
```

### License

[MIT](LICENSE)
npm package: @planetar/api-card
Description: Planetar Api Card
Author: Luca Ban - Mesqueeb
Latest version: 0.6.14

# Component ApiCard

[![npm](https://img.shields.io/npm/v/@planetar/api-card.svg?label=@planetar/api-card)](https://www.npmjs.com/package/@planetar/api-card)
[![npm](https://img.shields.io/npm/dt/@planetar/api-card.svg)](https://www.npmjs.com/package/@planetar/api-card)

# Component ApiCard

> Short description of the component

# Usage

```js
import Vue from 'vue'
import Plugin from '@planetar/api-card'
import '@planetar/api-card/dist/index.css'

Vue.use(Plugin)
```

Then use as `<ApiCard />`

**OR**:

```html
<script>
  import { ApiCard } from '@planetar/api-card'

  export default {
    components: {
      ApiCard,
    },
  }
</script>
```

## UMD variant

Exports `window.apiCard`.

Add the following tag(s):

```html
<head>
  <!-- at the bottom of head -->
  <link
    href="https://cdn.jsdelivr.net/npm/@planetar/api-card/dist/index.min.css"
    rel="stylesheet"
    type="text/css"
  />
</head>
<body>
  <!-- at end  bottom of body -->
  <script src="https://cdn.jsdelivr.net/npm/@planetar/api-card/dist/index.umd.min.js"></script>
</body>
```

# License

MIT (c) Luca Ban - Mesqueeb
npm package: @planetar/component-gallery
Description: Planetar Component Gallery
Author: Luca Ban - Mesqueeb
Latest version: 0.6.14

# Component Planetar

[![npm](https://img.shields.io/npm/v/quasar-ui-planetar.svg?label=quasar-ui-planetar)](https://www.npmjs.com/package/quasar-ui-planetar)
[![npm](https://img.shields.io/npm/dt/quasar-ui-planetar.svg)](https://www.npmjs.com/package/quasar-ui-planetar)

# Component Planetar
> Short description of the component


# Usage

## Quasar CLI project
Create and register a boot file:

```js
import Vue from 'vue'
import Plugin from 'quasar-ui-planetar'

Vue.use(Plugin)
```

**OR**:

```html
<script>
import { Component as Planetar } from 'quasar-ui-planetar'

export default {
  components: {
    Planetar
  }
}
</script>
```

## Vue CLI project

```js
import Vue from 'vue'
import Plugin from 'quasar-ui-planetar'

Vue.use(Plugin)
```

**OR**:

```html
<script>
import { Component as Planetar } from 'quasar-ui-planetar'

export default {
  components: {
    Planetar
  }
}
</script>
```

## UMD variant

Exports `window.Planetar`.

Add the following tag(s) after the Quasar ones:

```html
<body>
  <!-- at end of body, AFTER Quasar script(s): -->
  <script src="https://cdn.jsdelivr.net/npm/quasar-ui-planetar/dist/index.umd.min.js"></script>
</body>
```

# Setup
```bash
$ yarn
```

# Developing
```bash
# start dev in SPA mode
$ yarn dev

# start dev in UMD mode
$ yarn dev:umd

# start dev in SSR mode
$ yarn dev:ssr

# start dev in Cordova iOS mode
$ yarn dev:ios

# start dev in Cordova Android mode
$ yarn dev:android

# start dev in Electron mode
$ yarn dev:electron
```

# Building package
```bash
$ yarn build
```

# Adding Testing Components
in the `ui/dev/src/pages` you can add Vue files to test your component/directive. When using `yarn dev` to build the UI, any pages in that location will automatically be picked up by dynamic routing and added to the test page.

# Adding Assets
If you have a component that has assets, like language or icon-sets, you will need to provide these for UMD. In the `ui/build/script.javascript.js` file, you will find a couple of commented out commands that call `addAssets`. Uncomment what you need and add your assets to have them be built and put into the `ui/dist` folder.

# Donate
If you appreciate the work that went into this, please consider [donating to Quasar](https://donate.quasar.dev).

# License
MIT (c) Luca Ban - Mesqueeb
npm package: @planetar/example-card
Description: Example Card based on a Vue file with automatic source extraction
Author: Luca Ban - Mesqueeb
Latest version: 0.7.5

# Component ExampleCard

[![npm](https://img.shields.io/npm/v/@planetar/example-card.svg?label=@planetar/example-card)](https://www.npmjs.com/package/@planetar/example-card)
[![npm](https://img.shields.io/npm/dt/@planetar/example-card.svg)](https://www.npmjs.com/package/@planetar/example-card)

# Component ExampleCard

> Short description of the component

# Usage

```js
import Vue from 'vue'
import Plugin from '@planetar/example-card'
import '@planetar/example-card/dist/index.css'

Vue.use(Plugin)
```

Then use as `<ExampleCard />`

**OR**:

```html
<script>
  import { ExampleCard } from '@planetar/example-card'

  export default {
    components: {
      ExampleCard
    }
  }
</script>
```

## UMD variant

Exports `window.exampleCard`.

Add the following tag(s):

```html
<head>
  <!-- at the bottom of head -->
  <link
    href="https://cdn.jsdelivr.net/npm/@planetar/example-card/dist/index.min.css"
    rel="stylesheet"
    type="text/css"
  />
</head>
<body>
  <!-- at end  bottom of body -->
  <script src="https://cdn.jsdelivr.net/npm/@planetar/example-card/dist/index.umd.min.js"></script>
</body>
```

# License

MIT (c) Luca Ban - Mesqueeb
npm package: @planetarium/aws-kms-provider
Description: [![npm version](https://badge.fury.io/js/aws-kms-provider.svg)](https://www.npmjs.com/package/aws-kms-provider) [![GitHub Actions](https://github.com/odanado/aws-kms-provider/workflows/Node%20CI/badge.svg)](https://github.com/odanado/aws-kms-provider) [![
Latest version: 0.4.0

# aws-kms-provider

[![npm version](https://badge.fury.io/js/aws-kms-provider.svg)](https://www.npmjs.com/package/aws-kms-provider)
[![GitHub Actions](https://github.com/odanado/aws-kms-provider/workflows/Node%20CI/badge.svg)](https://github.com/odanado/aws-kms-provider)
[![Coverage Status](https://coveralls.io/repos/github/odanado/aws-kms-provider/badge.svg?branch=add-coveralls)](https://coveralls.io/github/odanado/aws-kms-provider?branch=add-coveralls)

AWS KMS Web3 provider. The provider can sign the transaction using [Asymmetric Keys of AWS Key Management Service](https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html) without managing a private key.



## Install
```bash
$ npm install aws-kms-provider
```

## Examples
See [send-eth.ts](https://github.com/odanado/aws-kms-provider/blob/master/examples/send-eth.ts).

```ts
import Web3 from "web3";
import { KmsProvider } from "aws-kms-provider";

const region = "us-east-1";
const keyId = "xxxxx-xxxx-xxxx-xxxx-xxxxxxxx";
const endpoint =
  "https://ropsten.infura.io/v3/xxxxxxxxxxxx";
const to = "0xabcdef";

async function main() {
  const provider = new KmsProvider(
    endpoint,
    { region, keyIds: [keyId] }
  );

  const web3 = new Web3(provider as any);

  const accounts = await web3.eth.getAccounts();
  console.log("accounts", accounts);

  const receipt = await web3.eth.sendTransaction({
    from: accounts[0],
    to,
    value: web3.utils.toWei("0.00001", "ether")
  });

  console.log(receipt);
}

main().catch(e => console.error(e));
```


## For Developer
### Release


```bash
$ yarn publish
$ git push origin HEAD
$ git push origin --tags
```

- Write a release note.
npm package: @planetarium/check-free-space
Description: Checks free space.
Latest version: 0.0.2

# @planetarium/check-free-space

This package uses native OS APIs to get free size available on specified path. It is powered by [`fs2`](https://github.com/danburkert/fs2-rs) under the hood.

## APIs

### getFreeSpace

```typescript
import { getFreeSpace } from '@planetarium/check-free-space';

getFreeSpace('./')
```

Gets free space available on specified path. **It returns BigInt.**

### checkFreeSpace

```typescript
import { checkFreeSpace } from '@planetarium/check-free-space';

if (checkFreeSpace('./', BigInt(1_000_000_000_000))) {
  console.log('Enough space available');
}
```

Checks if there are enough space to store specified amount of bytes in a specified path. You can provide a BigInt, string, or number value for bytes.

If you passed a string as bytes, it may throw if the string cannot be parsed as numerical value. If BigInt is passed, it will be converted to Rust `u64` during the process.
npm package: @planetarium/check-free-space-linux-arm64-gnu
Description: This is the **aarch64-unknown-linux-gnu** binary for `@planetarium/check-free-space`
Latest version: 0.0.2

# `@planetarium/check-free-space-linux-arm64-gnu`

This is the **aarch64-unknown-linux-gnu** binary for `@planetarium/check-free-space`
npm package: @planetary/sanity-plugin-preflight
Description: Checks and validations to run before publishing content
Author: Planetary Corporation
Latest version: 1.1.1

# sanity-plugin-preflight

> This is a **Sanity Studio v3** plugin.

The Preflight plugin is a modular Sanity document extension for running various checks
prior to publishing content.

Current available checks include:

- [Dead Links](./src/DeadLinks/): Ensure that all links in a document are reachable.
- [SEO Audit](./src/SEOAudit/): Automated report for SEO best practices.

![Screenshot 2024-06-19 at 09 39 41@2x](https://github.com/planetary/sanity-plugin-link-check/assets/1646307/b8b2aa63-4ad6-480f-b24e-52ffb6ef57b1)

## Installation

```sh
npm install @planetary/sanity-plugin-preflight
```

## Usage

Modify your `deskStructure` file to include the following.
If you don't have a custom Structure Builder configuration, please see [the official guide](https://www.sanity.io/guides/getting-started-with-structure-builder):

```ts
// deskStructure.ts
import {Preflight, DeadLinks} from '@planetary/sanity-plugin-preflight'
import {RocketIcon} from '@sanity/icons'

export const getDefaultDocumentNode = ({schemaType}) => {
  // Only show the Preflight plugin on selected document types
  if (['article', 'page'].includes(schemaType)) {
    return S.document().views([
      // Include the default content editor
      S.view.form(),

      // Add Preflight plugin
      S.view
        .component(
          Preflight({
            plugins: [DeadLinks()],
          }),
        )
        .title('Preflight')
        .icon(RocketIcon),
    ])
  }

  // Otherwise render the default content editor
  return S.document().views([S.view.form()])
}
```

## Develop & test

This plugin uses [@sanity/plugin-kit](https://github.com/sanity-io/plugin-kit)
with default configuration for build & watch scripts.

See [Testing a plugin in Sanity Studio](https://github.com/sanity-io/plugin-kit#testing-a-plugin-in-sanity-studio)
on how to run this plugin with hotreload in the studio.

### Release new version

Run ["CI & Release" workflow](https://github.com/planetary/sanity-plugin-preflight/actions/workflows/main.yml).
Make sure to select the main branch and check "Release new version".

Semantic release will only release on configured branches, so it is safe to run release on any branch.

## License

[MIT](LICENSE) © [Planetary Corporation](https://planetary.co)
npm package: @planeter/create-planeter
Description: 创建指定Planeter项目模板
Author: gxlself
Latest version: 0.0.12

# create-planeter
创建指定Planeter项目模板

## 创建命令如下

```shell
yarn create @planeter/planeter 项目名 --template 指定类型模板
```

```shell交互式
yarn create @planeter/planeter

// 按照对应的命令选择对应模板
```
### template类型
- 不设置      默认指定  planeter-template 项目模板
- 默认模板    planeter-template          项目模板
- pnpm       planeter-template-pnpm     项目模板
- serve      planeter-template-serve    项目模板


## 更新日志
- 0.0.11
	发布包

- 0.0.12
	- 更新H5模板
  - 子应用js hash处理
	- 更新配置
npm package: @planetfall/cli
Description: run planetfall checks from your CLI
Author: Andreas Thomas @chronark
Latest version: 0.1.1

<div align="center">
    <h1 align="center">@planetfall/cli</h1>
    <h5>Run global latency tests from your CLI</h5>
</div>

<div align="center">
  <a href="https://planetfall.io/play">https://planetfall.io/play</a>
</div>
<br/>


## Installation

```sh-session
$ npm install -g @planetfall/cli

$ planetfall ...
```

Or run globally with npx:

```sh-session
$ npx @planetfall/cli ...
```

## Usage
<!-- usage -->
```sh-session
$ npm install -g @planetfall/cli
$ planetfall COMMAND
running command...
$ planetfall (--version)
@planetfall/cli/0.1.1 darwin-arm64 node-v18.12.1
$ planetfall --help [COMMAND]
USAGE
  $ planetfall COMMAND
...
```
<!-- usagestop -->
```sh-session
$ planetfall check https://example.com

Checking... Done

Please visit the following URL to see the results:
https://planetfall.io/play/N3T4Ug8npBC

```


## Help

```sh-session
$ planetfall check --help

USAGE
  $ planetfall check [URL] [-m GET|POST|PUT|DELETE|PATCH] [-r] [--noopen]

FLAGS
  -m, --method=(GET|POST|PUT|DELETE|PATCH)  [default: GET] HTTP method
  -r, --repeat                              Repeat the check to similate a hot cache
  --noopen                                  Prevents your browser from being opened automatically

DESCRIPTION
  describe the command here

EXAMPLES
  $ planetfall check

```