
Security News
The Nightmare Before Deployment
Season’s greetings from Socket, and here’s to a calm end of year: clean dependencies, boring pipelines, no surprises.
hypothesis-api
Advanced tools
A node wrapper for the hypothesis api.
npm install hypothesis-api
See the h documentation page for more info on request bodys, query params, etc.
const HypothesisAPI = require('./hypothesis.js');
// To use: Construct new instance with APIKEY
// Get one here: https://hypothes.is/account/developer
const h = new HypothesisAPI('PASTE_YOUR_APIKEY_HERE');
// Example search.
// See query params: https://h.readthedocs.io/en/latest/api/#operation/search
h.search({
group: 'aRBDqnWx',
limit:200
}).then((data)=> {
console.log(data);
});
// Get an annotation by id
h.getAnnotation('xV_csDKHEee9BQMw6s02xQ').then((data)=> {
console.log(data);
});
// Delete an annotation by id
h.deleteAnnotation('xV_csDKHEee9BQMw6s02xQ').then((data)=> {
console.log(data);
});
// Patch an annotation by id
h.updateAnnotation('o9QJWDHoEeeVHo_xoqQx0Q', {text: 'yay!'}).then((data)=> {
console.log(data);
});
// Get profile info
h.getProfile().then((data)=> {
console.log(data);
});
FAQs
A library for easily working with the Hypothes.is API.
The npm package hypothesis-api receives a total of 2 weekly downloads. As such, hypothesis-api popularity was classified as not popular.
We found that hypothesis-api demonstrated a not healthy version release cadence and project activity because the last version was released 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
Season’s greetings from Socket, and here’s to a calm end of year: clean dependencies, boring pipelines, no surprises.

Research
/Security News
Impostor NuGet package Tracer.Fody.NLog typosquats Tracer.Fody and its author, using homoglyph tricks, and exfiltrates Stratis wallet JSON/passwords to a Russian IP address.

Security News
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.