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

wasmoon

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wasmoon - npm Package Compare versions

Comparing version 1.6.0 to 1.6.1

2

package.json
{
"name": "wasmoon",
"version": "1.6.0",
"version": "1.6.1",
"description": "A real lua VM with JS bindings made with webassembly",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -63,3 +63,3 @@ # Wasmoon

```sh
$: wasmoon [options] [files] [-- [args]]
$: wasmoon [options] [file] [args]
```

@@ -70,10 +70,21 @@

- `-l`: Include a file or directory
- `-i`: Enter interactive mode after running the _files_
- `-i`: Enter interactive mode after running the files
### Example:
```sh
$: wasmoon -i sum.lua 10 30
```
$: wasmoon -i sum.lua -- 10 30
And if you are in Unix, you can also use it as a script interpreter with [Shebang](<https://en.wikipedia.org/wiki/Shebang_(Unix)>):
```lua
#!/usr/bin/env wasmoon
return arg[1] + arg[2]
```
```sh
$: ./sum.lua 10 30
```
## Fixing common errors on web environment

@@ -80,0 +91,0 @@

Sorry, the diff of this file is not supported yet

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