![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
@nthparty/oblivious
Advanced tools
JavaScript library that serves as an API for common primitives used to implement OPRF and OT protocols.
JavaScript library that serves as an API for common primitives used to implement OPRF and OT protocols.
This library provides TypeScript libsodium wrappers for cryptographic primitives that are often used to implement oblivious pseudorandom function (OPRF) and oblivious transfer (OT) protocols.
For more information on the underlying mathematical structures and primitives, consult materials about the Ed25519 system and the Ristretto group.
The package is available on npm:
npm install @nthparty/oblivious
The library can be imported in the usual ways:
const Oblivious
const { Oblivious } = require('@nthparty/oblivious');
console.log(Object.keys(Oblivious));
Oblivious.ready.then(function () {
console.log(Oblivious.Point.random());
});
All unit tests are executed and their coverage measured when using
Jest (see setup.cfg
for configuration
details):
npm test
In order to contribute to the source code, open an issue or submit a
pull request on the GitHub page for this library. Remember to run
npm run-script lint
on any proposed code changes.
Beginning with version 0.1.0, the version number format for this library and the changes to the library associated with version number increments conform with Semantic Versioning 2.0.0.
FAQs
JavaScript library that serves as an API for common primitives used to implement OPRF and OT protocols.
The npm package @nthparty/oblivious receives a total of 19 weekly downloads. As such, @nthparty/oblivious popularity was classified as not popular.
We found that @nthparty/oblivious demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.
Security News
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.