open-index/open-npm huggingface dataset:
npm package: @homeservenow/design-tokens
Description: Design tokens are the atomic elements of our design system. They are named entities that store visual design attributes and export them in convenient formats that are ready for integration into your apps and websites.
Latest version: 0.0.2-alpha.18

# Design Tokens

Design tokens are the atomic elements of our design system. They are named entities that store visual design attributes and export them in convenient formats that are ready for integration into your apps and websites.

We recommend using design tokens in place of hard-coded values (such as hex values for color) in order to maintain a scalable and consistent UI.

Design tokens are currently exported in the following formats: `css`, `json`, `js`, and `scss`.

[![API stability](https://img.shields.io/badge/stability-experimental-orange.svg?style=for-the-badge)](https://nodejs.org/api/documentation.html#documentation_stability_index)

---

## Install

```bash

$ yarn add @homeservenow/design-tokens -D

```
npm package: @homeservenow/react-components
Description: <span style="display:block;text-align:center">![React-icon 1 (2)](https://user-images.githubusercontent.com/68842882/90641383-1578db80-e229-11ea-9439-a05e3995d106.png) </span>
Latest version: 0.0.2-alpha.19

<span style="display:block;text-align:center">![React-icon 1 (2)](https://user-images.githubusercontent.com/68842882/90641383-1578db80-e229-11ea-9439-a05e3995d106.png)
</span>

<h2 style="text-align: center">React component library</h2>

#### Highlights

- ARIA compliant
- Code-splitting
- Scoped CSS

#### Installation

```bash
yarn add @homeservenow/react-components
```

#### Usage

```js
import React from "react";
import { Button } from "@homeservenow/react-components/Button";

function App() {
  return <Button label="Press me" />;
}
```
npm package: @homeservenow/serverless-event-mocks
Description: Mocks for AWS Lambda Context/Events
Author: alexhayton
Latest version: 1.0.6

# @homeservenow/serverless-event-mocks

This library exposes mock event factories for use in lambda tests. Each one accepts a partial event and fills in the rest of it with sensible defaults.

Each event that takes a `body` will also helpfully stringify any objects you pass to it, so you don't need to repeat this logic all over the place in your tests.

## Sample usage

```js
const context = createMockContext();
const event = createMockAPIGatewayEvent({
  path: "/path",
  httpMethod: "post",
  pathParameters: { jobID: job.id },
});

const result = await handler(event, context);
expect(result.statusCode).toEqual(200);
```

## Documentation

[createMockContext](src/mock-context.ts)

[createMockAPIGatewayEvent](src/mock-events.ts)