open-index/open-npm huggingface dataset:
npm package: @hcsinc/stylelint-teamcity
Description: A stylelint formatter for TeamCity
Author: HCS
Latest version: 1.0.5

# stylelint-teamcity
[![npm version](https://badge.fury.io/js/%40hcsinc%2Fstylelint-teamcity.svg)](https://badge.fury.io/js/%40hcsinc%2Fstylelint-teamcity)

Formats [stylelint](http://stylelint.io/) output as [inspections](https://www.jetbrains.com/help/teamcity/build-script-interaction-with-teamcity.html#BuildScriptInteractionwithTeamCity-ReportingInspections) for TeamCity.

## Example
Opening the Code Inspection tab for a specific build will display violations based on a pre-defined set of rules.
![TeamCity Inspections Example](https://user-images.githubusercontent.com/29924878/61878880-e24a0880-aebf-11e9-8b7a-a914a8556515.png)

## Installation
```sh
npm install @hcsinc/stylelint-teamcity --save-dev
```

## Usage
```sh
stylelint <options> --custom-formatter ./node_modules/@hcsinc/stylelint-teamcity/index.js
```

## Acknowledgments
stylelint-teamcity is based upon [stylelint-teamcity-formatter](https://github.com/tihonove/stylelint-teamcity-formatter) and [eslint-teamcity](https://github.com/andreogle/eslint-teamcity/).
npm package: @hcsinternal/react-navigation-drawer
Description: Drawer navigator component for React Navigation
Latest version: 1.0.0

# React Navigation Drawer

[![npm version](https://badge.fury.io/js/react-navigation-drawer.svg)](https://npmjs.org/react-navigation-drawer) [![CircleCI badge](https://circleci.com/gh/react-navigation/drawer/tree/master.svg?style=shield)](https://circleci.com/gh/react-navigation/drawer/tree/master) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://reactnavigation.org/docs/contributing.html)

Drawer navigator for use on iOS and Android.

## Installation

Open a Terminal in the project root and run:

```sh
yarn add react-navigation-drawer
```

If you are using Expo, you are done. Otherwise, continue to the next step.

Install and link [`react-native-gesture-handler`](https://github.com/kmagiera/react-native-gesture-handler) and [`react-native-reanimated`](https://github.com/kmagiera/react-native-reanimated). To install and link them, run:

```sh
yarn add react-native-reanimated react-native-gesture-handler
react-native link react-native-reanimated
react-native link react-native-gesture-handler
```

**IMPORTANT:** There are additional steps required for `react-native-gesture-handler` on Android after running `react-native link react-native-gesture-handler`. Check the [this guide](https://kmagiera.github.io/react-native-gesture-handler/docs/getting-started.html) to complete the installation.

## Usage

```js
import { createDrawerNavigator } from 'react-navigation-drawer';

export default createDrawerNavigator({
  Inbox: InboxStack
  Drafts: DraftsStack,
}, {
  initialRouteName: 'Inbox',
  contentOptions: {
    activeTintColor: '#e91e63',
  },
});
```

## Development workflow

- Clone this repository
- Run `yarn` in the root directory and in the `example` directory
- Run `yarn dev` in the root directory
- Run `yarn start` in the `example` directory

## Docs

Documentation can be found on the [React Navigation website](https://reactnavigation.org/docs/en/drawer-navigator.html).
npm package: @hcstw/enumerable
Description: Enumerable for Typescript/Javascript
Author: hcstw
Latest version: 1.0.3

# Enumerable for Typescript/Javascript

base on es6 generator

## use

```npm install @hcstw/enumerable```

add
```import '@hcstw/enumerable'``` 
to your entry file (like main.ts) to extend `Array` and `NodeList`
### Enumerable from array

```typescript
[1,2,3].asEnumerable();
```

### Enumerable from NodeList

```typescript
document.querySelectorAll('div').asEnumerable()
```

### Enumerable from generator

```typescript
import { Enumerable } from '@hcstw/enumerable';

function *gen(){
    yield 1;
    yield 2;
    yield 3;
}
Enumerable.from(gen);
```
or
```typescript
import { Enumerable } from '@hcstw/enumerable';

Enumerable.from(function*() {
        yield 1;
        yield 2;
        yield 3;
});
```

## use Enumerable
    
```typescript
import { Enumerable } from '@hcstw/enumerable';

Enumerable.range(0, 5)
    .select(x => ({ id: x, name: `name-${x}` }))
    .where(x => x.id > 3)
    .toArray()
// output
// [{id: 4, name: "name-4"}]

var owners = [
    { id: 1, name: 'a' },
    { id: 2, name: 'b' },
    { id: 3, name: 'c' }
];
var pets = [
    { owner: 1, name: 'pet-a' },
    { owner: 1, name: 'pet-b' },
    { owner: 2, name: 'pet-c' }
];
owners.asEnumerable()
    .groupJoin(pets, x => x.id, x => x.owner)
    .toDictionary(x => x.key, x => x.toArray());
// output
/*
{
    "1": [
        { "owner": 1, "name": "pet-a" },
        { "owner": 1, "name": "pet-b" }
    ],
    "2": [
        { "owner": 2, "name": "pet-c" }
    ],
    "3": []
}
*/
```

see [./tests/*.test.ts for more detial examples](https://github.com/hcstw/enumerable/tree/main/tests)

## implemented function

### staitc

    empty
    range
    repeat

### instnace

    join
    selectMany
    first
    firstOrDefault
    last
    lastOrDefault
    single
    singleOrDefault
    aggregate
    select
    count
    orderByDescending
    oderBy
    thenBy
    thenByDescending
    sum
    where
    contains
    all
    any
    append
    concat
    defaultIfEmpty
    distinct
    elementAt
    except
    groupBy
    groupJoin
    intersect
    max
    min
    average
    prepend
    reverse
    sequenceEqual
    skip
    skipLast
    skipWhile
    take
    takeLast
    takeWhile
    toDictionary
    toArray
    union
    zip