Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nowsecure/frida-fs

Create a stream from a filesystem resource.
https://github.com/nowsecure/frida-fs

frida

Last synced: 9 days ago
JSON representation

Create a stream from a filesystem resource.

Awesome Lists containing this project

README

        

# frida-fs

Create a stream from a filesystem resource.

## Example

```js
const fs = require('frida-fs');

fs.createReadStream('/etc/hosts').pipe(networkStream);
```

```js
const fs = require('frida-fs');

for (const elm of fs.list("/proc/self/")) {
console.log(JSON.stringify(elm));
}

console.log(fs.readFileSync("/etc/hosts"));
```