This package has been deprecated

Author message:

Use @ipfn/cell instead

@ipfn/neurons
TypeScript icon, indicating that this package has built-in type declarations

0.0.10 • Public • Published

IPFN Neurons builder in JavaScript

IPFN project npm Dependency Status Dev Dependency Status Circle CI

Builders for IPFN neurons definitions in JavaScript.

Install

This project is available through npm. To install run:

$ npm install @ipfn/neurons

Usage

Following example is a deep neuron which is a Counter witch increment interface.

import { neuron, synaptic } from '@ipfn/neurons';
import SynapticTypes from '@ipfn/synaptic-types';

const count = synaptic('count', SynapticTypes.Number);

const counter = neuron('Counter')
  .input(count)
  .node(
    neuron('increment')
      .input(count)
      .output(count)
  )
  .build();

See package tests for more examples.

Project

This source code is part of IPFN – interplanetary functions project.

Readme

Keywords

none

Package Sidebar

Install

npm i @ipfn/neurons

Weekly Downloads

0

Version

0.0.10

License

none

Last publish

Collaborators

  • crackcomm