Socket
Book a DemoInstallSign in
Socket

@hashbrownai/writer

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hashbrownai/writer

Writer provider for Hashbrown AI

latest
Source
npmnpm
Version
0.3.0
Version published
Weekly downloads
7
16.67%
Maintainers
2
Weekly downloads
 
Created
Source

Hashbrown - Build Generative User Interfaces

Hashbrown Logo
Hashbrown is a framework for building AI-powered user interfaces in React
and Angular on top of LLMs from OpenAI, Google, and Writer.

hashbrown.dev

Getting Started

npm install @hashbrownai/writer --save

Deploy an express server with a single /chat endpoint to use Hashbrown with Writer.

import { HashbrownWriter } from '@hashbrownai/writer';

app.post('/chat', async (req, res) => {
  const stream = HashbrownWriter.stream.text({
    apiKey: process.env.WRITER_API_KEY!,
    request: req.body, // must be Chat.Api.CompletionCreateParams
  });

  res.header('Content-Type', 'application/octet-stream');
  for await (const chunk of stream) {
    res.write(chunk);
  }
  res.end();
});

Docs

Read the docs for the Hashbrown Writer adapter.

Contributing

hashbrown is a community-driven project. Read our contributing guidelines on how to get involved.

Workshops and Consulting

Want to learn how to build web apps with AI? Learn more about our workshops.

LiveLoveApp provides hands-on engagement with our AI engineers for architecture reviews, custom integrations, proof-of-concept builds, performance tuning, and expert guidance on best practices. Learn more about LiveLoveApp.

License

MIT © LiveLoveApp, LLC

Keywords

hashbrown

FAQs

Package last updated on 05 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts