open-index/open-npm huggingface dataset:
npm package: @replit/express-router-async
Description: Creates an express router augmented with promise handling routes
Author: Amjad Masad
Latest version: 0.4.0

## express-async-router

```js
const router = require('express-router-async')();
router.getAsync(async (req, res) => {
  const wow = await makeSomethingAmazing();
  res.json(wow);
});
```
npm package: @replit/extensions
Description: The Replit Extensions client is a module that allows you to easily interact with the Workspace.
Latest version: 1.10.0

# Replit Extensions API Client

The Replit Extensions client is a module that allows you to easily interact with the Workspace.

- NPM Packages
  - https://www.npmjs.com/package/@replit/extensions
  - https://www.npmjs.com/package/@replit/extensions-react
- [Repository](https://github.com/replit/extensions)
- [Documentation](https://docs.replit.com/extensions)
  - [Resources](https://docs.replit.com/extensions/resources)
  - [API Modules](https://docs.replit.com/extensions/category/api-reference)
  - [React Client](https://docs.replit.com/extensions/category/react)
- [Discourse Category](https://ask.replit.com/c/extensions)
- [React Extension Template](https://replit.com/@replit/React-Extension?v=1)
- [HTML/CSS/JS Extension Template](https://replit.com/@replit/HTMLCSSJS-Extension?v=1)

[![Run on Replit button](https://user-images.githubusercontent.com/50180265/228865994-ccf7348e-ffb7-454e-bc4e-ce90df6c09bc.png)](https://replit.com/github/replit/extensions)

## Help

If you don't understand something in the documentation, have found a bug, or would like to request a feature, you can get help on the [Ask Forum](https://ask.replit.com/c/extensions).
npm package: @replit/extensions-react
Description: The React Extensions API Client comes with a set of hooks and components that combine to make a blazingly fast and seamless developer experience.
Latest version: 0.6.0

# Replit Extensions API Client (React)

The React Extensions API Client comes with a set of hooks and components that combine to make a blazingly fast and seamless developer experience.

- NPM Packages
  - https://www.npmjs.com/package/@replit/extensions
  - https://www.npmjs.com/package/@replit/extensions-react
- [Repository](https://github.com/replit/extensions)
- [Documentation](https://docs.replit.com/extensions)
  - [Resources](https://docs.replit.com/extensions/resources)
  - [API Modules](https://docs.replit.com/extensions/category/api-reference)
  - [React Client](https://docs.replit.com/extensions/category/react)
- [Discourse Category](https://ask.replit.com/c/extensions)
- [React Extension Template](https://replit.com/@replit/React-Extension?v=1)
- [HTML/CSS/JS Extension Template](https://replit.com/@replit/HTMLCSSJS-Extension?v=1)

## Installation

```
npm install @replit/extensions-react
yarn add @replit/extensions-react
pnpm add @replit/extensions-react
```

## Usage

Fork the [React Extension Template](https://replit.com/@replit/React-Extension?v=1) to get started. Alternatively, you can start from scratch by wrapping your application with the `HandshakeProvider` component imported from `@replit/extensions-react`.

```tsx
import { HandshakeProvider } from "@replit/extensions-react";
import { createRoot } from "react-dom/client";
import App from "./App";

createRoot(document.getElementById("root")).render(
  <HandshakeProvider>
    <App />
  </HandshakeProvider>
);
```

In the `App` function, check the handshake status with the `useReplit` hook.

```tsx
import { useReplit } from "@replit/extensions-react";

function App() {
  const { status, error, replit } = useReplit();

  if (status === "loading") {
    return <div>Loading...</div>;
  }

  if (status === "error") {
    return <div>An error occurred: {error?.message}</div>;
  }

  return <div>Extension is Ready!</div>;
}
```

## Help

If you don't understand something in the documentation, have found a bug, or would like to request a feature, you can get help on the [Ask Forum](https://ask.replit.com/c/extensions).
npm package: @replit/monaco-languageclient
Description: Monaco Language client implementation
Author: TypeFox GmbH
Latest version: 0.11.2

# Monaco Language Client
[![Gitpod - Code Now](https://img.shields.io/badge/Gitpod-code%20now-blue.svg?longCache=true)](https://gitpod.io#https://github.com/TypeFox/monaco-languageclient)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?longCache=true)](https://github.com/TypeFox/monaco-languageclient/labels/help%20wanted)
[![Build Status](https://travis-ci.org/TypeFox/monaco-languageclient.svg?branch=master)](https://travis-ci.org/TypeFox/monaco-languageclient)
[![NPM Version](https://img.shields.io/npm/v/monaco-languageclient.svg)](https://www.npmjs.com/package/monaco-languageclient)
[![NPM Download](https://img.shields.io/npm/dt/monaco-languageclient.svg)](https://www.npmjs.com/package/monaco-languageclient)

Module to connect [Monaco editor](https://microsoft.github.io/monaco-editor/) with [language servers](https://microsoft.github.io/language-server-protocol/).

See [here](https://github.com/TypeFox/monaco-languageclient/blob/master/README.md) for a detailed documentation.

## History

For the history please see the [main repository](https://github.com/TypeFox/monaco-languageclient/blob/master/CHANGELOG.md).

## License
[MIT](https://github.com/TypeFox/monaco-languageclient/blob/master/License.txt)
npm package: @replit/node-fetch
Description: A light-weight module that brings Fetch API to node.js
Author: David Frank
Latest version: 3.1.0

# @replit/node-fetch

[node-fetch](https://github.com/node-fetch/node-fetch) but in CommonJS format. This module is built from `node-fetch` directly.

## Version check

![Latest upstream version](https://img.shields.io/npm/v/node-fetch?label=latest%20upstream)
![Current upstream version](https://img.shields.io/badge/current%20upstream-v3.1.0-brightgreen)

## Differences

1. You can `require("@replit/node-fetch")` directly.
2. You will not see the `ExperimentalWarning: stream/web is an experimental feature` warning.
3. It works on older Node.js versions that don’t support [requiring built-in modules with a `node:` prefix](https://github.com/node-fetch/node-fetch/issues/1367).

## Build

```bash
yarn
./build.js # Output to `lib` folder
```

## Install

```bash
yarn add @replit/node-fetch
```
npm package: @replit/object-storage
Description: The TypeScript library for Replit Object Storage ## Development
Author: harry@repl.it
Latest version: 1.0.0

# replit-object-storage-typescript
The TypeScript library for Replit Object Storage
## Development

To get setup, run:
```bash
npm i
```

To run the linter, run:
```bash
npm run lint
npm run format
```

or to fix (fixable) lint issues, run:
```bash
npm run fun
```

To run tests, run:
```bash
npm run test
```

## Release

To check that the package builds, you can run:
```bash
npm run prepublishOnly
```

To perform a release, first bump the version in `package.json`. Then run:
```bash
npm release
```