
Product
Introducing GitHub Actions Scanning Support
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.
@j2inn/scram
Advanced tools
This library is used by clients wanting to authenticate with servers that use SCRAM (Salted Challenge Response Authentication Mechanism).
For more information on SCRAM, please see the specification.
npm install @j2inn/scram
import authenticate from '@j2inn/scram'
...
async function onAuthenticate(username: string, password: string): void {
await authenticate({
username,
password,
uri: new URL('/auth', window.location.href)
})
}
An alternative fetch parameter can be specified if this library is used in a NodeJS environment...
import fetch from 'node-fetch'
import authenticate from '@j2inn/scram'
...
async function onAuthenticate(username: string, password: string, uri: string): void {
await authenticate({
username,
password,
fetch,
uri
})
}
FAQs
TypeScript client SCRAM authentication library
The npm package @j2inn/scram receives a total of 1,749 weekly downloads. As such, @j2inn/scram popularity was classified as popular.
We found that @j2inn/scram demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 18 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
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.

Product
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.

Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.