# memscan

> A process memory reader/writer for node!

Latest version **0.0.5** (published 2016-02-08) · CC0-1.0 license · 0 weekly downloads

## Install

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

## 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.5 |
| Published | 2016-02-08 |
| First published | 2016-02-05 |
| Weekly downloads | 0 |
| License | CC0-1.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| Author | Marcus Ramse |
| Maintainers | jerwuqu |
| Keywords | memory, scan, process, read, write |

## Links

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

## Alternatives

- [csv-to-markdown-table](https://npm.io/package/csv-to-markdown-table.md) — 47.0K weekly downloads
- [@sapphire/ratelimits](https://npm.io/package/@sapphire/ratelimits.md) — 4.4K weekly downloads
- [js-csvparser](https://npm.io/package/js-csvparser.md) — 2.0K weekly downloads
- [@adadapted/js-sdk](https://npm.io/package/@adadapted/js-sdk.md) — 251 weekly downloads
- [@grapecity/spread-sheets-sparklines](https://npm.io/package/@grapecity/spread-sheets-sparklines.md) — 103 weekly downloads

## Recent versions

- 0.0.5 (latest) — 2016-02-08
- 0.0.4 — 2016-02-08
- 0.0.2 — 2016-02-05
- 0.0.1 — 2016-02-05

## README

# memscan
![Public Domain](https://licensebuttons.net/p/zero/1.0/80x15.png)

A process memory reader/writer for node!

Windows only (sorry)

## Docs
`getProcesses()` returns an object containing all running processes where keys are process ids and values are executable names.

`findProcess(executableName)` returns the process id of a running process matching given executable name if one is found, otherwise it returns 0.

`openProcess(pid)` returns a Process object.

`Process.scanForData(Uint8Array)` returns an array with all addresses matching the given data.

`Process.scanForInt32(number)` returns an array with all addresses matching the given number.

`Process.scanForString(str)` returns an array with all addresses matching the given string.

`Process.readAtAddress(address, length)` returns data at the given address with given length. Address is to be given as a number.

`Process.readInt32AtAddress(address)` returns an int32 at the given address.

`Process.readStringAtAddress(address, length)` returns a string at the given address with given length.

`Process.writeAtAddress(address, Uint8Array)` writes array to given address.

`Process.writeInt32AtAddress(address, number)` writes int32 to given address.

`Process.writeStringAtAddress(address, str)` writes string to given address.

`Process.close()` closes the process.

## Example?
See the test.js in this repo for an example of usage.

## License
[CC0](https://creativecommons.org/publicdomain/zero/1.0/)

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