open-index/open-npm huggingface dataset:
npm package: @leonismoe/md5
Description: md5 hash function, it will use crypto module for Node.js and pure JS implementation for browser.
Latest version: 1.2.1

md5
======
This package uses [node Conditional Exports](https://nodejs.org/api/packages.html#packages_conditional_exports), if it's imported under Node.js, it will use `crypto` module to create md5 hash, otherwise use Joseph Myers' pure JavaScript md5 implementation.

For bundlers, webpack supports basic conditional exports since v5-beta18, and Rollup's node resolve plugin supports it since 13.0.0.

## Usage
ES Module
``` js
import md5 from '@leonismoe/md5';
console.log(md5('Hello')); // => "8b1a9953c4611296a827abf8c47804d7"
```

CommonJS
``` js
const md5 = require('@leonismoe/md5');
console.log(md5('Hello')); // => "8b1a9953c4611296a827abf8c47804d7"
```

If directly imports in browser (use `<script>` tag without `type="module"`), it will define a global function named `md5`.

## Contributors
* Joseph Myers (https://www.myersdaily.org/joseph/)
npm package: @leonlee123/push-adapter
Description: Base parse-server-push-adapter
Author: Parse
Latest version: 0.0.1

# Parse Server Push Adapter <!-- omit in toc -->

[![Build Status](https://github.com/parse-community/parse-server-push-adapter/workflows/ci/badge.svg?branch=master)](https://github.com/parse-community/parse-server-push-adapter/actions?query=workflow%3Aci+branch%3Amaster)
[![Snyk Badge](https://snyk.io/test/github/parse-community/parse-server-push-adapter/badge.svg)](https://snyk.io/test/github/parse-community/parse-server-push-adapter)
[![Coverage](https://img.shields.io/codecov/c/github/parse-community/parse-server-push-adapter/master.svg)](https://codecov.io/github/parse-community/parse-server-push-adapter?branch=master)
[![auto-release](https://img.shields.io/badge/%F0%9F%9A%80-auto--release-9e34eb.svg)](https://github.com/parse-community/parse-server-push-adapter/releases)

[![Node Version](https://img.shields.io/badge/nodejs-18,_20-green.svg?logo=node.js&style=flat)](https://nodejs.org)

[![npm latest version](https://img.shields.io/npm/v/@parse/push-adapter.svg)](https://www.npmjs.com/package/@parse/push-adapter)

---

The official Push Notification adapter for Parse Server. See [Parse Server Push Configuration](http://docs.parseplatform.org/parse-server/guide/#push-notifications) for more details. 

---

- [Silent Notifications](#silent-notifications)
- [Logging](#logging)
- [Using a Custom Version on Parse Server](#using-a-custom-version-on-parse-server)
  - [Install Push Adapter](#install-push-adapter)
  - [Configure Parse Server](#configure-parse-server)

# Silent Notifications

If you have migrated from parse.com and you are seeing situations where silent (newsstand-like presentless) notifications are failing to deliver please ensure that your payload is setting the content-available attribute to Int(1) and not "1" This value will be explicitly checked.

# Logging

You can enable verbose logging with environment variables:

```
VERBOSE=1

or 

VERBOSE_PARSE_SERVER_PUSH_ADAPTER=1
```

This will produce a more verbose output for all the push sending attempts

# Using a Custom Version on Parse Server

## Install Push Adapter

```
npm install --save @parse/push-adapter@<VERSION>
```

Replace `<VERSION>` with the version you want to install.

## Configure Parse Server

```js
const PushAdapter = require('@parse/push-adapter').default;
const parseServerOptions = {
  push: {
    adapter: new PushAdapter({
      ios: {
        /* Apple push notification options */
      },
      android: {
        /* Android push options */
      }
      web: {
        /* Web push options */
      }
    })
  },
  /* Other Parse Server options */
}
```