
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@zephr/browser
Advanced tools
A JavaScript library to handle Zephr decisions in the browser.
<script src="https://assets.zephr.com/zephr-browser/<VERSION>/zephr-browser.umd.js">
<script>
zephrBrowser.run();
</script>
import * as zephrBrowser from 'https://assets.zephr.com/zephr-browser/<VERSION>/zephr-browser.esm.js';
zephrBrowser.run();
The run method allows for an optional arguments object containing the following:
Intl.Segmenter. Defaults to true.To enable debug logging when calling zephrBrowser.run() add the optional argument to options within run():
import * as zephrBrowser from '@zephr/browser';
zephrBrowser.run({
customData: {
counter: 40,
anything: true,
ref: document.referrer
},
jwt: "...",
debug: true,
fetcher: (url, options) => {
return fetch(url, options);
}
});
If you're unable to manually call zephrBrowser.run(), you can instead set a localstorage item zephrBrowserDebug to true to enable debug logging:
zephrBrowserDebug and the value truezephr.browserDecisionsFinished - is triggered at the end of the call to run()First install dependencies:
npm install
To develop locally make sure you are forwarding http://localhost:3003 through a local Zephr Site and run:
npm start
To create a build:
npm run build
FAQs
Zephr Browser
The npm package @zephr/browser receives a total of 3,472 weekly downloads. As such, @zephr/browser popularity was classified as popular.
We found that @zephr/browser demonstrated a not healthy version release cadence and project activity because the last version was released 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.