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

hdl-js

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hdl-js - npm Package Compare versions

Comparing version 0.0.70 to 0.0.71

2

package.json
{
"name": "hdl-js",
"version": "0.0.70",
"version": "0.0.71",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "Hardware definition language (HDL) and Hardware simulator",

@@ -43,2 +43,5 @@ # hdl-js

- [Memory chips](#memory-chips)
- [Interface chips](#interface-chips)
- [Screen](#screen)
- [Keyboard](#keyboard)
- [Clock](#clock)

@@ -1439,3 +1442,3 @@ - [Clock events](#clock-events)

- [Screen](https://github.com/DmitrySoshnikov/hdl-js/blob/master/src/emulator/hardware/builtin-gates/Screen.js)
- [Screen](https://github.com/DmitrySoshnikov/hdl-js/blob/master/src/emulator/hardware/builtin-gates/Screen.js) (video memory)
- [Keyboard](https://github.com/DmitrySoshnikov/hdl-js/blob/master/src/emulator/hardware/builtin-gates/Keyboard.js)

@@ -1445,3 +1448,3 @@

The _Screen_ chip represents 256 x 512 video memory, implemented with 8K registers. The gate can manipulate individual pixels using `getPixelAt`, and `setPixelAt` methods.
The `Screen` chip represents 256 x 512 video memory, implemented with 8K registers. The gate can manipulate individual pixels using `getPixelAt`, and `setPixelAt` methods.

@@ -1465,7 +1468,7 @@ ```js

The _Keyboard_ chip is special, and requires callers to implement the actual keyboard listener, depending on a system where the chip is used. Such caller listeners should call `Keyboard.emit('key', key)` even, and the key code is propagated to the output pin:
The `Keyboard` chip is special, and requires callers to implement the actual keyboard listener, depending on a system where the chip is used. Such caller listeners should call `Keyboard.emit('key', key)` event, and the key code is propagated to the output pin:
Example using from a browser environment:
```
```js
...

@@ -1484,3 +1487,3 @@

The `Keyboard` also provides default (blocking) `listen` method, which spawns Node's stdin keyboard input listening:
The `Keyboard` also provides default (blocking) `listen` method, which spawns Node's `stdin` keyboard listening:

@@ -1500,3 +1503,3 @@ ```js

We can introspect keyboard events using `--describe` option of the Keyboard gate:
We can introspect keyboard events using `--describe` option of the `Keyboard` gate:

@@ -1503,0 +1506,0 @@ ```

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