
Product
Introducing the Alert Details Page: A Better Way to Explore Alerts
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.
@userback/widget
Advanced tools
The official NPM module for embedding the Userback.io widget into your Javascript or Typescript application.
npm i @userback/widget or yarn add @userback/widget
import Userback from '@userback/widget'
Userback('**USERBACK_TOKEN**')
Show the Userback Widget immediately after loading on the bug screen.
Userback(..).then(ub => {
ub.show()
})
Or delay showing it until later:
Userback(.., { autohide: true }).then(ub => {
document.querySelector('button.show-feedback').addEventListener('click', function(){
ub.show()
})
})
Using the options object to enable native screenshots while binding screenshots to a HTML button:
const userback = await Userback(..., { navtive_screenshot: true })
document.querySelector('button.screenshot').addEventListener('click', (event) => {
event.preventDefault()
userback.open('bug', 'screenshot')
})
After initialisation, you can use the named function getUserback to get a reference to the UserbackWidget.
import { getUserback } from '@userback/widget'
document.querySelector('button.screenshot').addEventListener('click', (event) => {
event.preventDefault()
getUserback().open('bug', 'screenshot')
})
For more information about available configuration settings and and functions available, see our Javascript API
FAQs
Userback.io widget for Javascript and Typescript
The npm package @userback/widget receives a total of 17,067 weekly downloads. As such, @userback/widget popularity was classified as popular.
We found that @userback/widget 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
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.

Product
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.

Research
Malicious PyPI package sympy-dev targets SymPy users, a Python symbolic math library with 85 million monthly downloads.