open-index/open-npm huggingface dataset:
npm package: @frankchoongsaeng/lit-store
Description: A tiny reactive state container designed for use with [Lit](https://lit.dev/). It provides a minimal API for creating stores, subscribing to state changes and connecting state to Lit elements.
Latest version: 0.0.1

# lit-store

A tiny reactive state container designed for use with [Lit](https://lit.dev/).
It provides a minimal API for creating stores, subscribing to state changes and
connecting state to Lit elements.

## Features

- **Simple API** – create a store and update state with plain objects.
- **Selectors** – subscribe to slices of state with custom equality checks.
- **Lit integration** – `StoreController` keeps Lit components in sync.
- **Persistence** – save and restore state using the `persist` helper.
- **DevTools** – optional Redux DevTools extension integration.

## Installation

```bash
npm install @frankchoongsaeng/lit-store
```

## Basic Usage

Create a store and use the `StoreController` inside a Lit element:

```ts
import { html, LitElement } from 'lit'
import { createStore } from '@frankchoongsaeng/lit-store/lib/store'
import { StoreController } from '@frankchoongsaeng/lit-store/lib/store-controller'

const store = createStore({ count: 0 })

class CounterElement extends LitElement {
  private state = new StoreController(this, store, s => s.count)

  render() {
    return html`
      <button @click=${() => store.setState({ count: this.state.value + 1 })}>
        Count: ${this.state.value}
      </button>
    `
  }
}
```

## Persistence

To persist state across reloads, wrap a store with `persist` and an adapter:

```ts
import { persist, localStorageAdapter } from '@frankchoongsaeng/lit-store/lib/persist'

persist(store, { key: 'counter', adapter: localStorageAdapter })
```

## Redux DevTools

Use `withDevtools` to connect a store to the Redux DevTools extension:

```ts
import { withDevtools } from '@frankchoongsaeng/lit-store/devtools/redux'

withDevtools(store, 'counter')
```

## License

MIT
npm package: @frankdejonge/endpoints
Description: Endpoint reference.
Author: Frank de Jonge
Latest version: 0.2.0
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# @frankdejonge/endpoints

## Scenario

This package allows you to register and resolve endpoints. Endpoints can be internal,
for example to allow named routing in react-router, or create a lookup table for any API
endpoints your application may consume. It's merely a lookup table tailored towards endpoints.

## Install

```js
npm i --save @frankdejonge/endpoints
```

## Usage

```js
var Endpoints = require('@frankdejonge/endpoints');
var endpoints = new Endpoints('http://api.example.org');

// Simple declaration
endpoints.get('/articles', 'articles.index');
console.log(endpoints.path('article.index')); // http://api.example.org/articles

// Available method by http verb
endpoints.get(pattern, name);
endpoints.post(pattern, name);
endpoints.put(pattern, name);
endpoints.patch(pattern, name);
endpoints.delete(pattern, name);
endpoints.options(pattern, name);
endpoints.head(pattern, name);

// Nested declaration via a callback.
endpoints.get('/writers', 'writer.index', function () {
    endpoints.post('/', 'writer.create');
    endpoint.get('/:writerId', 'writer.details', function () {
        endpoints.get('/publications', 'writer.publications');
    });
    endpoints.delete('/:writerId', 'writer.delete');
});

// Resolving endpoint paths with parameters
console.log(endpoints.path('writers.publications', {writerId: 2}));
// http://api.example.org/writers/2/publications
```

Nesting can also be done through the `endpoints.nest` method which doesn't register an
endpoint for the group.

```js
endpoints.nest('prefix', function () {
    // Register endpoints here.
});
```

## Endpoint blueprints.

```js
endpoints.get('/article/:id', 'article.details');
var blueprint = endpoints.blueprint('article.details');
var httpMethod = blueprint.method;
var pattern = blueprint.pattern;
```

## Resolving endpoints.

Apart from blueprints you can `resolve` an endpoint to get the blueprint with
the generated path.

```js
endpoints.get('/article/:id', 'article.details');
var articleEndpoint = endpoints.resolve('article.details');
var httpMethod = articleEndpoint.method;
var pattern = articleEndpoint.pattern;
var path = articleEndpoint.path;
```
npm package: @frankencoin/api
Description: [Nest](https://github.com/nestjs/nest) framework TypeScript starter repository.
Latest version: 0.3.15

## Description

[Nest](https://github.com/nestjs/nest) framework TypeScript starter repository.

## Installation

```bash
$ yarn install
```

## create .env (see: .env.example)

```
PORT=3030

CONFIG_APP_URL=https://app.frankencoin.com
CONFIG_INDEXER_URL=https://ponder.frankencoin.com
CONFIG_CHAIN=mainnet

RPC_URL_MAINNET=https://eth-mainnet.g.alchemy.com/v2/...
RPC_URL_POLYGON=https://polygon-mainnet.g.alchemy.com/v2/...

COINGECKO_API_KEY=CG-...

TELEGRAM_BOT_TOKEN=...

STORJ_ACCESSKEY=...
STORJ_SECRETACCESSKEY=...
STORJ_BUCKET=frankencoin
STORJ_REGION=EU1
STORJ_ENDPOINT=https://gateway.storjshare.io
```

## Running the app

```bash
# development
$ yarn run start

# watch mode
$ yarn run start:dev

# production mode
$ yarn run start:prod

# Publish NPM pkg (higher version) - needs login
$ npm publish --access public
```

## License

Nest is [MIT licensed](LICENSE).
This repo is [MIT licensed](LICENSE).