chromelink-client
v1.2.4
Published
ChromeLink Node.js client (wrapper for @aikeymouse/chromelink-client)
Maintainers
Readme
chromelink-client
Note: This package is a convenience wrapper that re-exports @aikeymouse/chromelink-client.
For documentation, examples, and API reference, please visit the main package:
📦 Main Package
Installation
You can install either package - they're identical:
# Unscoped (this package)
npm install chromelink-client
# OR scoped (main package)
npm install @aikeymouse/chromelink-clientQuick Start
const ChromeLinkClient = require('chromelink-client');
async function example() {
const client = new ChromeLinkClient();
await client.connect('ws://localhost:9000');
await client.navigate('https://example.com');
const title = await client.getText('h1');
console.log('Title:', title.text);
client.close();
}
example().catch(console.error);Documentation
For complete documentation, see:
Why Two Packages?
chromelink-client(this package): Unscoped, easier to type, reserves the name@aikeymouse/chromelink-client: Scoped, official package with full implementation
Both packages provide the exact same functionality.
License
MIT
