@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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.1
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.1
    0

Package Sidebar

Install

npm i @runspace/runtime

Weekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

41.4 kB

Total Files

8

Last publish

Collaborators

  • 0x77