Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
a local development server designed to work with browserify.
it:
node_modules/browserify
.index.html
for missing routes so you don't
need to even muck about with HTML to get startednpm install -g beefy
; and if you want to always have a browserify available
for beefy to use, npm install -g browserify
.
$ cd directory/you/want/served
$ beefy path/to/thing/you/want/browserified.js PORT -- [browserify args]
path/to/file.js
the path to the file you want browserified. can be just a normal node module.
you can also alias it: path/to/file.js:bundle.js
if you want -- so all requests
to bundle.js
will browserify path/to/file.js
. this is helpful for when you're
writing gh-pages
-style sites that already have an index.html, and expect the
bundle to be pregenerated and available at a certain path.
--browserify command
use command
instead of browserify
or ./node_modules/.bin/browserify
.
in theory, you could even get this working with r.js
, but that would probably
be scary and bats would fly out of it. but it's there if you need it!
--live
enable live reloading. this'll start up a sideband server and an fs
watch on
the current working directory -- if you save a file, your browser will refresh.
by default, if you get a URL that doesn't exist (with an Accept
header that has html
in it someplace), you'll get the "fake index." this page is setup so that
it automatically includes both the live reload script (if it's enabled) and the
path you want browserified.
MIT
FAQs
local development server that aims to make using browserify fast and fun
The npm package beefy receives a total of 287 weekly downloads. As such, beefy popularity was classified as not popular.
We found that beefy demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.