Skip to content

Scan the memory of a process for the first string matching your regex.

License

Notifications You must be signed in to change notification settings

GirkovArpa/node-memory-process-scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node Process Memory Grep

Scan the memory of a process (identified by its window title) for the first string matching the supplied regex.

Windows only.

Installation

$ npm i node-process-memory-grep

Usage

const scan = require('node-process-memory-grep');
const firstMatch = scan('Notepad', '(foo[a-z ]+baz)'); // must be enclosed in parentheses
console.log(firstMatch); // => foo bar baz (if your Notepad window contained this string)

Warning

Installing via NPM doesn't actually work because it complains about not being able to find node-addon-api.

So you'd have to clone the repo to be able to use it.

About

Scan the memory of a process for the first string matching your regex.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published