0.0.1 • Published 5 years ago

fift-bind v0.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

fift-node

Node JS bindings for Fift compiler (for Telegram Open Network). You can run Fift from your JS code and receive output and files directly in code without FS.

Current TON implementation don't allow to run Fift programmatically. So I created a small patch for it here It allows to create shared library that this project use.

The library is currently compiled only for Mac OS.

Binding are created using (FFI project)https://www.npmjs.com/package/node-ffi

Features

  • run Fift programmatically
  • receive result directly from code (you don't need to read files)
  • ability to pass hex strings as arguments (custom word in Fift)

Installation

$ npm install --save fift-node

Usage

Check example folder

Current State

THIS IS NOT FOR COMMERTIAL USE, BECAUSE IT MAY BE UNSTABLE!!!