open-index/open-npm huggingface dataset:
npm package: @synapps/core
Description: web framework for node
Author: Alexandre Tiertant
Latest version: 1.1.1

# synapps
synapps is a web framework for Node.js

[![npm version](https://badge.fury.io/js/%40synapps%2Fcore.svg)](https://badge.fury.io/js/%40synapps%2Fcore)
[![Linux Build](https://travis-ci.org/Atlantis-Software/synapps.svg?branch=master)](https://travis-ci.org/Atlantis-Software/synapps)
[![Windows Build](https://ci.appveyor.com/api/projects/status/xt5nrvra2o4xh4al?svg=true)](https://ci.appveyor.com/project/atiertant/synapps)
[![Coverage Status](https://coveralls.io/repos/github/Atlantis-Software/synapps/badge.svg?branch=master)](https://coveralls.io/github/Atlantis-Software/synapps?branch=master)
[![Dependencies Status](https://david-dm.org/Atlantis-Software/synapps.svg)](https://david-dm.org/Atlantis-Software/synapps)

```js
var synapps = require('@synapps/core');
var app = synapps();

app.route('/', function(req) {
  req.resolve('hello world');
});

app.listen(3000);
```

```bash
$ curl http://127.0.0.1:3000
hello world
```

## Installation

This is a [Node.js](https://nodejs.org/en/) module available through the
[npm registry](https://www.npmjs.com/).

Before installing, [download and install Node.js](https://nodejs.org/en/download/).
Node.js 6 or higher is required.

Installation is done using the
[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):

```bash
$ npm install @synapps/core
```

## Docs

Visit the [Wiki](https://github.com/Atlantis-Software/synapps/wiki)

## Examples

  To view the examples, clone the Synapps repo and install the dependencies:

```bash
$ git clone git://github.com/Atlantis-Software/synapps.git
$ cd synapps/
$ npm install
```

  Then install the dependencies and run whichever example you want:

```bash
$ cd examples/auth
$ npm install
$ node index
```

## Tests

  To run the test suite, first install the dependencies, generate ssl key, then run `npm test`:

```bash
$ git clone git://github.com/Atlantis-Software/synapps.git
$ cd synapps/
$ npm install
$ npm test
```


## License

  [MIT](LICENSE.md)
npm package: @synapps/orm
Description: Offshore ORM integration middleware for Synapps
Author: Alexandre Tiertant
Latest version: 1.0.0

# synapps-orm

ORM for [synapps](https://github.com/Atlantis-Software/synapps).

[![npm version](https://badge.fury.io/js/%40synapps%2Form.svg)](https://badge.fury.io/js/%40synapps%2Form)
[![Build](https://travis-ci.org/Atlantis-Software/synapps-orm.svg?branch=master)](https://travis-ci.org/Atlantis-Software/synapps-orm)
[![Coverage Status](https://coveralls.io/repos/github/Atlantis-Software/synapps-orm/badge.svg?branch=master)](https://coveralls.io/github/Atlantis-Software/synapps-orm?branch=master)
[![Dependencies Status](https://david-dm.org/Atlantis-Software/synapps-orm.svg)](https://david-dm.org/Atlantis-Software/synapps-orm)
npm package: @synaps-ui/core
Description: Core UI components for Synaps
Author: Synaps
Latest version: 0.1.0

# Synaps UI Components

SASS UI component library for Synaps.

## Installation

```bash
npm install @synaps-ui/core
```

or

```bash
yarn add @synaps-ui/core
```

## Usage

### Full import

```scss
@use '@synaps-ui/core/styleguide/styles';
```

### Individual component imports

```scss
@use '@synaps-ui/core/components/button/styles';
@use '@synaps-ui/core/components/card/styles';
```

### Utilities imports

```scss
@use '@synaps-ui/core/utilities/sass/functions' as fn;
@use '@synaps-ui/core/utilities/sass/mixin' as mixin;
```

## Structure

- `components/` - Reusable UI components
- `modules/` - Layout modules
- `utilities/` - SASS functions and mixins
- `styleguide/` - Main file with design tokens

## License

MIT
npm package: @synapse-protocol-npm/llamaindex
Description: LlamaIndex adapter for Synapse Protocol
Author: Synapse Protocol
Latest version: 0.1.0

# @synapse-protocol/llamaindex

LlamaIndex adapter for [Synapse Protocol](https://synapse.protocol).

## Install

```bash
npm install @synapse-protocol/llamaindex @synapse-protocol-npm/sdk
```

## Usage

```typescript
import { createSynapseTools } from "@synapse-protocol/llamaindex"
import { OpenAI, ReActAgent } from "llamaindex"

const tools = createSynapseTools({
  apiKey: process.env.SYNAPSE_KEY!,
  capabilities: ["data_analysis"],
})

const agent = new ReActAgent({ tools, llm: new OpenAI({ model: "gpt-4o" }) })
const response = await agent.chat({ message: "Find me the highest paying open job" })
```
npm package: @synapse/mininit
Description: Mini Initialiser. Builds a cofiguration folder which you can customise that holds project settings.
Author: synapse
Latest version: 1.0.8

1) mininit exposes 2 functions a setter to initialise and begin the configuration builder and a getter function to return the configuration object.

Usage Example: 

var mininit = require('@synapse/mininit').initConfig;

var getConfig = require('@synapse/mininit').getConfig;

/* Database Settings Object */

var db = { host: 'localhost', port: 27017, db: 'test' };

mininit(db);

console.log( getConfig() );

2) Placing this at the start of any script will build a config folder (you can change this) in the project root with settings about the project such as path types, OS, rootDir, configDir and configFile.

3) Part of a suite of apps under one umbrella: 'minproject'
npm package: @synapsecns/synapse-constants
Description: This is an npm package that maintains all synapse constants
Latest version: 1.8.11

# Synapse Constants

[![npm](https://img.shields.io/npm/v/synapse-constants?style=flat-square)](https://www.npmjs.com/package/synapse-constants)

This package contains the Synapse Protocol Token and Chain Constants.

## Installation

With Yarn:

```bash
yarn add @synapsecns/synapse-constants
```

## Build

The following command will build the package locally

```
yarn build
```

## Usage

Importing supported tokens and chains:

```js
import { BRIDGABLE_TOKENS, CHAINS } from '@synapsecns/synapse-constants'
```

Importing a specific token:

```js
import { USDC } from '@synapsecns/synapse-constants'
```

## TODO

- [ ] Instructions on adding new chains
- [ ] Instructions on adding new tokens
- [ ] Instructions on generating new token route map