{"_id":"@browserbasehq/sdk-functions","_rev":"20-ecf1ea24d0ad84c66a4047cb822850f6","name":"@browserbasehq/sdk-functions","dist-tags":{"latest":"1.0.1"},"versions":{"0.0.1":{"name":"@browserbasehq/sdk-functions","version":"0.0.1","keywords":[],"author":"","license":"ISC","_id":"@browserbasehq/sdk-functions@0.0.1","maintainers":[{"name":"miguel_g","email":"miguel@browserbase.com"},{"name":"nosaj","email":"jason@nosaj.io"},{"name":"jjjosephharrison","email":"jharrison@browserbase.com"},{"name":"zerofool","email":"adamjaggard@gmail.com"},{"name":"tinathetechie","email":"tina.fcook@gmail.com"},{"name":"paul-klein-browserbase","email":"paul@browserbase.com"},{"name":"desaadi","email":"dominiceliassaadi@gmail.com"},{"name":"tkattkat","email":"tkat@tkat.net"},{"name":"kylejeong","email":"kyle@browserbase.com"},{"name":"the-roaring","email":"vivien@browserbase.com"},{"name":"browserz","email":"zhao@browserbase.com"},{"name":"ajmcquilkin","email":"ajmcquilkin@gmail.com"},{"name":"seanmcguire12","email":"seanmcguire1@outlook.com"}],"bin":{"bb":"dist/cli.js"},"dist":{"shasum":"a333b80c779bd5e31610956dde8092baa571e56b","tarball":"https://registry.npmjs.org/@browserbasehq/sdk-functions/-/sdk-functions-0.0.1.tgz","fileCount":10,"integrity":"sha512-VFzQxt1/wcOsoq84YLYNa870ZptS3eoOutEoKhqjaFvX+xDZUH7ufukWYK3h37ZzDKSnQs47xYN5BGvUr2eS1A==","signatures":[{"sig":"MEQCIDgzKbbi0Z3XeHWMXPbYUHha92C1o22eVDpswPJwHbgSAiAz8KYz5LlPEVQsRqNdHBwGxNeiFTJzSu/hDDIJXMIGDw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":208174},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"64772e79646b0ad0e691cbe9e5863d507370572b","scripts":{"lint":"$npm_execpath run eslint && $npm_execpath run prettier && $npm_execpath run typecheck","test":"$npm_execpath build:tests && node --test dist-test/**/*.test.js","build":"$npm_execpath run lint && rm -rf dist && tsup","eslint":"eslint ./src","prettier":"prettier . --check --cache","test:only":"$npm_execpath build:tests && node --test-only --test dist-test/**/*.test.js","typecheck":"tsc --noEmit","eslint:fix":"eslint --fix ./src","build:tests":"tsc --project tsconfig.test.json","prettier:fix":"prettier . --write --cache"},"_npmUser":{"name":"ajmcquilkin","email":"ajmcquilkin@gmail.com"},"_npmVersion":"10.9.2","directories":{},"sideEffects":["./dist/index.js"],"_nodeVersion":"22.13.1","dependencies":{"tsx":"^4.20.5","zod":"^4.1.5","chalk":"^5.6.2","dotenv":"^17.2.3","archiver":"^7.0.1","commander":"^14.0.2","@std/expect":"jsr:^1.0.17","@browserbasehq/sdk":"^2.6.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.12.1","devDependencies":{"jiti":"^2.5.1","tsup":"^8.5.0","eslint":"^9.35.0","globals":"^16.3.0","ts-node":"^10.9.2","prettier":"3.6.2","@eslint/js":"^9.35.0","typescript":"^5.9.2","@types/node":"^24.3.1","tsconfig-paths":"^4.2.0","@types/archiver":"^7.0.0","typescript-eslint":"^8.42.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk-functions_0.0.1_1763609058435_0.25324493855455765","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@browserbasehq/sdk-functions","version":"0.0.2","keywords":[],"author":"","license":"ISC","_id":"@browserbasehq/sdk-functions@0.0.2","maintainers":[{"name":"miguel_g","email":"miguel@browserbase.com"},{"name":"nosaj","email":"jason@nosaj.io"},{"name":"jjjosephharrison","email":"jharrison@browserbase.com"},{"name":"zerofool","email":"adamjaggard@gmail.com"},{"name":"tinathetechie","email":"tina.fcook@gmail.com"},{"name":"paul-klein-browserbase","email":"paul@browserbase.com"},{"name":"desaadi","email":"dominiceliassaadi@gmail.com"},{"name":"tkattkat","email":"tkat@tkat.net"},{"name":"kylejeong","email":"kyle@browserbase.com"},{"name":"the-roaring","email":"vivien@browserbase.com"},{"name":"browserz","email":"zhao@browserbase.com"},{"name":"ajmcquilkin","email":"ajmcquilkin@gmail.com"},{"name":"seanmcguire12","email":"seanmcguire1@outlook.com"}],"bin":{"bb":"dist/cli.js"},"dist":{"shasum":"9f696368818da2e0dc2498d04177126e88b39d85","tarball":"https://registry.npmjs.org/@browserbasehq/sdk-functions/-/sdk-functions-0.0.2.tgz","fileCount":13,"integrity":"sha512-1LlUMXm6oea8g3AWrh9bAJwz7y7J930gv6RwGmsf3DVB2V9h5RPR/h83P04VC477aotuzltUUQYHWWuJFYxu8w==","signatures":[{"sig":"MEUCIQDclwMIyxW+04vT1eLh4GphPUcS+O4xHBXwzW3NasuANgIgcBshz0KdXTOhRpobgOC6yfzrC6Dk+SrZgvM8bz7kjL0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":246060},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"7102caf12c1580d7682e9a660e6576a0c797909c","scripts":{"lint":"$npm_execpath run eslint && $npm_execpath run prettier && $npm_execpath run typecheck","test":"$npm_execpath build:tests && node --test dist-test/**/*.test.js","build":"$npm_execpath run lint && rm -rf dist && tsup","eslint":"eslint ./src","prettier":"prettier . --check --cache","test:only":"$npm_execpath build:tests && node --test-only --test dist-test/**/*.test.js","typecheck":"tsc --noEmit","eslint:fix":"eslint --fix ./src","build:tests":"tsc --project tsconfig.test.json","prettier:fix":"prettier . --write --cache"},"_npmUser":{"name":"ajmcquilkin","email":"ajmcquilkin@gmail.com"},"_npmVersion":"10.9.2","directories":{},"sideEffects":["./dist/index.js"],"_nodeVersion":"22.13.1","dependencies":{"tsx":"^4.20.5","zod":"^4.1.5","chalk":"^5.6.2","dotenv":"^17.2.3","archiver":"^7.0.1","commander":"^14.0.2","@std/expect":"jsr:^1.0.17","@browserbasehq/sdk":"^2.6.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.12.1","devDependencies":{"jiti":"^2.5.1","tsup":"^8.5.0","eslint":"^9.35.0","globals":"^16.3.0","ts-node":"^10.9.2","prettier":"3.6.2","@eslint/js":"^9.35.0","typescript":"^5.9.2","@types/node":"^24.3.1","tsconfig-paths":"^4.2.0","@types/archiver":"^7.0.0","typescript-eslint":"^8.42.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk-functions_0.0.2_1763675837011_0.6910801601826584","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@browserbasehq/sdk-functions","version":"0.0.3","keywords":[],"author":"","license":"ISC","_id":"@browserbasehq/sdk-functions@0.0.3","maintainers":[{"name":"miguel_g","email":"miguel@browserbase.com"},{"name":"nosaj","email":"jason@nosaj.io"},{"name":"jjjosephharrison","email":"jharrison@browserbase.com"},{"name":"zerofool","email":"adamjaggard@gmail.com"},{"name":"tinathetechie","email":"tina.fcook@gmail.com"},{"name":"paul-klein-browserbase","email":"paul@browserbase.com"},{"name":"desaadi","email":"dominiceliassaadi@gmail.com"},{"name":"tkattkat","email":"tkat@tkat.net"},{"name":"kylejeong","email":"kyle@browserbase.com"},{"name":"the-roaring","email":"vivien@browserbase.com"},{"name":"browserz","email":"zhao@browserbase.com"},{"name":"ajmcquilkin","email":"ajmcquilkin@gmail.com"},{"name":"seanmcguire12","email":"seanmcguire1@outlook.com"}],"bin":{"bb":"dist/cli.js"},"dist":{"shasum":"d7b95756e66195c6f615561987589592d321fe73","tarball":"https://registry.npmjs.org/@browserbasehq/sdk-functions/-/sdk-functions-0.0.3.tgz","fileCount":13,"integrity":"sha512-IwYEbpZlqchi75uzvtTxpD5U49g+tpDCtBmGzOTVJjWmBQ4Kk5qowHzYR8pUx8lzloqrUoXC/OPAW1TjnAPahA==","signatures":[{"sig":"MEUCIQDji2PA5R74wGF1AC2oWdtrx6bMNxmI7mrFfsMk4imEpAIgYNJ7nOzgB/m5Y/DO6VVO6Bd8gb8WrQ+EUqnWezwOWY4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":246818},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"5700c855680d96a321a21da06ba11e0372b0267e","scripts":{"lint":"$npm_execpath run eslint && $npm_execpath run prettier && $npm_execpath run typecheck","test":"$npm_execpath build:tests && node --test dist-test/**/*.test.js","build":"$npm_execpath run lint && rm -rf dist && tsup","eslint":"eslint ./src","prettier":"prettier . --check --cache","test:only":"$npm_execpath build:tests && node --test-only --test dist-test/**/*.test.js","typecheck":"tsc --noEmit","eslint:fix":"eslint --fix ./src","build:tests":"tsc --project tsconfig.test.json","prettier:fix":"prettier . --write --cache"},"_npmUser":{"name":"ajmcquilkin","email":"ajmcquilkin@gmail.com"},"_npmVersion":"10.9.2","directories":{},"sideEffects":["./dist/index.js"],"_nodeVersion":"22.13.1","dependencies":{"tsx":"^4.20.5","zod":"^4.1.5","chalk":"^5.6.2","dotenv":"^17.2.3","archiver":"^7.0.1","commander":"^14.0.2","@browserbasehq/sdk":"^2.6.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.12.1","devDependencies":{"jiti":"^2.5.1","tsup":"^8.5.0","eslint":"^9.35.0","globals":"^16.3.0","ts-node":"^10.9.2","prettier":"3.6.2","@eslint/js":"^9.35.0","typescript":"^5.9.2","@types/node":"^24.3.1","tsconfig-paths":"^4.2.0","@types/archiver":"^7.0.0","typescript-eslint":"^8.42.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk-functions_0.0.3_1763927562106_0.09256547223499845","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@browserbasehq/sdk-functions","version":"0.0.5","keywords":[],"author":"","license":"ISC","_id":"@browserbasehq/sdk-functions@0.0.5","maintainers":[{"name":"nosaj","email":"jason@nosaj.io"},{"name":"zerofool","email":"adamjaggard@gmail.com"},{"name":"desaadi","email":"dominiceliassaadi@gmail.com"},{"name":"ajmcquilkin","email":"ajmcquilkin@gmail.com"},{"name":"miguel_g","email":"miguel@browserbase.com"},{"name":"browserz","email":"zhao@browserbase.com"}],"bin":{"bb":"dist/cli.js"},"dist":{"shasum":"4d6c2671f284905ba4dc9cc2072375566d0bf8cd","tarball":"https://registry.npmjs.org/@browserbasehq/sdk-functions/-/sdk-functions-0.0.5.tgz","fileCount":13,"integrity":"sha512-FH6IIH1VCdeR9HwwWR4k38kJbImZMO9bOFwpUqPmW6rhKzn/SrRjmJ21KLGL6bCMbWp3D9T5LTmT8R4R5vXrhw==","signatures":[{"sig":"MEYCIQDhT6XOdhPQ+oj+RfXxK9NXmrBYsobYvMCcB+KlN0lMSQIhAJOLodVqVbmX1XV/0pNfFig4PAIqJIMYDgDzsExGeLEH","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":247314},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"68dae6fbf5663d3e44360bc1156e8a9e1686b17d","scripts":{"lint":"$npm_execpath run eslint && $npm_execpath run prettier && $npm_execpath run typecheck","test":"$npm_execpath build:tests && node --test dist-test/**/*.test.js","build":"$npm_execpath run lint && rm -rf dist && tsup","eslint":"eslint ./src","prettier":"prettier . --check --cache","test:only":"$npm_execpath build:tests && node --test-only --test dist-test/**/*.test.js","typecheck":"tsc --noEmit","eslint:fix":"eslint --fix ./src","build:tests":"tsc --project tsconfig.test.json","prettier:fix":"prettier . --write --cache"},"_npmUser":{"name":"ajmcquilkin","email":"ajmcquilkin@gmail.com"},"_npmVersion":"11.6.2","description":"","directories":{},"sideEffects":["./dist/index.js"],"_nodeVersion":"24.11.1","dependencies":{"tsx":"^4.20.5","zod":"^4.1.5","chalk":"^5.6.2","dotenv":"^17.2.3","archiver":"^7.0.1","commander":"^14.0.2","@browserbasehq/sdk":"^2.6.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.12.1","devDependencies":{"jiti":"^2.5.1","tsup":"^8.5.0","eslint":"^9.35.0","globals":"^16.3.0","ts-node":"^10.9.2","prettier":"3.6.2","@eslint/js":"^9.35.0","typescript":"^5.9.2","@types/node":"^24.3.1","tsconfig-paths":"^4.2.0","@types/archiver":"^7.0.0","typescript-eslint":"^8.42.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk-functions_0.0.5_1768344132313_0.8585864003431127","host":"s3://npm-registry-packages-npm-production"}},"0.0.6":{"name":"@browserbasehq/sdk-functions","version":"0.0.6","keywords":[],"author":"","license":"ISC","_id":"@browserbasehq/sdk-functions@0.0.6","maintainers":[{"name":"seanmcguire12","email":"seanmcguire1@outlook.com"},{"name":"kylejeong","email":"kyle@browserbase.com"},{"name":"nosaj","email":"jason@nosaj.io"},{"name":"zerofool","email":"adamjaggard@gmail.com"},{"name":"desaadi","email":"dominiceliassaadi@gmail.com"},{"name":"ajmcquilkin","email":"ajmcquilkin@gmail.com"},{"name":"miguel_g","email":"miguel@browserbase.com"},{"name":"browserz","email":"zhao@browserbase.com"}],"bin":{"bb":"dist/cli.js"},"dist":{"shasum":"a250623022146092dd7f605f18be58d5d7df5196","tarball":"https://registry.npmjs.org/@browserbasehq/sdk-functions/-/sdk-functions-0.0.6.tgz","fileCount":13,"integrity":"sha512-2njpCL13lG+s5PJlEc0SDCPV93smrTShXJcOwrRZolLXvtJvU/lKRj0j7KCsnqlP+7oExftHOYYaxzh2tDyOOA==","signatures":[{"sig":"MEUCIGNwdfgSgJlnQi9cmIoGDMhmqStrOVUh5P3mCdK/LjuSAiEAirQlUl4D18OVy30a9S+1Q3LXbCtir+cRJTxAKQOgL+s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":279215},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"634180c5d67d4e75fc10697bc6ed1356ece57a99","scripts":{"lint":"$npm_execpath run eslint && $npm_execpath run prettier && $npm_execpath run typecheck","test":"$npm_execpath build:tests && node --test dist-test/**/*.test.js","build":"rm -rf dist && tsup","eslint":"eslint ./src","prettier":"prettier . --check --cache","test:e2e":"$npm_execpath run build:integration && node --test --test-timeout 300000 dist-integration-test/tests/e2e/**/*.test.js","test:only":"$npm_execpath build:tests && node --test-only --test dist-test/**/*.test.js","typecheck":"tsc --noEmit","eslint:fix":"eslint --fix ./src","build:tests":"tsc --project tsconfig.test.json","pretest:e2e":"$npm_execpath run build && pnpm pack","posttest:e2e":"rm -f browserbasehq-sdk-functions-*.tgz","prettier:fix":"prettier . --write --cache","test:integration":"$npm_execpath run build:integration && node --test --test-timeout 120000 dist-integration-test/tests/integration/**/*.test.js","build:integration":"tsc --project tsconfig.integration.json","pretest:integration":"$npm_execpath run build && pnpm pack","posttest:integration":"rm -f browserbasehq-sdk-functions-*.tgz"},"_npmUser":{"name":"ajmcquilkin","email":"ajmcquilkin@gmail.com"},"_npmVersion":"11.6.2","description":"[![NPM version](https://img.shields.io/npm/v/@browserbasehq/sdk-functions.svg)](https://npmjs.org/package/@browserbasehq/sdk-functions)","directories":{},"sideEffects":["./dist/index.js"],"_nodeVersion":"24.11.1","dependencies":{"tsx":"^4.20.5","zod":"^4.1.5","chalk":"^5.6.2","dotenv":"^17.2.3","archiver":"^7.0.1","commander":"^14.0.2","@browserbasehq/sdk":"^2.6.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.12.1","devDependencies":{"jiti":"^2.5.1","tsup":"^8.5.0","eslint":"^9.35.0","globals":"^16.3.0","ts-node":"^10.9.2","prettier":"3.6.2","@eslint/js":"^9.35.0","typescript":"^5.9.2","@types/node":"^24.3.1","tsconfig-paths":"^4.2.0","@types/archiver":"^7.0.0","typescript-eslint":"^8.42.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk-functions_0.0.6_1770698863709_0.04921358349866911","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@browserbasehq/sdk-functions","version":"1.0.0","keywords":[],"author":"","license":"ISC","_id":"@browserbasehq/sdk-functions@1.0.0","maintainers":[{"name":"seanmcguire12","email":"seanmcguire1@outlook.com"},{"name":"kylejeong","email":"kyle@browserbase.com"},{"name":"nosaj","email":"jason@nosaj.io"},{"name":"zerofool","email":"adamjaggard@gmail.com"},{"name":"desaadi","email":"dominiceliassaadi@gmail.com"},{"name":"ajmcquilkin","email":"ajmcquilkin@gmail.com"},{"name":"miguel_g","email":"miguel@browserbase.com"},{"name":"browserz","email":"zhao@browserbase.com"}],"bin":{"bb":"dist/cli.js"},"dist":{"shasum":"18ad5fb6205fdd28c774a1c882daeea44924292a","tarball":"https://registry.npmjs.org/@browserbasehq/sdk-functions/-/sdk-functions-1.0.0.tgz","fileCount":13,"integrity":"sha512-xW/6rwjND7fKukL8raRbMlSQDtxA655D7LFUfQYn8JPZXmx+vXG1X9n/0ijrww/iSJzp+jk7XtVcvnzCYPEemw==","signatures":[{"sig":"MEQCIE1swpKRQEgQMsGrL3Bq81SbCxqvBVXyhiSRLuNXwVi7AiBJljsphDokFofv1s5nPCeluCSE4Q8kolgBkwla2+Gt/A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":279215},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"2e5bbb5d1b64ca4fe66c417b2be9ab870c8fe12b","scripts":{"lint":"$npm_execpath run eslint && $npm_execpath run prettier && $npm_execpath run typecheck","test":"$npm_execpath build:tests && node --test dist-test/**/*.test.js","build":"rm -rf dist && tsup","eslint":"eslint ./src","prettier":"prettier . --check --cache","test:e2e":"$npm_execpath run build:integration && node --test --test-timeout 300000 dist-integration-test/tests/e2e/**/*.test.js","test:only":"$npm_execpath build:tests && node --test-only --test dist-test/**/*.test.js","typecheck":"tsc --noEmit","eslint:fix":"eslint --fix ./src","build:tests":"tsc --project tsconfig.test.json","pretest:e2e":"$npm_execpath run build && pnpm pack","posttest:e2e":"rm -f browserbasehq-sdk-functions-*.tgz","prettier:fix":"prettier . --write --cache","test:integration":"$npm_execpath run build:integration && node --test --test-timeout 120000 dist-integration-test/tests/integration/**/*.test.js","build:integration":"tsc --project tsconfig.integration.json","pretest:integration":"$npm_execpath run build && pnpm pack","posttest:integration":"rm -f browserbasehq-sdk-functions-*.tgz"},"_npmUser":{"name":"ajmcquilkin","email":"ajmcquilkin@gmail.com"},"_npmVersion":"11.6.2","description":"[![NPM version](https://img.shields.io/npm/v/@browserbasehq/sdk-functions.svg)](https://npmjs.org/package/@browserbasehq/sdk-functions)","directories":{},"sideEffects":["./dist/index.js"],"_nodeVersion":"24.11.1","dependencies":{"tsx":"^4.20.5","zod":"^4.1.5","chalk":"^5.6.2","dotenv":"^17.2.3","archiver":"^7.0.1","commander":"^14.0.2","@browserbasehq/sdk":"^2.6.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.12.1","devDependencies":{"jiti":"^2.5.1","tsup":"^8.5.0","eslint":"^9.35.0","globals":"^16.3.0","ts-node":"^10.9.2","prettier":"3.6.2","@eslint/js":"^9.35.0","typescript":"^5.9.2","@types/node":"^24.3.1","tsconfig-paths":"^4.2.0","@types/archiver":"^7.0.0","typescript-eslint":"^8.42.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk-functions_1.0.0_1770702945593_0.8681242770853828","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@browserbasehq/sdk-functions","version":"1.0.1","keywords":[],"author":"","license":"ISC","_id":"@browserbasehq/sdk-functions@1.0.1","maintainers":[{"name":"seanmcguire12","email":"seanmcguire1@outlook.com"},{"name":"kylejeong","email":"kyle@browserbase.com"},{"name":"nosaj","email":"jason@nosaj.io"},{"name":"zerofool","email":"adamjaggard@gmail.com"},{"name":"desaadi","email":"dominiceliassaadi@gmail.com"},{"name":"ajmcquilkin","email":"ajmcquilkin@gmail.com"},{"name":"miguel_g","email":"miguel@browserbase.com"},{"name":"browserz","email":"zhao@browserbase.com"}],"bin":{"bb":"dist/cli.js"},"dist":{"shasum":"a5b29cad9d1aebd630ae9fc4bc160e90e3f49079","tarball":"https://registry.npmjs.org/@browserbasehq/sdk-functions/-/sdk-functions-1.0.1.tgz","fileCount":13,"integrity":"sha512-TC9NXxXDLnCK7mhodIyu9Zfh12/kPLpzQB2q9LYE04G/OcNBds68FoSDf6fmHfd6EHh2qRbopFqhKGjV5FjaAA==","signatures":[{"sig":"MEUCIGHe8s8dYGrnZX9v4MGH6WAEWNmplOVHvuaYKb+L+X6YAiEAoetqanQWE7Ke1k58z2iYHW7SZGx2+Lprk+kA+QzP8rI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":279736},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"f23ee8455332fa5389b7638d9a42e700258160bd","scripts":{"lint":"$npm_execpath run eslint && $npm_execpath run prettier && $npm_execpath run typecheck","test":"$npm_execpath build:tests && node --test dist-test/**/*.test.js","build":"rm -rf dist && tsup","eslint":"eslint ./src","prettier":"prettier . --check --cache","test:e2e":"$npm_execpath run build:integration && node --test --test-timeout 300000 dist-integration-test/tests/e2e/**/*.test.js","test:only":"$npm_execpath build:tests && node --test-only --test dist-test/**/*.test.js","typecheck":"tsc --noEmit","eslint:fix":"eslint --fix ./src","build:tests":"tsc --project tsconfig.test.json","pretest:e2e":"$npm_execpath run build && pnpm pack","posttest:e2e":"rm -f browserbasehq-sdk-functions-*.tgz","prettier:fix":"prettier . --write --cache","test:integration":"$npm_execpath run build:integration && node --test --test-timeout 120000 dist-integration-test/tests/integration/**/*.test.js","build:integration":"tsc --project tsconfig.integration.json","pretest:integration":"$npm_execpath run build && pnpm pack","posttest:integration":"rm -f browserbasehq-sdk-functions-*.tgz"},"_npmUser":{"name":"ajmcquilkin","email":"ajmcquilkin@gmail.com"},"_npmVersion":"11.6.2","description":"[![NPM version](https://img.shields.io/npm/v/@browserbasehq/sdk-functions.svg)](https://npmjs.org/package/@browserbasehq/sdk-functions)","directories":{},"sideEffects":["./dist/index.js"],"_nodeVersion":"24.11.1","dependencies":{"tsx":"^4.20.5","zod":"^4.1.5","chalk":"^5.6.2","dotenv":"^17.2.3","archiver":"^7.0.1","commander":"^14.0.2","@browserbasehq/sdk":"^2.6.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.12.1","devDependencies":{"jiti":"^2.5.1","tsup":"^8.5.0","eslint":"^9.35.0","globals":"^16.3.0","ts-node":"^10.9.2","prettier":"3.6.2","@eslint/js":"^9.35.0","typescript":"^5.9.2","@types/node":"^24.3.1","tsconfig-paths":"^4.2.0","@types/archiver":"^7.0.0","typescript-eslint":"^8.42.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk-functions_1.0.1_1770708494758_0.49173355618540615","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2025-11-20T03:24:18.434Z","modified":"2026-08-31T16:40:58.430Z","0.0.1":"2025-11-20T03:24:18.638Z","0.0.2":"2025-11-20T21:57:17.189Z","0.0.3":"2025-11-23T19:52:42.289Z","0.0.4":"2025-11-24T12:56:36.776Z","0.0.5":"2026-01-13T22:42:12.499Z","0.0.6":"2026-02-10T04:47:43.867Z","1.0.0":"2026-02-10T05:55:45.789Z","1.0.1":"2026-02-10T07:28:14.936Z"},"license":"ISC","keywords":[],"description":"[![NPM version](https://img.shields.io/npm/v/@browserbasehq/sdk-functions.svg)](https://npmjs.org/package/@browserbasehq/sdk-functions)","maintainers":[{"email":"seanmcguire1@outlook.com","name":"seanmcguire12"},{"email":"kyle@browserbase.com","name":"kylejeong"},{"email":"jason@nosaj.io","name":"nosaj"},{"email":"adamjaggard@gmail.com","name":"zerofool"},{"email":"dominiceliassaadi@gmail.com","name":"desaadi"},{"email":"miguel@browserbase.com","name":"miguel_g"},{"email":"zhao@browserbase.com","name":"browserz"},{"email":"nick@browserbase.com","name":"nsnx"}],"readme":"# Browserbase Functions Node SDK\n\n[![NPM version](https://img.shields.io/npm/v/@browserbasehq/sdk-functions.svg)](https://npmjs.org/package/@browserbasehq/sdk-functions)\n\nThe Browserbase Functions SDK lets you define, develop, and deploy serverless browser automation functions on [Browserbase](https://browserbase.com). Each function gets a managed browser session — write your automation logic, test it locally, and publish it to the cloud.\n\nThe full documentation can be found on [docs.browserbase.com](https://docs.browserbase.com/functions/quickstart).\n\n## Installation\n\n```sh\npnpm add @browserbasehq/sdk-functions\n```\n\nor with npm:\n\n```sh\nnpm install @browserbasehq/sdk-functions\n```\n\n## Quick Start\n\nScaffold a new project with the CLI:\n\n```sh\npnpm dlx @browserbasehq/sdk-functions init my-project\ncd my-project\n```\n\nAdd your Browserbase credentials to `.env`:\n\n```sh\nBROWSERBASE_API_KEY=your_api_key_here\nBROWSERBASE_PROJECT_ID=your_project_id_here\n```\n\nStart the local development server:\n\n```sh\npnpm bb dev index.ts\n```\n\nWhen ready, publish to Browserbase:\n\n```sh\npnpm bb publish index.ts\n```\n\n## Usage\n\n### Basic Function\n\n```ts\nimport { defineFn } from \"@browserbasehq/sdk-functions\";\n\ndefineFn(\"hello-world\", async () => {\n  return { message: \"Hello from Browserbase!\" };\n});\n```\n\n### Browser Automation\n\nEvery function receives a `context` with a managed browser session. Connect to it with Playwright:\n\n```ts\nimport { defineFn } from \"@browserbasehq/sdk-functions\";\nimport { chromium } from \"playwright-core\";\n\ndefineFn(\"scrape-titles\", async (context) => {\n  const browser = await chromium.connectOverCDP(context.session.connectUrl);\n  const page = browser.contexts()[0]!.pages()[0]!;\n\n  await page.goto(\"https://news.ycombinator.com\");\n  const titles = await page.$$eval(\".titleline > a\", (els) =>\n    els.slice(0, 5).map((el) => el.textContent),\n  );\n\n  return { titles };\n});\n```\n\n### Parameter Validation\n\nUse [Zod](https://zod.dev) schemas to validate parameters passed to your function:\n\n```ts\nimport { defineFn } from \"@browserbasehq/sdk-functions\";\nimport z from \"zod\";\n\ndefineFn(\n  \"multiply\",\n  async (_context, params) => {\n    return { result: params.a * params.b };\n  },\n  {\n    parametersSchema: z.object({\n      a: z.number(),\n      b: z.number(),\n    }),\n  },\n);\n```\n\n### Custom Browser Configuration\n\nPass `sessionConfig` to customize the browser session (uses the same options as the [Browserbase SDK session create params](https://docs.browserbase.com/reference/api/create-a-session)):\n\n```ts\nimport { defineFn } from \"@browserbasehq/sdk-functions\";\nimport { chromium } from \"playwright-core\";\n\ndefineFn(\n  \"stealth-scraper\",\n  async (context) => {\n    const browser = await chromium.connectOverCDP(context.session.connectUrl);\n    const page = browser.contexts()[0]!.pages()[0]!;\n\n    await page.goto(\"https://example.com\");\n    return { content: await page.textContent(\"body\") };\n  },\n  {\n    sessionConfig: {\n      browserSettings: { advancedStealth: true },\n    },\n  },\n);\n```\n\n## CLI Reference\n\nThe `bb` CLI is included with the package.\n\n| Command                   | Description                                                    |\n| ------------------------- | -------------------------------------------------------------- |\n| `bb init [project-name]`  | Scaffold a new project (defaults to `my-browserbase-function`) |\n| `bb dev <entrypoint>`     | Start a local development server                               |\n| `bb publish <entrypoint>` | Deploy your function to Browserbase                            |\n| `bb invoke <functionId>`  | Invoke a deployed function                                     |\n\n### `bb init`\n\n```sh\nbb init my-project\nbb init my-project --package-manager npm\n```\n\nOptions:\n\n- `-p, --package-manager <manager>` — Package manager to use (`npm` or `pnpm`, defaults to `pnpm`)\n\n### `bb dev`\n\n```sh\nbb dev index.ts\nbb dev index.ts --port 3000\n```\n\nOptions:\n\n- `-p, --port <number>` — Port to listen on (default: `14113`)\n- `-h, --host <string>` — Host to bind to (default: `127.0.0.1`)\n\n### `bb publish`\n\n```sh\nbb publish index.ts\nbb publish index.ts --dry-run\n```\n\nOptions:\n\n- `--dry-run` — Show what would be published without uploading\n- `-u, --api-url <url>` — Custom API endpoint URL\n\n### `bb invoke`\n\n```sh\nbb invoke <functionId>\nbb invoke <functionId> --params '{\"key\": \"value\"}'\n```\n\nOptions:\n\n- `-p, --params <json>` — JSON parameters to pass to the function\n- `--no-wait` — Don't wait for the invocation to complete\n- `--check-status <invocationId>` — Check the status of an existing invocation\n- `-u, --api-url <url>` — Custom API endpoint URL\n\n## Configuration\n\nSet your Browserbase credentials as environment variables or in a `.env` file:\n\n| Variable                 | Required | Description                 |\n| ------------------------ | -------- | --------------------------- |\n| `BROWSERBASE_API_KEY`    | Yes      | Your Browserbase API key    |\n| `BROWSERBASE_PROJECT_ID` | Yes      | Your Browserbase project ID |\n\nGet your API key and project ID from [browserbase.com](https://browserbase.com).\n\n## Requirements\n\n- Node.js 18+\n- TypeScript >= 4.5\n","readmeFilename":"README.md"}