@ipfn/ts-neuron-gen

0.0.10 • Public • Published

ts-neuron-gen – IPFN Neurons definitions from TypeScript

IPFN project npm Dependency Status Dev Dependency Status Circle CI

This package provides ts-neuron-gen command line tool that generates neurons definitions from TypeScript source code.

Install

This project is available through npm. To install run:

$ npm install -g @ipfn/ts-neuron-gen

Usage

It generates neurons.json and neurons.pb descriptor files from command line or using JavaScript API.

Usage in CLI

In a TypeScript project with a package.json and a tsconfig.json run:

$ ts-neuron-gen

It will generate neurons.json file containing definitions of neurons for all exported functions and classes in the project.

Usage in JavaScript

Take a look at bin/ts-neuron-gen.ts code to see example usage.

Project

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

Readme

Keywords

none

Package Sidebar

Install

npm i @ipfn/ts-neuron-gen

Weekly Downloads

1

Version

0.0.10

License

none

Last publish

Collaborators

  • crackcomm