Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Open source, secure and fast virtual machine to run Oxygen Byte Codes.
OpenVM is a simple virtual machine designed for educational purposes. It includes a set of commands and compilers to execute Oxygen Byte Code (OBC) and provides different types of memory, such as long-term memory and short-term memory.
Please read commands
LongMemory
class.SHM
class.Reader
class.bun i openvm
# or
npm i openvm
# or
yarn add openvm
# or
pnpm i openvm
import { VM } from '../src/openvm.js'
import fs from 'fs'
const vm = new VM()
const file = fs.readFileSync('./test/your-file.o', {
encoding: 'utf8',
})
vm.run(file)
Just import your Oxygen Readable Code file and create a new VM instance. Now you are ready to run your code.
your-file.o
; Now you are can use comments!
jmp 0x0 ; Set cursor to 0x0
set hello%20world ; Set 0x0 to hello world (%20 equals to space)
jmp 0x1 ; Set cursor to 0x1
set put%200x0 ; Setting 0x1 to command put 0x0 (%20 equals to space)
run 0x1 ; Run 0x1
exit 0 ; Exit the program without errors
FAQs
Open source, secure and fast virtual machine to run Oxygen Byte Codes.
The npm package openvm receives a total of 0 weekly downloads. As such, openvm popularity was classified as not popular.
We found that openvm demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.