
Product
Introducing Repository Access Permissions and Custom Roles
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.
Note This project can be tested online at https://npm.runkit.com/stack-vm. Currently no graphical functions are implemented.
Note Requires a recent version of NodeJS and NPM installed on the system
To use the program as a command line application, install like so:
npm install -g stack-vm
To use the program using the JavaScript API, then run the comman:
npm install --save stack-vm
Run the command:
stack-vm run ./source-code.vm
If you want to execute the program step by step, execute as follows:
stack-vm run --step-by-step 1 ./source-code.vm
import { StackVM, StdActions, Parser } from "./index";
const instructions = Parser.parse( `
start
pushi 2
writei
pushs "\n"
writes
stop
` );
const vm = new StackVM( StdActions, instructions );
vm.executeAll()
.catch( error => console.error( error.message, error.stack ) );
FAQs
A simple stack machine simulator written in typescript
The npm package stack-vm receives a total of 6 weekly downloads. As such, stack-vm popularity was classified as not popular.
We found that stack-vm 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.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.