
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
This is a package to bundle react routes into an app.
Remove a lot of boilerplate and enable code reusability.
Easy to start your project and create a single page app with server side functionality.
npm install g45-react
or
npm install https://github.com/g45t345rt/g45-react/package
Your app must return an array of react-router routes.
That's sit, the rest is handled for you.
Check the Demo project in /test
folder.
node ./node_modules/g45-react/bundler.js --type cf_worker --entry ./src/routes.js
The bundler can build from 3 variants.
index
(simple index.html app with no SSR).node_server
(create node SSR app using express).cf_worker
(create SSR app for Cloudflare Workers).The bundler will output in ./dist
folder.
Add translation to your app.
The script will check all files in ./src
and create a language dictionary that can be imported with useLang
hook.
node ./node_modules/g45-react/lang-dict.js --src ./src --outfile ./lang/en.json
Create a /public
folder will be copied in the /dist
folder.
Check /hooks
for helpers that gives you control on server request and data.
Check /components
for generic components that can be useful for any project.
FAQs
SSR react bunlder for express node server or cloudflare worker
The npm package g45-react receives a total of 3 weekly downloads. As such, g45-react popularity was classified as not popular.
We found that g45-react 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.
Research
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.