open-index/open-npm huggingface dataset:
npm package: @kilianstallz/nestjs-jaeger-tracing
Description: NestJS jaeger tracing
Latest version: 8.2.0

<div align="center">
  <h1>NestJS Jaeger Tracing</h1>
</div>
<div align="center">
  <strong>Jaeger distributed tracing for Nest framework</strong>
</div>

## Features

- Supported Environments
  - RESTful
  - GraphQL
  - Microservices

### Installation

- Yarn

```bash
yarn add @dollarsign/nestjs-jaeger-tracing
```

- NPM

```bash
npm install @dollarsign/nestjs-jaeger-tracing --save
```

### Getting Started

Register `TracingModule` module in app.module.ts

```ts
import { TracingModule } from '@dollarsign/nestjs-jaeger-tracing';
import { Module } from '@nestjs/common';
import { ClientsModule, Transport } from '@nestjs/microservices';

@Module({
  imports: [
    TracingModule.forRoot({
      exporterConfig: {
        serviceName: 'core-service',
      },
      isSimpleSpanProcessor: true,
    }),
    ClientsModule.register([
      {
        name: 'MATH_SERVICE',
        transport: Transport.TCP,
        options: {
          port: 3001,
          ...TracingModule.getParserOptions(),
        },
      },
    ]),
  ],
})
export class AppModule {}
```

---
npm package: @kilianvalkhof/treecko
Description: Functional tree helpers
Author: Kilian Valkhof
Latest version: 1.0.0

<img
  alt="What is a treecko?"
  width="100"
  height="100"
  src="http://vignette3.wikia.nocookie.net/pokemontowerdefense3/images/c/c1/Treecko.jpg/revision/latest?cb=20140803080131"
/>

# treecko

[![npm version](https://badge.fury.io/js/treecko.svg)](https://badge.fury.io/js/treecko)

A collection of **functional** and **immutable** helpers for working with **tree** data structures.

- All of the following helpers support tree objects as well as arrays of tree objects.
- All methods are curried, so you can use partial application.
- Tree nodes must have a `children` array.

### Mapping

- [softMap](docs/helpers/softMap.md)
- [softMapBy](docs/helpers/softMapBy.md)
- [hardMap](docs/helpers/hardMap.md)
- [hardMapBy](docs/helpers/hardMapBy.md)


### Reducing

- [reduce](docs/helpers/reduce.md)
- [reduceAncestryBy](docs/helpers/reduceAncestryBy.md)


### Finding

- [findOr](docs/helpers/findOr.md)


### Filtering

- [filter](docs/helpers/filter.md)
- [reject](docs/helpers/reject.md)


### Side Effects

- [each](docs/helpers/each.md)


### Flattening

- [flatten](docs/helpers/flatten.md)
- [superflatten](docs/helpers/superflatten.md)
- [flattenToIds](docs/helpers/flattenToIds.md)
- [flattenToMap](docs/helpers/flattenToMap.md)


### Restructuring

- [replaceChildrenBy](docs/helpers/replaceChildrenBy.md)
- [addChildBy](docs/helpers/addChildBy.md)
- [changeParent](docs/helpers/changeParent.md)


### Misc

- [hasId](docs/helpers/hasId.md)


# TODO

- [ ] Support different values for `children` key
- [ ] Support different values for `id` key in `flattenToMap` and `changeParent`
- [ ] Support different values for `parentId` key in `changeParent`
- [ ] Add breadth-first versions of methods
npm package: @kiliman/generator-jslib
Description: Yeoman generator to create JavaScript libraries
Author: kiliman
Latest version: 0.0.6

# @kiliman/generator-jslib [![NPM version][npm-image]][npm-url]

> Yeoman generator to create JavaScript libraries

## Installation

First, install [Yeoman](http://yeoman.io) and @kiliman/generator-jslib using [npm](https://www.npmjs.com/) (we assume you have pre-installed [node.js](https://nodejs.org/)).

```bash
npm install -g yo
npm install -g @kiliman/generator-jslib
```

Then generate your new project:

```bash
yo @kiliman/jslib
```

## Getting To Know Yeoman

- Yeoman has a heart of gold.
- Yeoman is a person with feelings and opinions, but is very easy to work with.
- Yeoman can be too opinionated at times but is easily convinced not to be.
- Feel free to [learn more about Yeoman](http://yeoman.io/).

## License

MIT © [kiliman]()

[npm-image]: https://badge.fury.io/js/%40kiliman%2Fgenerator-jslib.svg
[npm-url]: https://npmjs.org/package/@kiliman/generator-jslib
npm package: @kilimanjaare/open-weather
Description: This library provides Angular client bindings to the [OpenWeather](https://openweathermap.org/) service.
Latest version: 1.0.2

# OpenWeather Angular Client

This library provides Angular client bindings to the [OpenWeather](https://openweathermap.org/) service.

## Setup

Import OpenWeatherModule inside your module

```typescript
import {OpenWeatherModule} from '@kilimanjaare/open-weather';
import {NgModule} from '@angular/core';

@NgModule({
  imports: [
      OpenWeatherModule.forRoot({
        apiKey: 'your-api-key',
        apiUrl: 'your-api-url'
      })
  ]
})
```

## Usage

Inject OpenWeatherService in your class

```typescript
import {OpenWeatherService} from '@kiliemanjaare/open-weather';

export class TestComponent {
  constructor(
    private openWeatherService: OpenWeatherService
  ) {
  }
}
```
npm package: @kilje/react-native-heading
Description: Get device heading information on iOS or Android
Author: kilje
Latest version: 1.1.0

# React Native Heading
Get device heading information on iOS or Android

## What
Report back device orientation in degrees, 0-360, with 0 being North.

#### Example
```javascript
import { NativeEventEmitter } from 'react-native';
import ReactNativeHeading from '@zsajjad/react-native-heading';

//....
  componentDidMount() {
    this.listener = new NativeEventEmitter(ReactNativeHeading)
    ReactNativeHeading.start(1)
	.then(didStart => {
		this.setState({
			headingIsSupported: didStart,
		})
	})
	
    this.listener.addListener('headingUpdated', heading => {
    	console.log('New heading is:', heading);
    });

  }
  componentWillUnmount() {
  	ReactNativeHeading.stop();
  	this.listener.removeAllListeners('headingUpdated');
  }
//...
```


#### API

`start(filter)` - Start receiving heading updates. Accepts an optional filter param (int) to ignore heading changes less than the spcified threshold. The default value is 5. Returns a promise which can be used to determine if heading updates are suported by the device.

`stop` - Stop receiving heaing updates (don't forget to remove the `headingUpdated` listener)


## Setup

```
yarn add https://github.com/zsajjad/react-native-heading.git
```

### iOS
* Run open node_modules/@zsajjad/react-native-heading
* Drag ReactNativeHeading.xcodeproj into your Libraries group of XCode's project navigator
* In XCode add Libraries/ReactNativeHeading.xcodeproj/Products/libReactNativeHeading.a to the "Link Binary with Libraries" section of the Build Phases 

### Android
##### Step 1 - Update Gradle Settings

```
// file: android/settings.gradle
...

include ':react-native-heading'
project(':react-native-heading').projectDir = new File(rootProject.projectDir, '../node_modules/@zsajjad/react-native-heading/android')
```
##### Step 2 - Update Gradle Build

```
// file: android/app/build.gradle
...

dependencies {
    ...
    compile project(':react-native-heading')
}
```
##### Step 3 - Register React Package
```
...
import com.joshblour.reactnativeheading.ReactNativeHeadingPackage; // <--- import

public class MainActivity extends ReactActivity {

    ...

    @Override
    protected List<ReactPackage> getPackages() {
        return Arrays.<ReactPackage>asList(
            new MainReactPackage(),
            new ReactNativeHeadingPackage() // <------ add the package
        );
    }

    ...
}
```