Neatly Packaged Modules

    @runspace/runtime
    TypeScript icon, indicating that this package has built-in type declarations

    0.1.1 • Public • Published

    @runspace/runtime

    Runspace Runtime - allows you to create node administration javascript functions written in nodejs.

    Runspace\lang

    Example

    module.exports = (context, callback) => {
      console.info("Hello, World!"
      callback("Hello, World!"
    };

    will return:

    {
      "log": "Hello, World!",
      "data": "Hello, World!"
    }

    Features

    Available Node Modules:

    • node-fetch
    • os
    • fs
    • path
    • child_process

    Language possibilities

    All Node.js >=10 features.

    Console

    You can log something using these functions:

    console.debug(...someting);
    console.log(...someting);
    console.info(...someting);
    console.warn(...someting);
    console.error(...someting);
    console.dir(...someting);
    console.trace(...someting);

    Usage

    See examples in ./examples

    Keywords

    none

    Install

    npm i @runspace/runtime

    DownloadsWeekly Downloads

    2

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    41.4 kB

    Total Files

    8

    Last publish

    Collaborators

    • 0x77