Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Fortran bridge for Node.js which allows you to run Fortran code from Node.js.
Fortran bridge for Node.js which allows you to run Fortran code from Node.js.
$ npm i --save fortran
You have to install the Fortran compiler:
# Ubuntu
sudo apt-get install gfortran
sudo apt-get install fort77
# OS X
brew install gcc
const fotran = require("fortran");
// Let's run some Fortran stuff
fotran(`
program hello
print *, "Hello World!"
end program hello
`, (err, data) => {
console.log(err || data);
// => Hello World
});
fortran(input, callback)
Runs Fortran code from the Node.js side.
input
: The Fortran code to execute, or a path to a Fortran file (generally having the .f
extension).callback
: The callback function called with err
, stdout
and stderr
.Have an idea? Found a bug? See how to contribute.
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.FAQs
Fortran bridge for Node.js which allows you to run Fortran code from Node.js.
The npm package fortran receives a total of 3 weekly downloads. As such, fortran popularity was classified as not popular.
We found that fortran demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.