open-index/open-npm huggingface dataset:
npm package: @101-ways/core-mongo
Description: Accelerator Mongo package.
Latest version: 0.1.0

# @101-ways/core-mongo

[MongoDb](https://www.mongodb.com/) client accelerator package. It uses the Service Registry pattern to create a single object with APIs.

## Features

- starts server on port 8000 by default
- debug logging with tracing metadata

## Usage

```ts
import { load } from '@101-ways/core-mongo';

load([`${__dirname}/modules`]).then(async (sr) => {
  const collection = sr.mongo.db().collection('test');
  const list = await collection.find({}).toArray();
  console.log(list);
  sr.core.shutdown.run();
});
```

Basic example for creating a child package:

```ts
import { load as loadCore, type Registry } from '@101-ways/core-mongo';

export type { Registry };

export async function load<T extends Registry>(paths: string[] = [], sr?: T) {
  return loadCore([`${__dirname}/modules`, ...paths], sr);
}
```

## Service Registry API

Everything in [@101-ways/core](../core/README.md) and

- sr.config - configuration (see [./src/modules/config.ts](./src/modules/config.ts))
- sr.mongo - MongoDB client (see https://mongodb.github.io/node-mongodb-native/6.5/classes/MongoClient.html)

## Environment Variables

Everything in [@101-ways/core](../core/README.md) and

- MONGO_URI='mongodb://localhost:27017/test' - Mongo connection URI
npm package: @1023-ventures/lyra-pp-navigation
Description: The Pilet Plugin API for navigation.
Latest version: 0.4.17

# Overview - Ordovician Pilet Plugin Navigation

Need the ability for pilets to...

registerNavItem('Customers', 'customer-search')   
registerNavWidget('Customers', 'customer-stats')

maybe we using a key rather than the caption of Customers

guessing that this will be structured a lot like their plugins... e.g.   piral-menu