
Product
Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
@hashbrownai/writer
Advanced tools
Hashbrown is a framework for building AI-powered user interfaces in React
and Angular on top of LLMs from OpenAI, Google, and Writer.
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();
});
Read the docs for the Hashbrown Writer adapter.
hashbrown is a community-driven project. Read our contributing guidelines on how to get involved.
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.
MIT © LiveLoveApp, LLC
FAQs
Writer provider for Hashbrown AI
The npm package @hashbrownai/writer receives a total of 7 weekly downloads. As such, @hashbrownai/writer popularity was classified as not popular.
We found that @hashbrownai/writer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.