open-index/open-npm huggingface dataset:
npm package: @mprokopowicz/jxa-executor
Description: Just a promisified version of "osa" module.
Author: Michał Prokopowicz
Latest version: 1.0.4

# JXA Executor

A wrapper for [osa](https://www.npmjs.com/package/osa) module that allows to use it with `promises` (or `async/await`).

## Usage

### `wrap(jxaFunction)`: create a async function to execute OSA script

use `#wrap` method to prepare a function that will execute OSA script and return a promise to the result:

```
const jxa = require('@mprokopowicz/jxa-executor');

const showDialog = jxa.wrap((message) => {
  const app = Application.currentApplication();
  app.includeStandardAdditions = true;
  app.displayNotification(message);
});

const main = async () => {
  await showDialog('Hello!');
  console.log('dialog closed');
};

main();
```

### `exec(jxaFunction, ...args)`: execute OSA script and get result

use `#exec` to invoke an OSA script and get a promise for returned result

```
const jxa = require('@mprokopowicz/jxa-executor');

jxa
  .exec((colors) => {
    const app = Application.currentApplication();
    app.includeStandardAdditions = true;
    return app.chooseFromList(colors, { withPrompt: 'What is your favorite color?' });
  }, ['red', 'green', 'blue'])
  .then((chosenColors) => {
    console.log(chosenColors);
  });
```
npm package: @mprokopowicz/sqs-monitor
Description: Simple CLI tool for monitoring number of messages on SQS/ElasticMQ queue
Author: Michał Prokopowicz
Latest version: 0.0.0

# SQSMonitor

Plot a graph of approximate messages number in SQS queue(s) in terminal.
Useful for watching load on SQS/ElasticMQ

![](sqs-monitor.gif)

## Installation


```
npm -g install @mprokopowicz/sqs-monitor
```

or

```
yarn global add @mprokopowicz/sqs-monitor
```

## AWS Credentials and Region

Set following ENV variables

```
export AWS_ACCESS_KEY_ID=foo
export AWS_SECRET_ACCESS_KEY=bar
export AWS_REGION=us-east-2
```

## Usage

```
> sqs-monitor -q http://localhost:9324/queue/queue1 -q http://localhost:9324/queue/queue2
```

### Options

#### q - queue
required - queue url for watch, you can put as many -q args as you wish

#### i - interval
refresh interval in seconds, 1s by default
npm package: @mprt/postcss-modules-browser
Description: PostCSS plugin to process CSS modules
Author: Ivan Plesskih
Latest version: 0.0.2

# PostCSS Modules Browser

[PostCSS] plugin to process CSS modules.

[PostCSS]: https://github.com/postcss/postcss

```css
.foo {
    /* Input example */
}
```

```css
.foo {
  /* Output example */
}
```

## Usage

**Step 1:** Install plugin:

```sh
npm install --save-dev postcss postcss-modules-browser
```

**Step 2:** Check you project for existed PostCSS config: `postcss.config.js`
in the project root, `"postcss"` section in `package.json`
or `postcss` in bundle config.

If you do not use PostCSS, add it according to [official docs]
and set this plugin in settings.

**Step 3:** Add the plugin to plugins list:

```diff
module.exports = {
  plugins: [
+   require('postcss-modules-browser'),
    require('autoprefixer')
  ]
}
```

[official docs]: https://github.com/postcss/postcss#usage
npm package: @mprt/rollup-plugin-incremental
Description: Rollup plugin for incremental builds
Author: Ivan Plesskih
Latest version: 0.1.0

[npm]: https://img.shields.io/npm/v/@mprt/rollup-plugin-incremental
[npm-url]: https://www.npmjs.com/package/@mprt/rollup-plugin-incremental
[![npm][npm]][npm-url]

# @mprt/rollup-plugin-incremental
A Rollup plugin which makes your (development) builds much faster, by recompiling only changed modules.

## Requirements

This plugin requires at least rollup@2.33.1

## Install

Using yarn or npm:

```console
yarn add -D @mprt/rollup-plugin-incremental

npm install @mprt/rollup-plugin-incremental --save-dev
```

## Usage

```js
//some imports ...
import incremental from '@mprt/rollup-plugin-incremental'

export default {
    input: 'src/index.js',
    //ATTENTION: treeshaking must be disabled!
    treeshake: false,
    //ATTENTION: there is must be only one output! 
    output: {
        dir: 'dist',
        format: 'esm',
        //ATTENTION: preserveModules must be enabled!
        preserveModules: true,
        preserveModulesRoot: 'src',
        //ATTENTION: minifyInternalExports must be disabled!
        minifyInternalExports: false,
    },
    plugins: [
        //ATTENTION: plugin very likely should be first!
        //BTW, this plugin is noop without watch mode 
        incremental(),  
        
        //another plugins...
        
        //ATTENTION: this fixes issues with syntheticNamedExports in commonjs modules
        //it should be last 
        incremental.fixSNE(),
    ],
}
```
And then...
```console
rollup -cw
```

There is simple typical ts, react and mobx web app in example folder.

First build will take same time as usual, but second and next builds should be really fast - below a second. 

## Gotchas

- If changed file is not directly transpiles to module (ie: some babel config), then full rebuild triggered.
- If error occurs during incremental build, all changed modules will be rebuild again on next build
- Currently it works by replacing `input` option on incremental builds, so it cannot work with another plugins which
works with `input`, i.e. multi-entry plugin

## Inter-plugin API

This plugin exposes next [API](https://rollupjs.org/guide/en/#direct-plugin-communication):

```ts
interface IncrementalAPI {
    /** Is current (or last, if there is no current) build is incremental? */
    readonly incrementalBuild: boolean 
    /** Ids of changed modules, which triggers incremental build. Null if build is not incremental */
    readonly changedModules: null | Set<string>
}
```
npm package: @mps-dz/react-components
Latest version: 1.1.0

[![Build Status](https://travis-ci.org/mps-dz/react-components.svg?branch=master)](https://travis-ci.org/mps-dz/react-components)
[![Coverage Status](https://coveralls.io/repos/github/mps-dz/react-components/badge.svg?branch=master)](https://coveralls.io/github/mps-dz/react-components?branch=master)
[![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://github.com/facebook/jest)

# React components
npm package: @mpsc/cli-lbg
Description: 为mps-cli提供 lbg 专用部分
Author: yanquankun
Latest version: 0.0.6

# @mpsc/cli-lbg

### 提供 lbg 专用部分

### test

##### command：npm i file:[path]

##### eg：在 cli 中 run npm i file:../cli-lbg

### publish

#### test 后需要将该包删除，引入真实 npm 包
npm package: @mpsis/ui-library
Description: UI component library for Marco Peruana platforms
Author: Renzo Bocanegra - Marco Peruana
Latest version: 1.0.3

# Marco Peruana UI Library

Una colección de componentes de interfaz de usuario reutilizables para proyectos web.

## Características

- Componentes modulares y personalizables
- Estilos consistentes
- Fácil integración en proyectos React

## Instalación

```bash
npm install @mpsis/ui-library
```

## Uso básico

```js
import { DevelopmentFlag } from '@mpsis/ui-library';

export default function MyApp() {
  return (
    <>
      {/* Otros componentes */}
      <DevelopmentFlag environment={process.env.NODE_ENV} />
    </>
  );
}
```

## 🛠 Configuración de Tailwind

Asegúrate de incluir esta línea en tu `tailwind.config.js` para que los estilos del componente funcionen:

```js
content: ['./src/**/*.{js,ts,jsx,tsx}', './node_modules/@mpsis/ui-library/**/*.{js,ts,jsx,tsx}'];
```

## Licencia

MIT