Comparing version 1.0.5 to 1.0.6
@@ -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(); | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
32037
13
517
31
0
1
2