@mutopad/connex-framework
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

Connex Framework

npm version

Connex Framework is a library implements Connex interface.

Installation

It always works along with the package @mutopad/connex-driver.

npm i @mutopad/connex-framework @mutopad/connex-driver

Usage

To create a Framework instance:

import { Framework } from '@mutopad/connex-framework'
import { Driver, SimpleNet } from '@mutopad/connex-driver'

const net = new SimpleNet('http://localhost:8669/')
const driver = await Driver.connect(net)

// now we get the ready-to-use Connex instance object
const connex = new Framework(driver)

License

This package is licensed under the GNU Lesser General Public License v3.0, also included in LICENSE file in the repository.

Package Sidebar

Install

npm i @mutopad/connex-framework

Weekly Downloads

0

Version

0.0.3

License

LGPL-3.0

Unpacked Size

174 kB

Total Files

42

Last publish

Collaborators

  • mutopad