open-index/open-npm huggingface dataset:
npm package: @hmcts/ccpay-web-component
Description: Angular web component for displaying payments returned from ccpay api
Author: Mateusz Swirski
Latest version: 6.5.22

# @hmcts/ccpay-web-component
This package contains web components ready to be used and imported by into Angular 6 projects.

## How to install
1. `npm i @hmcts/ccpay-web-component`
2. Import the module into your angular application 
    ```
    import {PaymentLibModule} from 'payment-lib';
    (...)
    imports: [
        (...) ,
        PaymentLibModule
      ]
    (...)
    ```
3. Add the tag into your project and pass in the url to the backend api:
`<ccpay-payment-lib [API_ROOT]=“’http://localhost:1080'“></ccpay-payment-lib>`
npm package: @hmcts/cmc-common-frontend
Description: This project contains common items for sharing across Civil Money Claims projects.
Author: HMCTS
Latest version: 1.55.1

# CMC common -frontend

This project contains common items for sharing across Civil Money Claims projects. 

## Install

Run:
```
$ yarn add @hmcts/cmc-common-frontend
```

## Nunjuck Macros

Add the macros folder of this project to your nunjucks search path:

```
nunjucks.configure([
  path.join(__dirname, '..', '..', 'views'),
  path.join(__dirname, '..', '..', '..', '..', 'node_modules', '@hmcts', 'cmc-common-frontend', 'macros'),
], {
  autoescape: true,
  express: app
})
```
npm package: @hmcts/cmc-draft-store-middleware
Description: Node.js middleware for draft store
Author: HMCTS Reform
Latest version: 2.0.1

# @hmcts/cmc-draft-store-middleware

[![Travis badge](https://api.travis-ci.org/hmcts/cmc-draft-store-middleware.svg?branch=master)](https://travis-ci.org/hmcts/cmc-draft-store-middleware)
[![Codecov badge](https://codecov.io/gh/hmcts/cmc-draft-store-middleware/graphs/badge.svg)](https://codecov.io/github/hmcts/cmc-draft-store-middleware)
[![NPM version badge](https://img.shields.io/npm/v/@hmcts/cmc-draft-store-middleware.svg)](https://www.npmjs.com/@hmcts/cmc-draft-store-middleware)
[![Node version badge](https://img.shields.io/node/v/@hmcts/cmc-draft-store-middleware.svg)](https://www.npmjs.com/@hmcts/cmc-draft-store-middleware)
[![Greenkeeper badge](https://badges.greenkeeper.io/hmcts/cmc-draft-store-middleware.svg)](https://greenkeeper.io/)
[![Standard - JavaScript Style Guide](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)

This is a Node.js/Express library for interacting with the [draft store API](https://github.com/hmcts/draft-store).
The middleware retrieves draft of selected type from the draft store API and sets it in Express.js local user scope.
If draft does not exist in the draft store then an empty draft is set it in Express.js local user scope.

## Getting started

### How to use it?

#### Installation

To add library to the project dependencies run:

```bash
$ yarn add @hmcts/cmc-draft-store-middleware
```

or

```bash
$ npm install @hmcts/cmc-draft-store-middleware
```

#### Sample code

Example use of the middleware in the Express.js application is presented below:

```typescript
import { DraftMiddleware } from '@hmcts/cmc-draft-store-middleware'

const draftService: DraftService = ... // initiate draft service prior using middleware
app.all(/^.*$/, DraftMiddleware.requestHandler(draftService, 'default', (value: any): any => value))
```

### How to contribute?

#### Prerequisites

* [Node.js](https://nodejs.org/)
* [yarn](https://yarnpkg.com/)

#### Dependencies

Install dependencies by executing the following command:

 ```bash
$ yarn install
 ```

#### Code style

We use [TSLint](https://palantir.github.io/tslint/) with [StandardJS](http://standardjs.com/index.html) rules 

Run the linting:

```bash
$ yarn lint
```

Linting will also run automatically prior to committing changes.

#### Running the tests

[Mocha](https://mochajs.org) is used for writing tests.

Run them with:

```bash
$ yarn test
```

For test coverage run:

```bash
$ yarn test:coverage
```

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE.md) file for details
npm package: @hmcts/cmc-supported-browsers
Description: This module just exposes the list of browsers used for [Saucelabs](https://saucelabs.com/) and their desired [WebDriver](http://webdriver.io/) capabilities.
Author: HMCTS
Latest version: 1.0.1

# Browsers supported by CMC automated cross browser tests

This module just exposes the list of browsers used for [Saucelabs](https://saucelabs.com/) and their desired [WebDriver](http://webdriver.io/) capabilities. 

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE.md) file for details.
npm package: @hmcts/cmc-validators
Description: This is a validator library, containing frontend validators used in CMC frontend applications. i.e [cmc-citizen-frontend](https://github.com/hmcts/cmc-citizen-frontend) and [cmc-legal-rep-frontend](https://github.com/hmcts/cmc-legal-rep-frontend)
Author: HMCTS
Latest version: 0.2.6

# cmc-validators

This is a validator library, containing frontend validators used in CMC frontend applications. 
i.e [cmc-citizen-frontend](https://github.com/hmcts/cmc-citizen-frontend) and [cmc-legal-rep-frontend](https://github.com/hmcts/cmc-legal-rep-frontend)

## Getting started

### How to use it?

#### Installation

To add library to the project dependencies run:

```bash
$ yarn add @hmcts/cmc-validators
```

or

```bash
$ npm install @hmcts/cmc-validators
```

#### Dependencies

Install dependencies by executing the following command:

 ```bash
$ yarn install
 ```

#### Code style

We use [TSLint](https://palantir.github.io/tslint/) with [StandardJS](http://standardjs.com/index.html) rules 

Run the linting:

```bash
$ yarn lint
```

Linting will also run automatically prior to committing changes.

#### Running the tests

[Mocha](https://mochajs.org) is used for writing tests.

Run them with:

```bash
$ yarn test
```

For test coverage run:

```bash
$ yarn test:coverage
```

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE.txt) file for details
npm package: @hmcts/court-finder-service-client
Description: Court and tribunal finder service client (https://courttribunalfinder.service.gov.uk/api.html)
Latest version: 1.0.1

# court-finder-service-client-node

API Client wrapper for [Court and Tribunal finder API](https://courttribunalfinder.service.gov.uk/api.html).

# Usage

## Quick start
```bash
$ yarn add @hmcts/court-finder-service-client
```

Typescript:
```ts
import { CourtFinderClient } from '@hmcts/court-finder-service-client'

new CourtFinderClient().findCourtByPostcode("A11 1AA", "Money Claims")
```

- Javascript -

```js
const CourtFinderClient = require('@hmcts/court-finder-service-client').CourtFinderClient

new CourtFinderClient().findCourtByAddress("Old Bailey")
```