# atm-opcode-buffer

> ATM Operation Code Buffer service

Latest version **1.0.1** (published 2017-10-11) · LGPL-2.1 license · 0 weekly downloads

## Install

```sh
npm install atm-opcode-buffer
pnpm add atm-opcode-buffer
yarn add atm-opcode-buffer
bun add atm-opcode-buffer
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2017-10-11 |
| First published | 2017-10-11 |
| Weekly downloads | 0 |
| License | LGPL-2.1 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Tim Gabets |
| Maintainers | timgabets |
| Keywords | ATM, Opcode |

## Links

- npm: https://www.npmjs.com/package/atm-opcode-buffer
- Repository: https://github.com/timgabets/atm-opcode-buffer
- Homepage: https://github.com/timgabets/atm-opcode-buffer#readme
- Issues: https://github.com/timgabets/atm-opcode-buffer/issues
- npm.io page: https://npm.io/package/atm-opcode-buffer

## Recent versions

- 1.0.1 (latest) — 2017-10-11

## README

# atm-opcode-buffer

ATM Operation Code Buffer service, used by [Electron ATM](https://github.com/timgabets/electron-atm) and [ATM State Navigator](https://github.com/timgabets/states-navigator) applications.

## To use:
```javascript
const OperationCodeBufferService = require('atm-opcode-buffer');
var opcode = new OperationCodeBufferService();

var stateD = { 
  clear_mask: '000', 
  A_preset_mask: '000', // 0000 0000
  B_preset_mask: '042', // 0010 1010
  C_preset_mask: '006', // 0000 0110 
  D_preset_mask: '000', // 0000 0000
  extension_state: '000' 
};

s.setBufferFromState(stateD);

console.log(s.buffer);
> ' CCB B  '

```

---
_Source: https://npm.io/package/atm-opcode-buffer · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
