open-index/open-npm huggingface dataset:
npm package: @lobal/dir-serve
Description: Express middleware that serves files in a directory as static, and HTML files as routes. Can be configured to serve other file types as routes.
Author: Brian Baker
Latest version: 1.0.3

# Install
`npm install @lobal/dir-serve`

## Paramters

```js
import directoryServeMiddleware from '@lobal/dir-serve';

// extension[string]: file type to be converted to route.
// handler[function](optional): funtion to parse file before sending. If omitted the file will be sent as text with res.send(file).
// headers[object](optional): Additional headers to be sent with the file. content-type is automatically populated from mime-types.json, but can be overridden here.
const fileTypes = [
    {
        extension: 'html'
    },
    {
        extension: 'php', 
        handler: phpHandler
    },
    {
        extension: 'bobx', 
        handler: bobXHandler, 
        headers: {
            "content-type": "text/html;charset=UTF-8", 
        }
    }
];

// webDir[string]: directory to serve files from.
// fileTypes[array](optional): config options for each file type.
directoryServeMiddleware(webDir, fileTypes);
```

## Basic usage

```js
import express from 'express';
import path from 'path';
import directoryServeMiddleware from '@lobal/dir-serve';

const router = express.Router();
const webDir = path.join(__dirname, 'www');

// Supports HTML files by default.
// webDir: the directory you want to serve .
router.use('/', directoryServeMiddleware(webDir));
// ...
```

## Custom file types

```js
//...
// Custom handler for .php files
const myPhpParser = (req, res, file) => {
    const parsedFile = nodePhpParser.parse(file);
    res.sendFile(parsedFile);
};

const fileTypes = [
    {
        extension: 'html'
    },
    {
        extension: 'php', 
        handler: myPhpParser
    }
];

router.use('/', directoryServeMiddleware(webDir, fileTypes));
//...
```
npm package: @lobal/html-render
Description: Simple express render engine
Author: Brian Baker
Latest version: 1.0.1

# About
Replaces placeholders wrapped in double curly braces in HTML files. 

# Install
`npm install @lobal/html-render`

## Setup

```js
//...
import htmlRender from '@lobal/html-render';
//...

//...
app.engine('html', htmlRender);
app.set('view engine', 'html');
//...
```

## Basic usage

### index.html
```html
<html>
    <head>
        <title>{{title}}</title>
    </head>

    <body>
        <h1>{{title}}</h1>
        <p>{{message}}</p>
    </body>
</html>
```

### End of middleware
```js
// ...
res.render('path/to/index.html', {title: 'Hello World', message: 'Lorem ipsum.'});
// ...
```

### Output
```html
<html>
    <head>
        <title>Hello World</title>
    </head>

    <body>
        <h1>Hello World</h1>
        <p>Lorem ipsum.</p>
    </body>
</html>
```
npm package: @lobaro/react-openlayers
Description: OpenLayer React Components
Author: Allen Kim
Latest version: 0.2.7

# react-openlayers

A minimal [React](https://facebook.github.io/react/) 
wrapper of [OpenLayers 3+](https://openlayers.org/)
written in [TypeScript](https://www.typescriptlang.org/)

[![image](http://i.imgur.com/5JQcT8G.png)](https://rawgit.com/allenhwkim/react-openlayers/master/app/index.html)

## Install

    npm install react-openlayers --save-dev

## Usage

    import {
      interaction, layer, custom, control, //name spaces
      Interactions, Overlays, Controls,     //group
      Map, Layers, Overlay, Util    //objects
    } from "react-openlayers";

Example
```
    <Map view={{center: [0, 0], zoom: 2}} onClick={showPopup}>
      <Layers>
        <layer.Tile/>
        <layer.Vector source={markers} style={markers.style} zIndex="1" />
      </Layers>
      <Overlays>
        <Overlay 
          ref={comp => this.overlayComp = comp}
          element="#popup" />
      </Overlays>
      <Controls attribution={false} zoom={true}>
        <control.Rotate />
        <control.ScaleLine />
        <control.FullScreen />
        <control.OverviewMap />
        <control.ZoomSlider />
        <control.ZoomToExtent />
        <control.Zoom />
      </Controls>
      <Interactions>
        <interaction.Select style={selectedMarkerStyle} />
        <interaction.Draw source={markers} type='Point' />
        <interaction.Modify features={markers.features} />
      </Interactions>
    </Map>

    <custom.Popup ref={comp => this.popupComp = comp}>
    </custom.Popup>
```

It strictly follows [OpenLayers 3+ API documention](https://openlayers.org/en/latest/apidoc/)

## About Author
Allen Kim is the creator of [ngmap](https://github.com/allenhwkim/angularjs-google-maps) and
[ng2-map](https://github.com/ng2-ui/ng2-map).

If you like this, you may also like [geo-coder](https://github.com/allenhwkim/geocoder).

### To start

    $ git clone https://github.com/allenhwkim/react-openlayers.git
    $ cd react-openlayers
    $ npm install
    $ npm start

### List of available npm tasks

  * `npm run` : List all available tasks
  * `npm start`: Run `app` directory for development using `webpack-dev-server` with port 9001
  * `npm run clean`: Remove dist folder
  * `npm run clean:dist`: Clean up unnecessary dist folder within dist and app directory
  * `npm run build:umd`: Build UMD module `react-openlayers.umd.js`
  * `npm run build:app`: Build `app/build/app.js` for runnable examples
  * `npm run build`: Build all(build:ngc, build:umc, build:app, and clean:dist)
npm package: @lobasoft/core
Description: This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.2.11.
Latest version: 0.0.8

# Core

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.2.11.

## Code scaffolding

Run `ng generate component component-name --project core` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project core`.
> Note: Don't forget to add `--project core` or else it will be added to the default project in your `angular.json` file. 

## Build

Run `ng build core` to build the project. The build artifacts will be stored in the `dist/` directory.

## Publishing

After building your library with `ng build core`, go to the dist folder `cd dist/core` and run `npm publish`.

## Running unit tests

Run `ng test core` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
npm package: @lobbi/steam-lightweight-openid
Description: Simple and lightweight Steam OpenID 2.0 client for Node.js
Author: Łukasz Matusik
Latest version: 1.0.0

# steam-lightweight-openid

This package is designed to utilise Steam OpenId 2.0 in a lightweight and easy way.

To run it, example for Steam API:

```
import { OpenIdClient } from 'steam-lightweight-openid';

const client = new OpenIdClient();
const STEAM_OPENID_URL = 'https://steamcommunity.com/openid';
const OUR_RETURN_URL = 'https://example.com/return';

const returnUrl = await client.authenticate(STEAM_OPENID_URL, OUR_RETURN_URL);
```

Then, if user logged in and we grab the return URL, we can verify it:

```
const userResponseUrl = 'https://example.com/return?openid.assoc_handle=123&openid.signed=signed_stuff&openid.sig=signature&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.mode=id_res&openid.op_endpoint=https%3A%2F%2Fsteamcommunity.com%2Fopenid%2Flogin&openid.claimed_id=https%3A%2F%2Fsteamcommunity.com%2Fopenid%2Fid%2F12345678912345678&openid.identity=https%3A%2F%2Fsteamcommunity.com%2Fopenid%2Fid%2F12345678912345678&openid.return_to=https%3A%2F%2Fexample.com%2Freturn&openid.response_nonce=nonce&openid.assoc_handle=123&openid.signed=signed_stuff&openid.sig=signature';

const verified = await client.verifyResponse(userResponseUrl, OUR_RETURN_URL);
```

Adjust to your own OpenID 2.0 flow. You can use two methods:
* `authenticate` - to generate URL for user to login
* `verifyResponse` - to verify user response

To run tests:
```npm run test```
npm package: @lobehub/assets-emoji
Description: Fluent Emoji are a collection of familiar, friendly, and modern emoji from Microsoft
Author: LobeHub
Latest version: 1.3.0

<p align="center">
  <img width="160" src="https://npm.elemecdn.com/@lobehub/assets/logo/logo-3d.webp">
</p>
<h1 align="center">@lobehub/assets-emoji</h1>

<div align="center">

Fluent Emoji are a collection of familiar, friendly, and modern emoji from Microsoft.

[Changelog](./CHANGELOG.md) · [Report Bug][issues-url] · [Request Feature][issues-url]

<!-- SHIELD GROUP -->

[![release][release-shield]][release-url]
[![releaseDate][release-date-shield]][release-date-url]
[![ciRelease][ci-release-shield]][ci-release-url] <br/>
[![contributors][contributors-shield]][contributors-url]
[![forks][forks-shield]][forks-url]
[![stargazers][stargazers-shield]][stargazers-url]
[![issues][issues-shield]][issues-url]

</div>

![](https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/rainbow.png)

#### 📝 License

Copyright © 2023 [LobeHub][profile-url]. <br />
This project is [MIT](./LICENSE) licensed.

<!-- LINK GROUP -->

[profile-url]: https://github.com/lobehub
[gitpod-url]: https://gitpod.io/#https://github.com/lobehub/lobe-assets

<!-- SHIELD LINK GROUP -->

[back-to-top]: https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square

<!-- release -->

[release-shield]: https://img.shields.io/npm/v/@lobehub/assets-emoji?label=%F0%9F%A4%AF%20NPM
[release-url]: https://www.npmjs.com/package/@lobehub/assets-emoji

<!-- releaseDate -->

[release-date-shield]: https://img.shields.io/github/release-date/lobehub/lobe-assets?style=flat
[release-date-url]: https://github.com/lobehub/lobe-assets/releases

<!-- ciRelease -->

[ci-release-shield]: https://github.com/lobehub/lobe-assets/workflows/Release%20CI/badge.svg
[ci-release-url]: https://github.com/lobehub/lobe-assets/actions?query=workflow%3ARelease%20CI

<!-- contributors -->

[contributors-shield]: https://img.shields.io/github/contributors/lobehub/lobe-assets.svg?style=flat
[contributors-url]: https://github.com/lobehub/lobe-assets/graphs/contributors

<!-- forks -->

[forks-shield]: https://img.shields.io/github/forks/lobehub/lobe-assets.svg?style=flat
[forks-url]: https://github.com/lobehub/lobe-assets/network/members

<!-- stargazers -->

[stargazers-shield]: https://img.shields.io/github/stars/lobehub/lobe-assets.svg?style=flat
[stargazers-url]: https://github.com/lobehub/lobe-assets/stargazers

<!-- issues -->

[issues-shield]: https://img.shields.io/github/issues/lobehub/lobe-assets.svg?style=flat
[issues-url]: https://github.com/lobehub/lobe-assets/issues/new/choose
npm package: @lobehub/assets-emoji-anim
Description: Fluent Emoji are a collection of familiar, friendly, and modern emoji from Microsoft
Author: LobeHub
Latest version: 1.0.0

<p align="center">
  <img width="160" src="https://npm.elemecdn.com/@lobehub/assets/logo/logo-3d.webp">
</p>
<h1 align="center">@lobehub/assets-emoji-anim</h1>

<div align="center">

Fluent Emoji are a collection of familiar, friendly, and modern emoji from Microsoft.

[Changelog](./CHANGELOG.md) · [Report Bug][issues-url] · [Request Feature][issues-url]

<!-- SHIELD GROUP -->

[![release][release-shield]][release-url]
[![releaseDate][release-date-shield]][release-date-url]
[![ciRelease][ci-release-shield]][ci-release-url] <br/>
[![contributors][contributors-shield]][contributors-url]
[![forks][forks-shield]][forks-url]
[![stargazers][stargazers-shield]][stargazers-url]
[![issues][issues-shield]][issues-url]

</div>

![](https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/rainbow.png)

#### 📝 License

Copyright © 2023 [LobeHub][profile-url]. <br />
This project is [MIT](./LICENSE) licensed.

<!-- LINK GROUP -->

[profile-url]: https://github.com/lobehub
[gitpod-url]: https://gitpod.io/#https://github.com/lobehub/lobe-assets

<!-- SHIELD LINK GROUP -->

[back-to-top]: https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square

<!-- release -->

[release-shield]: https://img.shields.io/npm/v/@lobehub/assets-emoji-anim?label=%F0%9F%A4%AF%20NPM
[release-url]: https://www.npmjs.com/package/@lobehub/assets-emoji-anim

<!-- releaseDate -->

[release-date-shield]: https://img.shields.io/github/release-date/lobehub/lobe-assets?style=flat
[release-date-url]: https://github.com/lobehub/lobe-assets/releases

<!-- ciRelease -->

[ci-release-shield]: https://github.com/lobehub/lobe-assets/workflows/Release%20CI/badge.svg
[ci-release-url]: https://github.com/lobehub/lobe-assets/actions?query=workflow%3ARelease%20CI

<!-- contributors -->

[contributors-shield]: https://img.shields.io/github/contributors/lobehub/lobe-assets.svg?style=flat
[contributors-url]: https://github.com/lobehub/lobe-assets/graphs/contributors

<!-- forks -->

[forks-shield]: https://img.shields.io/github/forks/lobehub/lobe-assets.svg?style=flat
[forks-url]: https://github.com/lobehub/lobe-assets/network/members

<!-- stargazers -->

[stargazers-shield]: https://img.shields.io/github/stars/lobehub/lobe-assets.svg?style=flat
[stargazers-url]: https://github.com/lobehub/lobe-assets/stargazers

<!-- issues -->

[issues-shield]: https://img.shields.io/github/issues/lobehub/lobe-assets.svg?style=flat
[issues-url]: https://github.com/lobehub/lobe-assets/issues/new/choose
npm package: @lobehub/assets-favicons
Description: Favicons for LobeHub
Author: LobeHub
Latest version: 1.5.0

<p align="center">
  <img width="160" src="https://npm.elemecdn.com/@lobehub/assets/logo/logo-3d.webp">
</p>
<h1 align="center">@lobehub/assets-favicons</h1>

<div align="center">

Logo assets, favicons, webfonts for LobeHub

[Changelog](./CHANGELOG.md) · [Report Bug][issues-url] · [Request Feature][issues-url]

<!-- SHIELD GROUP -->

[![release][release-shield]][release-url]
[![releaseDate][release-date-shield]][release-date-url]
[![ciRelease][ci-release-shield]][ci-release-url] <br/>
[![contributors][contributors-shield]][contributors-url]
[![forks][forks-shield]][forks-url]
[![stargazers][stargazers-shield]][stargazers-url]
[![issues][issues-shield]][issues-url]

</div>

![](https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/rainbow.png)

#### 📝 License

Copyright © 2023 [LobeHub][profile-url]. <br />
This project is [MIT](./LICENSE) licensed.

<!-- LINK GROUP -->

[profile-url]: https://github.com/lobehub
[gitpod-url]: https://gitpod.io/#https://github.com/lobehub/lobe-assets

<!-- SHIELD LINK GROUP -->

[back-to-top]: https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square

<!-- release -->

[release-shield]: https://img.shields.io/npm/v/@lobehub/assets-favicons?label=%F0%9F%A4%AF%20NPM
[release-url]: https://www.npmjs.com/package/@lobehub/assets-favicons

<!-- releaseDate -->

[release-date-shield]: https://img.shields.io/github/release-date/lobehub/lobe-assets?style=flat
[release-date-url]: https://github.com/lobehub/lobe-assets/releases

<!-- ciRelease -->

[ci-release-shield]: https://github.com/lobehub/lobe-assets/workflows/Release%20CI/badge.svg
[ci-release-url]: https://github.com/lobehub/lobe-assets/actions?query=workflow%3ARelease%20CI

<!-- contributors -->

[contributors-shield]: https://img.shields.io/github/contributors/lobehub/lobe-assets.svg?style=flat
[contributors-url]: https://github.com/lobehub/lobe-assets/graphs/contributors

<!-- forks -->

[forks-shield]: https://img.shields.io/github/forks/lobehub/lobe-assets.svg?style=flat
[forks-url]: https://github.com/lobehub/lobe-assets/network/members

<!-- stargazers -->

[stargazers-shield]: https://img.shields.io/github/stars/lobehub/lobe-assets.svg?style=flat
[stargazers-url]: https://github.com/lobehub/lobe-assets/stargazers

<!-- issues -->

[issues-shield]: https://img.shields.io/github/issues/lobehub/lobe-assets.svg?style=flat
[issues-url]: https://github.com/lobehub/lobe-assets/issues/new/choose
npm package: @lobehub/assets-fileicon
Description: FileTypeIcon for LobeHub
Author: LobeHub
Latest version: 1.0.0

<p align="center">
  <img width="160" src="https://npm.elemecdn.com/@lobehub/assets/logo/logo-3d.webp">
</p>
<h1 align="center">@lobehub/assets-fileicon</h1>

<div align="center">

File Type Icon for LobeHub

[Changelog](./CHANGELOG.md) · [Report Bug][issues-url] · [Request Feature][issues-url]

<!-- SHIELD GROUP -->

[![release][release-shield]][release-url]
[![releaseDate][release-date-shield]][release-date-url]
[![ciRelease][ci-release-shield]][ci-release-url] <br/>
[![contributors][contributors-shield]][contributors-url]
[![forks][forks-shield]][forks-url]
[![stargazers][stargazers-shield]][stargazers-url]
[![issues][issues-shield]][issues-url]

</div>

![](https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/rainbow.png)

#### 📝 License

Copyright © 2023 [LobeHub][profile-url]. <br />
This project is [MIT](./LICENSE) licensed.

<!-- LINK GROUP -->

<!-- SHIELD LINK GROUP -->

<!-- release -->

<!-- releaseDate -->

<!-- ciRelease -->

<!-- contributors -->

<!-- forks -->

<!-- stargazers -->

<!-- issues -->

[ci-release-shield]: https://github.com/lobehub/lobe-assets/workflows/Release%20CI/badge.svg
[ci-release-url]: https://github.com/lobehub/lobe-assets/actions?query=workflow%3ARelease%20CI
[contributors-shield]: https://img.shields.io/github/contributors/lobehub/lobe-assets.svg?style=flat
[contributors-url]: https://github.com/lobehub/lobe-assets/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/lobehub/lobe-assets.svg?style=flat
[forks-url]: https://github.com/lobehub/lobe-assets/network/members
[issues-shield]: https://img.shields.io/github/issues/lobehub/lobe-assets.svg?style=flat
[issues-url]: https://github.com/lobehub/lobe-assets/issues/new/choose
[profile-url]: https://github.com/lobehub
[release-date-shield]: https://img.shields.io/github/release-date/lobehub/lobe-assets?style=flat
[release-date-url]: https://github.com/lobehub/lobe-assets/releases
[release-shield]: https://img.shields.io/npm/v/@lobehub/assets-fileicon?label=%F0%9F%A4%AF%20NPM
[release-url]: https://www.npmjs.com/package/@lobehub/assets-fileicon
[stargazers-shield]: https://img.shields.io/github/stars/lobehub/lobe-assets.svg?style=flat
[stargazers-url]: https://github.com/lobehub/lobe-assets/stargazers
npm package: @lobehub/assets-logo
Description: Logo assets for LobeHub
Author: LobeHub
Latest version: 1.2.0

<p align="center">
  <img width="160" src="https://npm.elemecdn.com/@lobehub/assets/logo/logo-3d.webp">
</p>
<h1 align="center">@lobehub/assets-logo</h1>

<div align="center">

Logo assets, favicons, webfonts for LobeHub

[Changelog](./CHANGELOG.md) · [Report Bug][issues-url] · [Request Feature][issues-url]

<!-- SHIELD GROUP -->

[![release][release-shield]][release-url]
[![releaseDate][release-date-shield]][release-date-url]
[![ciRelease][ci-release-shield]][ci-release-url] <br/>
[![contributors][contributors-shield]][contributors-url]
[![forks][forks-shield]][forks-url]
[![stargazers][stargazers-shield]][stargazers-url]
[![issues][issues-shield]][issues-url]

</div>

![](https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/rainbow.png)

#### 📝 License

Copyright © 2023 [LobeHub][profile-url]. <br />
This project is [MIT](./LICENSE) licensed.

<!-- LINK GROUP -->

[profile-url]: https://github.com/lobehub
[gitpod-url]: https://gitpod.io/#https://github.com/lobehub/lobe-assets

<!-- SHIELD LINK GROUP -->

[back-to-top]: https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square

<!-- release -->

[release-shield]: https://img.shields.io/npm/v/@lobehub/assets-logo?label=%F0%9F%A4%AF%20NPM
[release-url]: https://www.npmjs.com/package/@lobehub/assets-logo

<!-- releaseDate -->

[release-date-shield]: https://img.shields.io/github/release-date/lobehub/lobe-assets?style=flat
[release-date-url]: https://github.com/lobehub/lobe-assets/releases

<!-- ciRelease -->

[ci-release-shield]: https://github.com/lobehub/lobe-assets/workflows/Release%20CI/badge.svg
[ci-release-url]: https://github.com/lobehub/lobe-assets/actions?query=workflow%3ARelease%20CI

<!-- contributors -->

[contributors-shield]: https://img.shields.io/github/contributors/lobehub/lobe-assets.svg?style=flat
[contributors-url]: https://github.com/lobehub/lobe-assets/graphs/contributors

<!-- forks -->

[forks-shield]: https://img.shields.io/github/forks/lobehub/lobe-assets.svg?style=flat
[forks-url]: https://github.com/lobehub/lobe-assets/network/members

<!-- stargazers -->

[stargazers-shield]: https://img.shields.io/github/stars/lobehub/lobe-assets.svg?style=flat
[stargazers-url]: https://github.com/lobehub/lobe-assets/stargazers

<!-- issues -->

[issues-shield]: https://img.shields.io/github/issues/lobehub/lobe-assets.svg?style=flat
[issues-url]: https://github.com/lobehub/lobe-assets/issues/new/choose