function-exec-sync
TypeScript icon, indicating that this package has built-in type declarations

0.2.11 • Public • Published

function-exec-sync

Call a function in a specific version of node for browser and node

Example 1

import call from "function-exec-sync";

const result = call("0.8", "path/to/file.js", "arg1", 2);
console.log(result); // return value

Example 2

var call = require("function-exec-sync"); // old js calling lts js

var result = call("lts", "path/to/file.js", "arg1", 2);
console.log(result); // return value

Documentation

API Docs

Package Sidebar

Install

npm i function-exec-sync

Weekly Downloads

32

Version

0.2.11

License

MIT

Unpacked Size

19.9 kB

Total Files

16

Last publish

Collaborators

  • kmalakoff