Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

wandboxjs

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wandboxjs - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

dist/index.js

29

package.json

@@ -6,9 +6,26 @@ {

"name": "wandboxjs",
"version": "1.0.5",
"main": "index.js",
"devDependencies": {},
"keywords": [],
"author": "abcdef",
"version": "1.0.6",
"main": "dist",
"scripts": {
"format": "prettier --write .",
"start": "node dist/index.js",
"dev": "nodemon index.ts",
"build": "tsc"
},
"keywords": [
"compiler",
"wandbox",
"compile",
"language compile"
],
"author": "abcdef, shynox",
"license": "MIT",
"description": "Basic wandbox api wrapper."
"description": "Basic wandbox api wrapper.",
"repository": {
"type": "git",
"url": "https://github.com/5elenay/wandboxjs.git"
},
"devDependencies": {
"@types/node-fetch": "^2.5.12"
}
}

@@ -1,16 +0,30 @@

Basic Wandbox API Wrapper
# wandboxjs
# Example
Wandbox API Wrapper for Node.js TS Rewrite
## Installation
Just type `npm i wandboxjs` and you are ready to go!
## Usage
ES5 Syntax
```js
const compiler = require("wandboxjs");
const { compiler } = require("wandboxjs");
compiler("python", "print(1)").then((result) => console.log(result.result)); // -> 1
```
compiler("go", `
package main
import "fmt"
ES6 Syntax
func main() {
fmt.Println("go.")
}
`)
// -> go.
```
```js
import { compiler } from "wandboxjs";
const main = async () => {
result = await compiler("python", "print(1)");
console.log(result.result); // -> 1
};
main();
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc