11# BrowserUse TypeScript Library
22
33[ ![ fern shield] ( https://img.shields.io/badge/%F0%9F%8C%BF-Built%20with%20Fern-brightgreen )] ( https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=https%3A%2F%2Fgithub.com%2Fbrowser-use%2Fbrowser-use-node )
4- [ ![ npm shield] ( https://img.shields.io/npm/v/ )] ( https://www.npmjs.com/package/ )
4+ [ ![ npm shield] ( https://img.shields.io/npm/v/browser-use-sdk )] ( https://www.npmjs.com/package/browser-use-sdk )
55
66The BrowserUse TypeScript library provides convenient access to the BrowserUse APIs from TypeScript.
77
@@ -403,7 +403,7 @@ On the other hand, contributions to the README are always very welcome!
403403## Installation
404404
405405``` sh
406- npm i -s
406+ npm i -s browser-use-sdk
407407```
408408
409409## Reference
@@ -415,7 +415,7 @@ A full reference for this library is available [here](https://github.com/browser
415415Instantiate and use the client with the following:
416416
417417``` typescript
418- import { BrowserUseClient } from " " ;
418+ import { BrowserUseClient } from " browser-use-sdk " ;
419419
420420const client = new BrowserUseClient ({ apiKey: " YOUR_API_KEY" });
421421await client .tasks .createTask ({
@@ -429,7 +429,7 @@ The SDK exports all request and response types as TypeScript interfaces. Simply
429429following namespace:
430430
431431``` typescript
432- import { BrowserUse } from " BrowserUse " ;
432+ import { BrowserUse } from " browser-use-sdk " ;
433433
434434const request: BrowserUse .ListTasksTasksGetRequest = {
435435 ...
@@ -442,7 +442,7 @@ When the API returns a non-success status code (4xx or 5xx response), a subclass
442442will be thrown.
443443
444444``` typescript
445- import { BrowserUseError } from " BrowserUse " ;
445+ import { BrowserUseError } from " browser-use-sdk " ;
446446
447447try {
448448 await client .tasks .createTask (... );
@@ -553,7 +553,7 @@ The SDK provides a way for you to customize the underlying HTTP client / Fetch f
553553unsupported environment, this provides a way for you to break glass and ensure the SDK works.
554554
555555``` typescript
556- import { BrowserUseClient } from " BrowserUse " ;
556+ import { BrowserUseClient } from " browser-use-sdk " ;
557557
558558const client = new BrowserUseClient ({
559559 ...
0 commit comments