node-version-call
TypeScript icon, indicating that this package has built-in type declarations

0.5.2 • Public • Published

node-version-call

Call a function in a specific version of node

Example 1

import call from "node-version-call";

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

Example 2

var call = require("node-version-call"); // old js calling lts js

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

Documentation

API Docs

/node-version-call/

    Package Sidebar

    Install

    npm i node-version-call

    Weekly Downloads

    844

    Version

    0.5.2

    License

    MIT

    Unpacked Size

    16.8 kB

    Total Files

    19

    Last publish

    Collaborators

    • kmalakoff