open-index/open-npm huggingface dataset:
npm package: @pcan/leveldb-viewer
Description: LevelDB Viewer Application
Author: Pierantonio Cangianiello
Latest version: 0.1.3

# leveldb-viewer

A simple, minimalistic, web-based LevelDB viewer for Node.js. 

## Usage

Install the module with `npm i --save leveldb-viewer`. The following snippet shows the sample usage:
```javascript
const { createViewerServer } = require('leveldb-viewer');
const db = levelup(encode(leveldown('/path/to/db'), { keyEncoding: 'buffer', valueEncoding: 'json' })); 
const server = createViewerServer(db); // This returns a Node.JS HttpServer.
server.listen(9090); // you may invoke listen...
server.close() // ...and close.
```
Once you started the server with `server.listen(9090)` open the browser at `http://localhost:9090`. You should be able to explore the contents of your LevelDB instance using a tree view.
The webpage uses a minimal API to retrieve data:
- `GET /api/query` retrieves the keys (or their common prefixes) using `root` param to specify the desired prefix and `limit` to limit the number of records. The response returns an array of objects having this format: `{val: string, count: number}`. The `val` field is the prefix (or the whole key) and `count` is the number of records having that prefix.
- `GET /api/value` retrieves the value (as JSON object) having the specified `key` param.
npm package: @pcapanna/cra-template-advanced
Description: Advanced TypeScript+Redux+Others template for Create React App.
Author: Patricio Capanna
Latest version: 0.5.4

# cra-template-advanced

Advanced TypeScript+Redux+Others template for [Create React App](https://github.com/facebook/create-react-app).

Extends react-sripts official typescript template. Added redux, redux-sagas, react-router, @material-ui and other basic common dependencies in real day use.
 
To use this template, add `--template @pcapanna/cra-template-advanced` when creating a new app.

For example:

```shell
npx create-react-app my-app --template @pcapanna/cra-template-advanced

#or

yarn create react-app my-app --template @pcapanna/cra-template-advanced
```
Built-in 
----

Your initial Application will already have, out of the box:
 - A Login module, with basic configuration for an authentication flow.
 - A Layout module, with custom components to wrap your Screen Components.
 - A responsive Menu drawer module.
 - Example and About module, as examples of how to extend the application with your own modules with or without Redux.
 - An UI module, with some useful UI components.  

Most modules already use Redux.

Observations
-----------

- In order make Login authentication work at some URL different to 'localhost:3000', you need to change constant GOOGLE CLIENT ID of the Login Module.
Go to src/modules/login/constant and replace constant GOOGLE_CLIENT_ID for your own. Follow Google's instructions to make another URL work.

# For more information, please refer to:

- [Getting Started](https://create-react-app.dev/docs/getting-started) – How to create a new app.
- [User Guide](https://create-react-app.dev) – How to develop apps bootstrapped with Create React App.
npm package: @pcapanna/cra-template-zweb
Description: Advanced ZWeb Module template for Create React App.
Author: Patricio Capanna
Latest version: 0.5.2

# cra-template-zweb

This is ZWeb base template for [Create React App](https://github.com/facebook/create-react-app).

This templates extends react-sripts official typescript template. 
Adds support for:
 - redux,
 - redux-sagas,
 - react-router,
 - @material-ui/core 
 - @material-ui/styles
 - @material-ui/pickers, 
 
You should add manually this dependencies:
 - zweb-auth-common,
 - zweb-repositories-common
 
Basic app initialization and customization. 
ExampleScreen shows how to make a standard ZWeb Screen with react latest.

To use this template, add `--template @pcapanna/cra-template-zweb` when creating a new zweb compatible app.

For example:

```shell
npx create-react-app new-zweb-module --template @pcapanna/cra-template-zweb

#or

yarn create react-app new-zweb-module --template @pcapanna/cra-template-zweb
```

# For more information, please refer to:

- [Getting Started](https://create-react-app.dev/docs/getting-started) – How to create a new app.
- [User Guide](https://create-react-app.dev) – How to develop apps bootstrapped with Create React App.