Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Alcaeus (pronounced AL-SEE-UHS
) is a Node.js/browser library for consuming Hydra APIs.
Alcaeus is the birth name of Heracles. The demigod who defeated Hydra.
Use npm or yarn:
npm i alcaeus
Alcaues v3
is implemented only as ES Modules. It will work in recent versions on node and modern browsers.
Since v3
Alcaeus is configured using an RDF/JS Environment factory. This decouples the library from any specific RDF/JS implementation.
It is recommended to use the implementation provided by @zazuko/env
which allows to easily reuse extend existing environments.
import create from 'alcaeus'
import Environment from '@zazuko/env/Environment.js'
import rdf from '@zazuko/env'
const env = new Environment(create(), { parent: rdf })
const { response, representation } = await env.hydra.loadResource('http://example.com/resource');
const rootResource = representation.root;
// contains supported classes, operations, etc.
const apiDocs = Hydra.apiDocumentations[0];
const id = rootResource.id;
To learn more, head to http://alcaeus.hydra.how.
MIT
FAQs
Hydra Core hypermedia-aware client library
We found that alcaeus 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.