fortran
Fortran bridge for Node.js which allows you to run Fortran code from Node.js.
☁️ Installation
$ npm i --save fortran
Prerequisites
You have to install the Fortran compiler:
# Ubuntu sudo apt-get install gfortransudo apt-get install fort77 # OS X brew install gcc
📋 Example
const fotran = ; // Let's run some Fortran stuff;
📝 Documentation
fortran(input, callback)
Runs Fortran code from the Node.js side.
Params
- String|Path
input
: The Fortran code to execute, or a path to a Fortran file (generally having the.f
extension). - Function
callback
: The callback function called witherr
,stdout
andstderr
.
😋 How to contribute
Have an idea? Found a bug? See how to contribute.
✨ Related
node.fortran
—Execute Node.js from Fortran.cobol
—COBOL bridge for NodeJS which allows you to run COBOL code from NodeJS.node.cobol
—Node.js bridge for COBOL which allows you to run Node.js code from COBOL.