open-index/open-npm huggingface dataset:
npm package: @miguelmazetto/svelte-neutralino-adapter
Description: Svelte Adapter for Neutralino (Desktop)
Author: miguelmazetto
Latest version: 0.0.7


# svelte-neutralino-adapter
Allows SvelteKit applications to be compiled into executables using [Neutralino](https://neutralino.js.org/)

The advantage of Neutralino compared to Electron, is that the browser is not included, it will use the OS browser (e.g. for Windows it will be Edge). That means that instead of 100+ MB, it will be only 15 MB (For all OS included, for just one its maximum 4 MB). And the compile step is miles faster as well.

## Installation

```
npm install --save-dev @miguelmazetto/svelte-neutralino-adapter
```
```javascript
// svelte.config.js
import adapter from '@miguelmazetto/svelte-neutralino-adapter/adapter.js'

export default {
    kit: {
        adapter: adapter()
    },
}
```
```javascript
// routes/+layout.ts or routes/+layout.js
export const prerender = true;
```


## Usage

After building the first time, it generates a neutralino.config.json at your project's root folder, there you can change all [neutralino configurations](https://neutralino.js.org/docs/configuration/neutralino.config.json).

## Native API
Neutralino offers a way to manipulate files and start processes, disable it if not using (it is disabled by default), because it can be a vulnerability if your application runs remote code.

Enable it at:
```javascript
// neutralino.config.json
{
	...,
	"enableNativeAPI": true,
	...,
}
```
Initialize it at:
```html
<!-- routes/+layout.svelte -->
<script>
	import { initNeutralino, onNeutralino } from "@miguelmazetto/svelte-neutralino-adapter";
	
	// Calls the initialization of the Native API socket
	// It is recommended to be in the root +layout.svelte
	initNeutralino(n => {
		// Execute first
		n.debug.log("First!", n.debug.LoggerType.INFO)
	})
	
	// Adds a callback for when the NativeAPI is ready.
	// If called after it is already ready, it will just
	// immediately call it. In doubt, just use it.
	// This can be placed anywhere
	onNeutralino(n => {
		// Execute second
		n.debug.log("Second!", n.debug.LoggerType.INFO)
	})
</script>
```
The documentation for every function is available at the [Neutralino Documentation](https://neutralino.js.org/docs/api/overview).
npm package: @miguelms017/calculator
Description: A simple command-line calculator that performs basic arithmetic operations.
Author: Miguel Angel Martinez Serrato
Latest version: 1.0.1

# Calculator CLI

A simple command-line calculator that performs basic arithmetic operations.

## Overview

This project provides a command-line calculator that supports the following **8** operation keywords:

*   Addition (`add`)
*   Subtraction (`subtract`)
*   Multiplication (`multiply` or `times`)
*   Division (`divide`)
*   Modulus (`modulus` or `remainder`)
*   Power (`power`)

## Prerequisites

This project requires [Node.js](https://nodejs.org/) to be installed on your system. We recommend using Node.js version 12 or higher.


## Installation

1.  Install as a devDependencies:

    ```bash
    npm install @miguelms017/calculator --save-dev
    ```


## Usage

To use the calculator, run the script with three arguments:

```bash
npx calculator.js number operator number
```

Examples:

*   Addition:

    ```
    node calculator.js 2 add 3
    // Expected Output: result: 5
    ```

*   Division:

    ```
    node calculator.js 10 divide 2
    // Expected Output: result: 5
    ```

*   Power:

    ```
    node calculator.js 2 power 3
    // Expected Output: result: 8
    ```


## License

This project is licensed under the MIT License. See the `LICENSE` file for more details.
npm package: @miguelms017/financial-calculator
Description: A simple command-line financial calculator that processes transaction amounts and computes key financial metrics.
Author: Miguel Angel Martinez Serrato
Latest version: 1.0.0

# Financial Calculator CLI

## Overview

This project provides a command-line financial calculator that processes a list of transaction amounts and outputs key financial metrics. The calculator computes the total number of transactions, total sum, average transaction value, total income (sum of positive transactions), total expenses (sum of negative transactions), and net balance.

## Prerequisites

This project requires Node.js (version 12 or higher). Please ensure that Node.js is installed on your system.

## Installation

To install the package as a development dependency, run:

npm install @miguelms017/financial-calculator --save-dev

## Usage

To run the financial calculator, use the following command with a list of transaction amounts (ignoring non-numbers):

node financialCalculator.js <transaction1> <transaction2> ...

Example:

node financialCalculator.js 100 -50 job 200 taxes -75

## License

This project is licensed under the MIT License. See the LICENSE file for additional details.
npm package: @migueloatla/bento-ui
Description: Atoms based on styled-system and rebass
Author: MigueloAtla
Latest version: 0.0.18

# bento-ui

> Atoms based on styled-system and rebass

[![NPM](https://img.shields.io/npm/v/bento-ui.svg)](https://www.npmjs.com/package/bento-ui) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save bento-ui
```

## Usage

```jsx
import React, { Component } from 'react'

import MyComponent from 'bento-ui'
import 'bento-ui/dist/index.css'

class Example extends Component {
  render() {
    return <MyComponent />
  }
}
```

## License

MIT © [MigueloAtla](https://github.com/MigueloAtla)
npm package: @miguelopezv/platzom
Description: Traductor de idioma platzom
Author: Miguel López
Latest version: 0.1.0

# Platzom

Platzom es un idioma inventado para el [Curso de fundamentos de Javascript](https://platzi.com/js) de Platzi

## Descripción del idioma

- Si la palara termina con 'ar', se quitan estas dos últimas.

- Si la palabra inicia con 'Z', se añade 'pe' al final de la misma.

- Si la palabra traducida tiene 10 o más letras, esta debe partirse a la mitad por un guión.

- Si la palabra es un palíndromo, ninguna de estas reglas se aplica y la palabra se devuelve como es originalmente pero intercalando mayúsculas y minúsculas.

## Instalación

```
npm install platzom
```

# Uso

```
import platzom from 'platzom'

platzom('Programar') //Program
platzom('Zorro') //Zorrope
platzom('Zarpar') //Zarppe
platzom('abecedario') //abece-dario
platzom('sometemos') //SoMeTeMoS
```

## Licencia

[MIT](https://opensource.org/licenses/MIT)
npm package: @miguelsm/react-shadow-dom-retarget-events
Description: Retargets event in a shadow root to react
Author: Lukas Bombach
Latest version: 1.0.10

# react-shadow-dom-retarget-events

## What it does

Fixes events for react components rendered in a `shadow dom`.

## Why

When you render a react component inside `shadow dom` events will not be dispatched to react. 
I.e. when a user clicks in your react component nothing happens. This happens (or does not happen) with any events.
 
A bug is filed at [#10422](https://github.com/facebook/react/issues/10422).

## How to fix it

Luckily someone wrote [a workaround on Stack Overflow](https://stackoverflow.com/questions/37866237/click-event-not-firing-when-react-component-in-a-shadow-dom).
It works by adding vanilla JS event listeners and dispatching events to React.

This repo is based on his answer in an npm module.

## Installation

`yarn add react-shadow-dom-retarget-events` or

`npm install react-shadow-dom-retarget-events --save`

## Usage

import `retargetEvents` and call it with the `shadowRoot`:

```jsx
import React from 'react';
import retargetEvents from 'react-shadow-dom-retarget-events';

class App extends React.Component {
  render() {
  	return <div onClick={() => alert('I have been clicked')}>Click me</div>;
  }
}

const proto = Object.create(HTMLElement.prototype, {
  attachedCallback: {
    value: function() {
      const mountPoint = document.createElement('span');
      const shadowRoot = this.createShadowRoot();
      shadowRoot.appendChild(mountPoint);
      ReactDOM.render(<App/>, mountPoint);
      retargetEvents(shadowRoot);
    }
  }
});
document.registerElement('my-custom-element', {prototype: proto});
```
## History

* v1.08 Support for cancelBubble and FireFox's composedPath
* v1.07 Support for onBlur
* v1.06 Support von React 16, Added Events, Code Cleanup
* v1.05 Initial commits and basic functionality
npm package: @mihaiblaga89/ah-delivery
Description: Checks AH delivery slots by postcode
Author: Mihai Blaga
Latest version: 0.2.0

## Albert Heijn Delivery Check

Checks Albert Heijn delivery slots by postcode, in this time of need, without having to access AH's website and scroll the calendar.

`npm install -g @mihaiblaga89/ah-delivery` 
`ahdl check <postcode>`

or `npx @mihaiblaga89/ah-delivery check <postcode>`

### Options
`-c, --cron` - Will exit with an exit code of 1 (error) if it finds something. Made specifically for my Synology NAS since I can easily set it up with a few clicks to send me an email if a cronjob fails. That way I can enable this to run every 10 minutes and I'll receive an email if it finds a slot. 

`-l, --limit <days>` - You can limit the number of days you want this script to check. Maybe you're not interested in slots 10 days from now.
npm package: @mihaiblaga89/appsync-graphql-import
Description: [![npm version](https://badge.fury.io/js/@mihaiblaga89/appsync-graphql-import.svg)](https://badge.fury.io/js/graphql-import)
Latest version: 1.0.0

# graphql-import

[![npm version](https://badge.fury.io/js/@mihaiblaga89/appsync-graphql-import.svg)](https://badge.fury.io/js/graphql-import)

Import &amp; export definitions in GraphQL SDL (also refered to as GraphQL modules)

*Forked from https://github.com/ardatan/graphql-import since that seems to not be maintained anymore and I needed a way for AppSync's GQL tags to work with this*

## Features
1. same as https://github.com/ardatan/graphql-import
2. added support for `@searchable`, `@model` and `@aws_auth`

## Install

```sh
yarn add @mihaiblaga89/appsync-graphql-import
```

## Usage

```ts
import { importSchema } from 'graphql-import'
import { makeExecutableSchema } from 'graphql-tools'

const typeDefs = importSchema('schema.graphql')
const resolvers = {}

const schema = makeExecutableSchema({ typeDefs, resolvers })
```

Assume the following directory structure:

```
.
├── schema.graphql
├── posts.graphql
└── comments.graphql
```

`schema.graphql`

```graphql
# import Post from "posts.graphql"

type Query {
  posts: [Post]
}
```

`posts.graphql`

```graphql
# import Comment from 'comments.graphql'

type Post {
  comments: [Comment]
  id: ID!
  text: String!
  tags: [String]
}
```

`comments.graphql`

```graphql
type Comment {
  id: ID!
  text: String!
}
```

Running `console.log(importSchema('schema.graphql'))` produces the following output:

```graphql
type Query {
  posts: [Post]
}

type Post {
  comments: [Comment]
  id: ID!
  text: String!
  tags: [String]
}

type Comment {
  id: ID!
  text: String!
}
```
npm package: @mihaiblaga89/bmw-connecteddrive-api
Description: BMW ConnectedDrive API JS implementation
Author: Mihai Blaga
Latest version: 0.5.4

# bmw-connecteddrive-api

[![codecov](https://codecov.io/gh/mihaiblaga89/bmw-connecteddrive-api/branch/master/graph/badge.svg)](https://codecov.io/gh/mihaiblaga89/bmw-connecteddrive-api)
[![Actions Status](https://github.com/mihaiblaga89/bmw-connecteddrive-api/workflows/tests/badge.svg)](https://github.com/mihaiblaga89/bmw-connecteddrive-api/actions)
[![CodeFactor](https://www.codefactor.io/repository/github/mihaiblaga89/bmw-connecteddrive-api/badge/master)](https://www.codefactor.io/repository/github/mihaiblaga89/bmw-connecteddrive-api/overview/master)
[![License](https://img.shields.io/npm/l/@mihaiblaga89/bmw-connecteddrive-api)](https://github.com/mihaiblaga89/bmw-connecteddrive-api/blob/master/LICENSE)

JavaScript implementation of the BMW's ConnectedDrive API

Example: [BMWStatus](https://github.com/mihaiblaga89/bmw-status-app)

## Usage

```javascript
import API from '@mihaiblaga89/bmw-connecteddrive-api';

await API.init({
    region: 'eu',
    username: 'user@example.com',
    password: 'mySuperPassword',
});

const vehicles = await API.getVehicles();

const vehicleStatus = await vehicles[0].getStatus();
```

## API Methods

#### API.init(options)

Initializes the API with your credentials. By default it also fetches your vehicles and saves them but you can disable this behaviour if you want. [More info](https://bmwapi.mihaiblaga.dev/?api#API#init)

#### API.getVehicles(force)

Returns your prefetched vehicles or queries the BMW API for them. Has the option to force the query to refresh your vehicles. Every vehicle is an instance of [Vehicle](https://bmwapi.mihaiblaga.dev/?api#Vehicle). [More info](https://bmwapi.mihaiblaga.dev/?api#API#getVehicles)

## Vehicle Methods

#### Vehicle.getImage(width, height, view)

Fetches and caches your vehicle image from BMW API. Of course it's not the actual photo, it's just a car photo based on your car's model and color :). Several "views" are available. [More info](https://bmwapi.mihaiblaga.dev/?api#Vehicle#getImage)

#### Vehicle.getStatus(force)

Fetches and caches the car's status from the API. Can be forced. Returns an instance of [VehicleStatus](https://bmwapi.mihaiblaga.dev/?api#VehicleStatus). [More info](https://bmwapi.mihaiblaga.dev/?api#Vehicle#getStatus)

## Acknowledgments

This work was inspired by the following repos:

-   https://github.com/bimmerconnected/bimmer_connected
-   https://github.com/edent/BMW-i-Remote
-   https://shkspr.mobi/blog/2015/11/reverse-engineering-the-bmw-i3-api/

Thank you for your efforts and hard work.

## License

-   [MIT License](https://github.com/mihaiblaga89/bmw-connecteddrive-api/blob/master/LICENSE)

## Disclaimer

This library is not affiliated nor endorsed by BMW Group / Bayerische Motoren Werke AG.
npm package: @mihaiblaga89/template-starter-backend
Description: 🚧 Starter Template for ReNative (https://www.npmjs.com/package/renative). Supports `iOS`, `tvOS`, `Android`, `Android TV`, `FireTV`, `Android Wear`, `Web`, `Tizen TV`, `Tizen Watch`, `LG webOS`, `macOS/OSX`, `Windows`, `KaiOS`, `Linux
Author: Mihai Blaga
Latest version: 0.1.5

# @mihaiblaga89/template-starter-backend

Starter Template for <a href="https://www.npmjs.com/package/renative">ReNative</a>

This provides the example multi platform app with following functionality demonstrated:

-   Navigation
    -   Drawer
    -   Top
    -   Side
    -   Modals
    -   Pages
-   Images
-   Vector Icons
-   Buttons with interactions
-   State changes

## 🚀 Quick Start

```bash
rnv new

...

? What template to use? => '@rnv/template-starter'

```

## Supported Platforms

`iOS`, `tvOS`, `Android`, `Android TV`, `FireTV`, `Android Wear`, `Web`, `Tizen TV`, `Tizen Watch`, `LG webOS`, `macOS/OSX`, `KaiOS`

## Screenshots

iOS:

<img src="https://github.com/flexn-io/renative/blob/develop/packages/template-starter/docs/ios.png" width="300px" />

Web:

<img src="https://github.com/flexn-io/renative/blob/develop/packages/template-starter/docs/web.png" width="600px" />

Android Wear:

<img src="https://github.com/flexn-io/renative/blob/develop/packages/template-starter/docs/androidwear.png" width="280px" />

macOS:

<img src="https://github.com/flexn-io/renative/blob/develop/packages/template-starter/docs/macos.png" width="600px" />

tvOS:

<img src="https://github.com/flexn-io/renative/blob/develop/packages/template-starter/docs/tvos.png" width="600px" />