Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@markprompt/react
Advanced tools
A headless React component for adding GPT-4 powered search using the Markprompt API.
A headless React component for building a prompt interface, based on the Markprompt API.
Check out the starter template for a fully working example: Markprompt starter template.
Install the @markprompt/react
package via npm or yarn:
# npm
npm install @markprompt/react
# Yarn
yarn add @markprompt/react
Example:
import { Markprompt } from '@markprompt/react';
function MyPrompt() {
return <Markprompt projectKey="<project-key>" model="gpt-4" />;
}
where <project-key>
can be obtained in your project settings
The full documentation for the component can be found on the Markprompt docs.
For a working setup based on Next.js + Tailwind, check out the Markprompt starter template.
This library is created by the team behind Motif (@motifland).
FAQs
A headless React component for adding GPT-4 powered search using the Markprompt API.
The npm package @markprompt/react receives a total of 837 weekly downloads. As such, @markprompt/react popularity was classified as not popular.
We found that @markprompt/react demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.