
Product
Socket Now Supports pylock.toml Files
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
I highly recommend using node-notifier or node-notifier-cli rather than this project; they're better tested, maintained, and more featureful.
Cross-platform, isomorphic alert, for Node and browser (previously alert-node)
IMPORTANT this project was previously called alert-node
. The package name
changed in v4. Huge thanks to @iclanzan for the
package name!
window.alert
in the browser.kdialog
zenity
, yad
, notify-send
, xmessage
, dialog
, or whiptail
on Linux and BSD (depending on what's available).osascript
/System Events
on Mac.cscript
on Windows (or msg
if cscript
fails).console.log
.npm i alert
import alert from 'alert'
alert('howdy')
If using the API, you can specify a program to use. This can be one of:
console.log
)Note that this will override any internal checks to get the correct program, and will blow up if you get it wrong. It's advised to just use the default behavior.
import alert from 'alert'
alert('hey!', 'yad')
alert
also has a cli. npm i -g alert
and run alert 'sup brah'
.
To disable alert for testing purposes or otherwise, you can set an environment variable DISABLE_ALERT=1
.
FAQs
Customizable toast component for React
The npm package alert receives a total of 933 weekly downloads. As such, alert popularity was classified as not popular.
We found that alert demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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 now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.
Research
Security News
Malicious Ruby gems typosquat Fastlane plugins to steal Telegram bot tokens, messages, and files, exploiting demand after Vietnam’s Telegram ban.