wandboxjs
TypeScript icon, indicating that this package has built-in type declarations

2.0.2 • Public • Published

wandboxjs

Wandbox API Wrapper for Node.js TS Rewrite

Installation

Just type npm i wandboxjs and you are ready to go!

Usage

ES5 Syntax

const { compiler } = require("wandboxjs");
compiler("python", "print(1)").then((result) => console.log(result.result)); // -> 1

ES6 Syntax

import { compiler } from "wandboxjs";

const main = async () => {
  result = await compiler("python", "print(1)");

  console.log(result.result); // -> 1
};

main();

/wandboxjs/

    Package Sidebar

    Install

    npm i wandboxjs

    Weekly Downloads

    12

    Version

    2.0.2

    License

    MIT

    Unpacked Size

    35.1 kB

    Total Files

    19

    Last publish

    Collaborators

    • shynox
    • 5elenay