open-index/open-npm huggingface dataset:
npm package: @pkgstats/npm-user
Description: Get user info of an npm user
Author: Sindre Sorhus
Latest version: 4.1.1

# npm-user [![Build Status](https://travis-ci.org/sindresorhus/npm-user.svg?branch=master)](https://travis-ci.org/sindresorhus/npm-user)

> Get user info of an npm user

Since npm has no API for this we're forced to scrape the [profile page](https://www.npmjs.com/~sindresorhus).

*Use the faster [npm-email](https://github.com/sindresorhus/npm-email) package if you only need the email.*


## Install

```
$ npm install npm-user
```


## Usage

```js
const npmUser = require('npm-user');

(async () => {
	console.log(await npmUser('sindresorhus'));
	/*
	{
		name: 'Sindre Sorhus',
		avatar: 'https://gravatar.com/avatar/d36a92237c75c5337c17b60d90686bf9?size=496',
		email: 'sindresorhus@gmail.com',
		github: 'sindresorhus',
		twitter: 'sindresorhus'
	}
	*/
})();
```

*Values will be `null` if they're not set in the npm profile.*


## Related

- [npm-user-cli](https://github.com/sindresorhus/npm-user-cli) - CLI for this module
- [npm-email](https://github.com/sindresorhus/npm-email) - Get the email of an npm user
- [npm-keyword](https://github.com/sindresorhus/npm-keyword) - Get a list of npm packages with a certain keyword
- [package-json](https://github.com/sindresorhus/package-json) - Get the package.json of a package from the npm registry
- [npm-user-packages](https://github.com/kevva/npm-user-packages) - Get packages by an npm user


## License

MIT © [Sindre Sorhus](https://sindresorhus.com)
npm package: @pkgtools/pkgtools
Description: Initialize a Node.js project.
Author: pkgtoolsjs
Latest version: 0.0.5

# pkgtools [![CI](https://github.com/pkgtoolsjs/pkgtools/actions/workflows/ci.yml/badge.svg)](https://github.com/pkgtoolsjs/pkgtools/actions/workflows/ci.yml)

A helper tool for Node.js packages.

## License

[MIT License](LICENSE)
npm package: @pkhien/react-native-apple-music
Description: React Native library to support working with Apple Music
Author: Hien Phung
Latest version: 1.0.2

# react-native-apple-music

## Getting started

`$ npm install @pkhien/react-native-apple-music --save`

### Mostly automatic installation

React Native 0.59+:

`$ cd ios && pod install`

React Native <0.59

`$ react-native link react-native-apple-music`

## Usage
#### 1. Authorization
```javascript
import {Auth} from 'react-native-apple-music'

Auth.requestAuthorization()
  .then(authorizationStatus => {})
  .catch(error => {})

Auth.getStoreFrontCountryCode()
  .then(code => {})
  .catch(error => {})

Auth.requestUserToken('<developerToken>')
  .then(userToken => {})
  .catch(error => {})

Auth.requestCapabilities()
  .then(capability => {})
  .catch(error => {})
```

#### 2. Media Player
```javascript
import {MediaPlayer} from 'react-native-apple-music'

MediaPlayer.setQueue(['storeId1', 'storeId2'])
MediaPlayer.play()
MediaPlayer.pause()
MediaPlayer.play() // Play again to resume
MediaPlayer.stop()
```