open-index/open-npm huggingface dataset:
npm package: @moscowcity/djs-eval
Description: This package helps you quickly evaluate any thing via discord.js bot.
Author: moscowcity
Latest version: 3.0.1

# @moscowcity/djs-eval

This package helps you quickly evaluate any thing via discord.js bot.

  - 2 lines setup!
  - Multilanguage!

### Installation

Package requires [Node.js](https://nodejs.org/) v10+ to run.

Install package using this command:
```sh
$ npm install @moscowcity/djs-eval
```
### Usage
First, declare requirement.

```js
const _eval = require('@moscowcity/djs-eval');
```
Then create command:
```js
const _evalCommand = new _eval.Eval([ 'owner', 'Ids' ], 'locale'); // Locales: ru/en
```
Only 1 thing left, call 'run' function. 2nd argument
```js
_evalCommand.run(messageObject);
```

To run with dependencies (client, message, args, etc) use this:
```js
_evalCommand.run(messageObject, {bot: client, etc: 'etc'});
```

### Example eval command
```js
const _eval = require("@moscowcity/djs-eval");
const Eval = new _eval.Eval(["323424226889433088"], "ru");

module.exports.run = async (client, message) => {
  const evaluated = await Eval.run(message, { bot: 0 });
  message.channel.send({ content: '```JS\n' + evaulated + '```'}); // or message.reply('```JS\n' + evaulated + '```');
};
```

Imagine that message content is:
```js
const moment = require("moment")
moment(Date.now()).format("DD.MM.YYYY HH:mm")
```

If author id is not the same as specified, output message:
```js
You are not permitted to use this command!
```

If everything is correct, output message:
```js
06.08.2021 11:47 // example
```

### Included methods
Reply from code with .catch(), or just send callback
use 'doReply()' or 'doReply' in your code.
To make callback with error, use doReply in .catch():
```js
doReply('test');
or
doSomething().then(doSomethingElse()).catch(doReply);
```
To get all methods of class, use 'getMethods(obj)'
```js
doReply(getMethods(require('@moscowcity/djs-eval')))
```
npm package: @moseffect21/appmetrica-push-sdk
Description: React Native library for Yandex AppMetrica Push SDK
Author: Artem Egorov
Latest version: 1.1.1

# @moseffect21/appmetrica-push-sdk

React Native библиотека для интеграции с Yandex AppMetrica Push SDK.

## Документация

- 📖 [Полное руководство по интеграции](docs/INTEGRATION_GUIDE.md)
- 📊 [Руководство по аналитике](docs/ANALYTICS_GUIDE.md)
- 🍎 [Настройка APNS для iOS](docs/IOS_APNS_SETUP.md)

## Установка

```bash
npm install @moseffect21/appmetrica-push-sdk
# или
yarn add @moseffect21/appmetrica-push-sdk
```

## Зависимости

```bash
npm install @react-native-firebase/messaging
npm install @appmetrica/react-native-analytics
```

## Настройка

### Android

Добавьте в `android/app/src/main/AndroidManifest.xml`:

```xml
<application>
    <receiver android:name="com.appmetricapush.SilentPushReceiver"
              android:exported="false">
        <intent-filter>
            <action android:name="com.appmetricapush.action.ymp.SILENT_PUSH_RECEIVE"/>
        </intent-filter>
    </receiver>

    <service android:name="com.appmetricapush.FirebaseMessagingMainService"
             android:enabled="true"
             android:exported="false">
        <intent-filter android:priority="100">
            <action android:name="com.google.firebase.MESSAGING_EVENT"/>
        </intent-filter>
    </service>

    <service android:name="io.appmetrica.analytics.push.provider.firebase.AppMetricaMessagingService"
             android:enabled="false"
             tools:node="remove"/>
</application>
```

### iOS

```bash
cd ios && pod install
```

## Использование

```typescript
import { Platform } from "react-native";
import { getAPNSToken, getMessaging } from "@react-native-firebase/messaging";
import { AppMetrica } from "@appmetrica/react-native-analytics";
import { AppMetricaPush } from "@moseffect21/appmetrica-push-sdk";

// 1. Сначала активируем основную AppMetrica
AppMetrica.activate({
  apiKey: "YOUR_APPMETRICA_API_KEY",
});

// 2. Получение APNS токена для iOS
let apnsToken = "";
if (Platform.OS === "ios") {
  const messaging = getMessaging();
  apnsToken = (await getAPNSToken(messaging)) ?? "";
}

// 3. Инициализация Push SDK (ТОЛЬКО после AppMetrica.activate)
await AppMetricaPush.initialize({
  debugMode: __DEV__,
  apnsToken: Platform.OS === "ios" ? apnsToken : undefined,
});

// Проверка уведомления
const isFromAppMetrica = await AppMetricaPush.isNotificationFromAppMetrica(
  notification
);

// Получение пользовательских данных
const userData = await AppMetricaPush.getUserData(notification);
```

## API

- `initialize(config)` - инициализация SDK
- `isNotificationFromAppMetrica(notification)` - проверка источника уведомления
- `getUserData(notification)` - извлечение пользовательских данных
- `getSDKInfo()` - информация о SDK

## Требования

- React Native >= 0.60.0
- Android API 21+
- iOS 11.0+

## Лицензия

MIT
npm package: @mosespace/toast
Description: Beautiful toast notifications for React applications
Author: Kisakye Moses
Latest version: 3.1.3

## Installation

```bash
npm install @mosespace/toast@latest
```

## Usage

No Tailwind configuration is required. Styles are bundled inside the package and injected automatically when `Toaster` is rendered.

Add `Toaster` once in your app, then call `toast` from anywhere.

```tsx
import { Toaster, toast } from '@mosespace/toast';

function App() {
  return (
    <div>
      <Toaster position="bottom-right" />
      <button
        onClick={() =>
          toast.success('Hello world!', 'This is my first toast with mtoast.')
        }
      >
        Click me to trigger toast
      </button>
    </div>
  );
}
```

## Simple Usage

```tsx
import { toast } from '@mosespace/toast';

toast.information('Heads up', 'Your changes were saved successfully.');
```

## Documentation

Find the full API reference in the [documentation](https://mtoast.mosespace.com/#getting-started).
npm package: @mosesthesweed/react-dero-api
Description: React context & hooks for using dero-rpc-bridge-api
Author: MosesTheSweed
Latest version: 0.2.3

# React Dero Api
### *** UNDER DEVELOPMENT -- DO NOT USE ***

## Description:
This is an npm package consisting of a functional component hook for each Dero API call available 
in the dependency package 'dero-rpc-bridge-api', which is a dependency of this package

## Usage
The response object is generalized for every hook and managed by a React Context.
There is a React Context for the bridge as well -- Both need to be wrapped around a component where 
it makes sense, perhaps like this if it were in main.js:
```
export const Providers = ({children}) => {
  return (
    <BridgeProvider>
      <ApiResponseProvider>
        {children}
      </ApiResponseProvider>
    </BridgeProvider>
  )
}

ReactDOM.createRoot(document.getElementById('root')).render(
  <React.StrictMode>
    <Providers>
      <App />
    </Providers>
  </React.StrictMode>
)
```

Then, within a component where you want to make a Dero API call, for example 
`getTxPool`, you would use the hook like this:
npm package: @moshenahmias/shrimp
Description: node.js client library for shrimp
Author: Moshe Nahmias
Latest version: 1.1.0

### ![](https://github.com/moshenahmias/shrimp/blob/master/assets/shrimp64.png?raw=true)node.js client library for [shrimp](https://github.com/moshenahmias/shrimp)

```javascript
const shrimp = require('@moshenahmias/shrimp');
const s = shrimp.newSession('localhost:1309');
const p = s.newPublisher();

// direct publish
const directPublishStream = p.directPublish((err, count) => {
    if (err) {
        console.log(err);
        return;
    }

    console.log(count);
});

directPublishStream.write(shrimp.newMessage(Buffer.from("shrimp")).withHeader("123", "456").toTopic("my_topic"));

directPublishStream.end();

// publish
const publishStream = p.publish((err, count) => {
    if (err) {
        console.log(err);
        return;
    }
  
    console.log(count);
});

publishStream.write(shrimp.newMessage(Buffer.from("shrimp")).withHeader("123", "456").withTags("tag_0", "tag_1"));

publishStream.end();

// consume
const c = s.newConsumer({ limit: 0, timeout: 3000 });
const consumeStream = c.consume("my_topic");

consumeStream.on('data', function(message) {
    console.log(message);
});

consumeStream.on('end', _ => console.log("consumer end"));
consumeStream.on('error', e => console.log(`consumer err: ${e}`));
```

------



<div>Icons made by <a href="https://www.freepik.com/" title="Freepik">Freepik</a> from <a href="https://www.flaticon.com/" 			    title="Flaticon">www.flaticon.com</a> is licensed by <a href="http://creativecommons.org/licenses/by/3.0/" 			    title="Creative Commons BY 3.0" target="_blank">CC 3.0 BY</a></div>
npm package: @moshenguo/ms-data-sdk
Description: A simple Expo SDK for parsing data
Author: MoShenGuo
Latest version: 0.1.13

# ms-data-sdk

A simple Expo SDK for parsing data

# API documentation

- [Documentation for the latest stable release](https://docs.expo.dev/versions/latest/sdk/2208.git#readme/)
- [Documentation for the main branch](https://docs.expo.dev/versions/unversioned/sdk/2208.git#readme/)

# Installation in managed Expo projects

For [managed](https://docs.expo.dev/archive/managed-vs-bare/) Expo projects, please follow the installation instructions in the [API documentation for the latest stable release](#api-documentation). If you follow the link and there is no documentation available then this library is not yet usable within managed projects &mdash; it is likely to be included in an upcoming Expo SDK release.

# Installation in bare React Native projects

For bare React Native projects, you must ensure that you have [installed and configured the `expo` package](https://docs.expo.dev/bare/installing-expo-modules/) before continuing.

### Add the package to your npm dependencies

```
npm install ms-data-sdk
```

### Configure for Android




### Configure for iOS

Run `npx pod-install` after installing the npm package.

# Contributing

Contributions are very welcome! Please refer to guidelines described in the [contributing guide]( https://github.com/expo/expo#contributing).
npm package: @mosherw/git-contributor-summary
Description: A CLI tool to display git contributor statistics as a pleasant histogram.
Author: MosheRW
Latest version: 1.1.1

# @mosherw/git-contributor-summary

CLI tool that prints Git contributor statistics as a readable histogram.

## Install

```
npm install -g @mosherw/git-contributor-summary
```

## Usage

```
git-contributor-summary [path-to-git-repo]

## Flags

```
-e, --exists  Show a line-ownership summary for the current files in the repo
```
```

### Notes

- If no path is provided, the current directory is used.
- Output includes additions and deletions per contributor.
- Filters out malformed or non-human contributors.

## Examples

```
git-contributor-summary ../my-git-project
```

```
git-contributor-summary
```

```
git-contributor-summary -e
```


## License

MIT