New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@chipcode/octo-assembler

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chipcode/octo-assembler

A packaged version of the Octo assembler

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Octo assembler

This package is just a very thin wrapper around John Earnest's excellent Octo-flavoured CHIP-8 assembler and disassembler. I made this wrapper just because it bugged me not to be able to depend on it through NPM.

How to use

npm install @chipcode/octo-assembler

And then you can run:

npx octo <input file> <output file>

Or use it in your package.json file:

{
  "name": "example",
  "scripts": {
    "assemble": "octo input.8o output.ch8",
    "disassemble": "octo --decompile input.ch8 output.8o",
    "assemble-all": "echo 'Assembling all *.8o files...'; for file in `find . -type f -name \"*.8o\"`; do echo \"  * $file\"; target=${file%.8o}; octo $file ${target}.ch8; done"
  }
}

See https://github.com/JohnEarnest/Octo#command-line-mode for available command line options to the assembler.

Keywords

FAQs

Package last updated on 04 Jan 2023

Did you know?

Socket

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.

Install

Related posts

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