Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
jpegzilla-init
Advanced tools
this is a command line utility that I made to help me easily initialize new web projects because I do it pretty much the same way every time. might be useful to you as well!
$ npm i -g jpegzilla-init
$ jpegzilla-init
and you'll be prompted to go through the creation process.
there are other arguments, as well:
-yes or -Y : initialize project with all default options (no prompts will show)
-reset or -R : empties current directory. prompts for confirmation.
-react : creates react project with default options (no prompts will show)
-w : creates web component project with default options (no prompts)
generates this (with some variation depending on your choices):
root
├── index.html
├── js
│ ├── modules
│ └── main.mjs
└── css
├── components
│ ├── _defaults.scss
│ └── _vars.scss
└── main.scss
generates this (with respect to options):
root
├── public
│ └── index.html
├── src
│ ├── components
│ │ ├── styles
│ │ │ ├── components
│ │ │ │ ├── _defaults.sass
│ │ │ │ └── _vars.sass
│ │ │ └── main.sass
│ │ └── App.js
│ └── index.js
├── test
│ ├── helpers
│ │ ├── dom.js
│ │ └── helpers.js
│ └── App.test.js
├── .babelrc
├── .gitignore
└── package.json
generates this (with some variation depending on your choices):
root
├── css
│ ├── components
│ ├── utils
│ │ ├── _defaults.sass
│ │ └── _var.sass
│ └── main.sass
├── js
│ ├── components
│ │ ├── component.mjs
│ │ └── index.mjs
│ ├── utils
│ │ ├── index.mjs
│ │ └── state.mjs
│ └── main.mjs
├── index.html
├── .gitignore
└── .prettierrc
the file contents are represented in the /templates folder. note that these files are simply kept as a reference, and are not dependencies. the /templates folder is not included in the npm package.
add service worker prompts
ogp / twitter / ios / seo meta tags
icon meta / manifest / etc. tags for pwas
add support for other frameworks:
FAQs
a simple cli for setting up web projects the way I like to do it
The npm package jpegzilla-init receives a total of 0 weekly downloads. As such, jpegzilla-init popularity was classified as not popular.
We found that jpegzilla-init 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
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.