# jsbin2tap

> Adds binary data to ZX Spectrum tape files

Latest version **0.0.2** (published 2020-05-02) · ISC license · 0 weekly downloads

## Install

```sh
npm install jsbin2tap
pnpm add jsbin2tap
yarn add jsbin2tap
bun add jsbin2tap
```

Provides the command `jsbin2tap`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2020-05-02 |
| First published | 2020-05-01 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 8.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Vadim Cherenev |
| Maintainers | shadowlamer |
| Keywords | bin2tap, ZX Spectrum |

## Links

- npm: https://www.npmjs.com/package/jsbin2tap
- Repository: https://github.com/shadowlamer/jsbin2tap
- Homepage: https://github.com/shadowlamer/jsbin2tap#readme
- Issues: https://github.com/shadowlamer/jsbin2tap/issues
- npm.io page: https://npm.io/package/jsbin2tap

## Dependencies (1)

- [minimist](https://npm.io/package/minimist.md) ^1.2.5

## Recent versions

- 0.0.2 (latest) — 2020-05-02
- 0.0.1 — 2020-05-01

## README

# jsbin2tap

Adds binary data to ZX Spectrum tape files.

### Usage

#### Without installation
```
npm start -- [options] input.bin [input2.bin ...]
```

#### With installation
```
sudo npm install -g jsbin2tap
jsbin2tap [options] input.bin [input2.bin ...]
```

#### As npm module
```
npm install --save jsbin2tap
```
...and then from JS...
```
const fs = require('fs');
const tape = require('jsbin2tap');
...
tape.writeBytesBlock(buf, blockName, startAddress);
fs.writeSync(outputFile, tape.getBuffer());
```

### Options

|Short | Long                  | description                 | Default |
|------|-----------------------|-----------------------------|---------|
|	-o | --output              |output TAP file              |out.tap  |
|	-a | --address             |start address of binary file |32768    |
|	-p | --append              |append tap at end of file    |false    |
|	-h | --help                |print usage information      |false    |
|	-v | --version             |print version information    |false    |
s

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