Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@slay-pics/signature
Advanced tools
[![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![bundle][bundle-src]][bundle-href] [![Codecov][codecov-src]][codecov-href]
Simple function to validate/verify a HMAC of a JS object with a secret.
Install package:
# npm
npm install @slay-pics/signature
# yarn
yarn add @slay-pics/signature
# pnpm
pnpm install @slay-pics/signature
# bun
bun install @slay-pics/signature
Use:
// ESM
import { calcSig } from "@slay-pics/signature";
// CommonJS
const { calcSig } = require("@slay-pics/signature");
const sig = calcSig({ some: 'object', with: 'props' }, process.env.YOUR_SECRET);
Published under MIT License.
FAQs
[![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![bundle][bundle-src]][bundle-href] [![Codecov][codecov-src]][codecov-href]
The npm package @slay-pics/signature receives a total of 5 weekly downloads. As such, @slay-pics/signature popularity was classified as not popular.
We found that @slay-pics/signature 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.