Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
@acme-ra/client
Advanced tools
Readme
@acme-ra/client
This project provides a JavaScript/TypeScript client API into the ACME API
Using NPM:
npm install @acme-ra/client
Using Yarn:
yarn add @acme-ra/client
const acme = require("@acme-ra/client");
NodeJS requires to set WebCrypto provider and fetch function to client.
const fetch = require("node-fetch");
const { Crypto } = require("@peculiar/webcrypto");
const crypto = new Crypto();
const alg = { name: "ECDSA", namedCurve: "P-256" };
const keys = await crypto.subtle.generateKey(alg, false, ["sign", "verify"]);
const client = await ApiClient.create(
keys,
"http://localhost:4000/acme/directory",
{
fetch,
crypto,
});
Every release of @acme-ra/client
will have new build of ./build/acme.min.js
for use in the browser. To get access to module classes use acme
global variable.
WARN: We recommend hosting and controlling your own copy for security reasons
<script src="https://unpkg.com/@acme-ra/client"></script>
FAQs
JavaScript/TypeScript client library for the ACME API
The npm package @acme-ra/client receives a total of 68 weekly downloads. As such, @acme-ra/client popularity was classified as not popular.
We found that @acme-ra/client 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
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.