
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@karakeep/sdk
Advanced tools
This package contains the official typescript SDK for the karakeep API.
npm install @karakeep/sdk
import { createKarakeepClient } from "@karakeep/sdk";
// Create a client
const apiKey = "my-super-secret-key";
const addr = `https://karakeep.mydomain.com`;
const client = createKarakeepClient({
baseUrl: `${addr}/api/v1/`,
headers: {
"Content-Type": "application/json",
authorization: `Bearer ${apiKey}`,
},
});
// Create a bookmark
const {
data: createdBookmark,
response: createResponse,
error: createError,
} = await client.POST("/bookmarks", {
body: {
type: "text",
title: "Search Test 1",
text: "This is a test bookmark for search",
},
});
console.log(createResponse.status, createdBookmark, createError);
// Search for bookmarks
const {
data: searchResults,
response: searchResponse,
error: searchError,
} = await client.GET("/bookmarks/search", {
params: {
query: {
q: "test bookmark",
},
},
});
console.log(searchResponse.status, searchResults, searchError);
API docs can be found here.
0.21.0
will be available in this package starting from version 0.21.0
.FAQs
Typescript SDK for Karakeep
The npm package @karakeep/sdk receives a total of 179 weekly downloads. As such, @karakeep/sdk popularity was classified as not popular.
We found that @karakeep/sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.