open-index/open-npm huggingface dataset:
npm package: @nexgin/configdir
Description: Config Directory
Latest version: 0.0.9

ConfigDir
===========
ConfigDir is a library for loading configuration files of various formats.

To add ConfigDir to your application simply install it, add your config directory/files, initialize the loader class, and get the config.

## ConfigDir Concepts
- Config directory contains subdirectory called "default" which gets loaded first
- Config directory contains subdirectories containing any unique name which are referred to as environments
- index files contain properties associated with config or directory root
- Config directory can contain subdirectories which are part of the config structure
- Index files loaded first all other files loaded secondary
- Supports reading multiple config directories (Useful for modular projects allowing for modular configs) with primary configDir taking priority

## Supported Config Formats
- INI (.ini)
- Javascript (.js)
- JSON (.json)
- JSON5 (.json5)
- XML (.xml) Note: Due to XML schema design XML is not recommended as it doesn't merge the same as other files but does work
- YAML (.yaml|.yml)


## Install from npm
```
npm install @nexgin/configdir
```

## Install from yarn
```
yarn add @nexgin/configdir
```

## Example Config Directory Structure
```
config/
├── default
│   ├── index.ini
│   ├── index.js
│   ├── index.json
│   ├── index.json5
│   ├── index.xml
│   ├── index.yaml
│   └── tests
│       ├── index.json
│       └── test2.json
├── development
│   └── index.json
├── production
│   └── index.json
└── staging
    └── index.json
```

## Example
```ts
// Add Import at top
import {ConfigDir} from '@nexgin/configdir';
// import * as path from 'path'; // Import used for loading additional configs example

// Create instance of Loader class
const configDir = new ConfigDir();
// const configDir = new ConfigDir({configDirs: [path.resolve('./path/to/another/configDir')]});
(async () => {
  // Initialize class
  await configDir.init();
  // Get config
  const config = configDir.get();
})();
```
npm package: @nexhero/kiwi
Description: native http server for bare runtime
Author: David Pereira
Latest version: 1.0.3


# Table of Contents

1.  [Libraries](#org38d9a29)
2.  [Requirements:](#org1bf4abf)
3.  [Install:](#org6fc6753)
4.  [Static HTTP Server P2p:](#orgaa7cc21)
5.  [How to use:](#orge69cc3e)
    1.  [Create server object](#orgd4be4ec)
    2.  [Register new route](#org10c26b3)
    3.  [Register middleware](#orgd68890c)
    4.  [Start up server](#org5a97af4)
6.  [Example:](#org66c99a2)

<p class="verse">
This is an HTTP server built using bare-runtime, utilizing the Holesail library for peer-to-peer (P2P) tunneling capabilities. The server enables access to its resources outside a local network, allowing users to connect from anywhere in the world.<br />
</p>


<a id="org38d9a29"></a>

# Libraries

Kiwi is based in those libraries:

-   <https://holesail.io/>
-   <https://github.com/delvedor/find-my-way>


<a id="org1bf4abf"></a>

# Requirements:

    npm i -g bare


<a id="org6fc6753"></a>

# Install:

    git clone https://github.com/nexhero/Kiwi.git
    cd Kiwi
    npm install


<a id="orgaa7cc21"></a>

# Static HTTP Server P2p:

    bare kiwi.js -p 8080 -d /var/www/html


<a id="orge69cc3e"></a>

# How to use:


<a id="orgd4be4ec"></a>

## Create server object

    const port = 3001
    const server = new Kiwi(port)


<a id="org10c26b3"></a>

## Register new route

    server.router.on('GET','/name/:name',(req,res,params)=>{
      console.log(params)
      res.setHeader('Content-Type', 'text/plain')
      res.end("Hello: "+params.name)
    })


<a id="orgd68890c"></a>

## Register middleware

    const nameMW = (req,res)=>{
      res.write("This is middleware for route /name \n")
    }
    server.useMiddleware('/name/*',nameWM)


<a id="org5a97af4"></a>

## Start up server

    server.start()
    // Or start up server with holesail
    //server.start("63d709c4f93884009c3e8db69ad1dfd2000ca5b6a5ae1984a23acffa75d058c2")


<a id="org66c99a2"></a>

# Example:

The repository comes with a example server

    bare example/demo-kiwi.js
npm package: @nexhome/web-cli
Description: ## Brief intro
Author: guygubaby
Latest version: 0.4.27

# @nexhome/web-cli

## Brief intro

A cli for Nexhome frontend project

## Install

```bash
sudo npm i @nexhome/web-cli -g
```

## Usage

```bash
nexhome-web-cli -h # show help
nexhome-web-cli -V # show version
nexhome-web-cli create [projectName] # create project using presets
```