0.0.3 • Published 2 years ago

bettercap v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

bettercap

This is a very simple bettercap API client.

It assumes that you have a global fetch command, so you will need to use a very new version of node, import something like node-fetch (and make it global) or deno or bun.

installation

npm i bettercap cross-fetch

usage

import fetch from 'cross-fetch'
import Bettercap from 'bettercap'

globalThis.fetch = fetch

console.log(await bettercap.command('net.recon on'))
console.log(await bettercap.command('net.show'))
console.log(await bettercap.session())
0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago